Next: , Previous: Test Module controller, Up: MIN modules on the test layer


2.4.2 Test module

Test cases are collected to separate modules, known as test modules.

The test module is a library, which implements the MIN Test Module API. The most important function in that interface is int tm_run_test_case( unsigned int id, const char *cfg_file, TestCaseResult *result), which executes the test case and returns the test case result.

The MIN services interface from the test module to MIN provides synchronous operations for the test module. For example, printing from the test module is implemented inside a synchronous function that causes a synchronous request to be completed inside Test Module Controller.

Currently, three different test module types are supported in MIN:

MIN Test Module Template Wizard provides test module templates for test module creation. The possible test module template types of MIN are: