wiki:PromotUnitTests

Version 8 (modified by steinmet, 17 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 trac/browser/Promot/trunk/promot/src/gui/org/mpg/dcts/promot/test/PromotTests.java

As a first step the available tests should be studied and further simple tests can be implemented.

ProMoT Browser

  • some more complex tests:
    • testing the import and export functionality of smbl-files (CmdSBMLExport and

CmdSBMLImport)

  • testing the import of CNA-files into ProMoT, see CmdCNAImport

ProMoT Editor

ProMoT Explorer

...

ProMoT Misc

...

Literature