Table of Contents
The following chapter gives an overview of how the TestCenter is run depending on the use case.
Testing from within MeVisLab will mostly be relevant when developing test cases, new features, or new modules. This follows the unit-testing approach of first writing a test case that later verifies the correctness of the implemented features.
Inside MeVisLab, there are two options to run the TestCenter: the TestCaseManager (a macro module) and the Module Tests functionality as an integration of the TestCenter in the standard MeVisLab user interface.
The TestCaseManager is test case-centric and is started via
File → Run TestCaseManager
or by adding the TestCaseManager macro module to the network.
It is used to create, edit, and run functional test cases and to set some basic TestCenter
configuration. For the configuration file, see Chapter 5, TestCenter Configuration File.
The TestCaseManager offers an option to use the same instance of MeVisLab (leave Secure testing unchecked). This is much faster than starting a separate instance but has the drawback that crashes take down the testing MeVisLab instance.
The TestCaseManager incorporates its own result viewer that uses the WebEngine integration in MeVisLab to show the resulting static HTML files, see Section 4.1, “Static HTML Pages”. Its advantage is that it can handle special schemes (part of the links), for example, to open files at the corresponding line.
For standard browsers, these schemes will cause display problems. To avoid this, go to TestCaseManager → Test Reports , select a report, and click the button Create External to create HTML output suitable for standard browsers.
The Module Tests functionality is module-centric: it runs the test cases available for a set of
modules. This includes the generic test cases that apply to the given modules and the functional
test cases that are associated with them. The connection between a module and a test case is
established using the associatedTests keyword in the .def file
of a module.
The Module Tests functionality can be used on two levels inside MeVisLab:
For a single module via the context menu ( Extras → Test → Run All ).
Via the main menu ( Extras → Run Module Tests ), associated test cases for a filtered subset of modules can be run. Complex filters are available.
The results generated with the Module Tests functionality are converted to static HTML pages and displayed with the result viewer integrated into the TestCaseManager module.
© 2026 MeVis Medical Solutions AG