Executing module tests as part of MPS build usually requires writing non-trivial build scripts, which then need to be integrated into the main MPS build script at the correct place. This HOWTO describes the easier solution, which requires declaring a TestModuleManifest and keeping the
The module tests during the MPS build are executed by the ant script
build/test.xml, which calls the targets "build" and "check" in the generated file
The prototype model of the latter file (
jetbrains.mps.ide.build.tests.generatedTests) is itself generated from the user-defined test manifests collected in another auxiliary model (
This last model contains a single instance of TestProjectConfiguration enumerating the test module manifests to be included in the test process.
Following are the detailed instructions on using this functionality.
jetbrains.mps.build.mps.testModulesand add a reference to this manifest to the list in mpsTestModules root.
|You may also want to use visual panels to communicate related information, tips or things users need to be aware of.|
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.