wiki:MolgenisTesting

Version 2 (modified by Erik Roos, 13 years ago) (diff)

--

MOLGENIS Testing

Unit tests for Modules

In every package inside the "molgenis_apps" project, you can make a file called "testng.xml", specfying the files with classes containing unit tests for the package. Classes can be grouped into tests, which can in turn be grouped into suites (~packages).

At this moment, you'd better not put a test xml in the root of a module, as the compiler can then see only one module's test xml in case you have multiple modules in your project.

The "build_common.xml" script contains code to run all the package tests.

Integration tests

UI web tests