Test Suite
From JQuantLib
The purpose of the Test suite is to thoroughly test the framework. Test suite uses JUnit 4.4. Check out http://www-128.ibm.com/developerworks/java/library/j-junit4.html for a quick overview. Test suite will be part of continuous integration.
To run test cases:
mvn test
We use maven surefire report plugin to generate html reports. To generate reports
mvn surefire-report:report
Reports are written to target/site/surefire-report.html
Our goal is to cover 100% of the framework with the test cases. We are also looking into integrating code coverage tool(either emma or cobertura) to get the code coverage details and to help with augmenting test cases.
Guide lines for writing test cases
- Use annotations to mark the test cases, provided bu JUnit4.
- Each source package ideally must have a corresponding testsuite package.

