wiki:PromotUnitTests

Version 14 (modified by steinmet, 16 years ago) (diff)

--

Unit Tests

ProMoT in its present state is a very complex software. In order to minimize bugs and possible side effects when changing code fragments and improve the overall quality of ProMoT, it is good practice to integrate and run automated tests.
For the Java part the JUnit testing framework is a suitable solution.

There are already some tests implemented. They are listed in the class PromotTests see Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/PromotTests.java.
As a first step the available tests should be studied. Then some of the following tests (simple, more complex) can be implemented.

ProMoT Browser

ProMoT Editor

ProMoT Explorer

Literature