Test Platform
In addition to the service creation and execution platform, the Nucleus framework offers a very useful tool when it comes to testing and validating user-created services. This tool reuses functionalities from Apache’s Ant and TestNG to run and manage test cases through a custom-made GUI. By referring to its system’s Node configuration files, a user can create its own test suites, which consists of TestNG configurations or custom (Nucleus) XML files that specify which service method(s) to test and which data should be used for the test.
When executed, the test platform instantiates all required services, runs and resets them in batch, using all the training (input) data specified by the user, compares each method return values with the validation data specified by the user and writes these test results to a formatted file. Moreover, when tests are reviewed in the Test GUI, test results are shown in an arborescence of test suites, services and methods that highlights successes, failures and code errors.
|
|
Test Manager GUI.
|