How-To Create CITest
Back to current version Restore this version

Introduction#

Knowledge engineering with KnowWE is supported by a continuous integration framework, that allows to embed automated tests on the knowledge. These tests are executed on regular bases (triggers can be configured) and in case of failure the users are alerted. An overview about the history and the testing results in provided on a dashboard. This allows for a safe development process. The use of the existing CI features is described here

Create new tests#

KnowWE provides an extension point to add new CITests, called CITest. To create an extension of this kind the class AbstractTest which is an abstract implementation of the interface AbstractTest should be implemented.

Test object class#

One method of the Interface

Class<T> getTestObjectClass();
%

public Class<Article> getTestObjectClass()
%