Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert quality tests in main methods into JUnit tests #37

Closed
TilmanNeumann opened this issue Dec 23, 2024 · 1 comment
Closed

Convert quality tests in main methods into JUnit tests #37

TilmanNeumann opened this issue Dec 23, 2024 · 1 comment

Comments

@TilmanNeumann
Copy link
Owner

The jml library has many classes where quality assurance tests are done in main methods. These should be converted into JUnit tests, for CI and anyway.

If the runtime of such a test is very long (like >10 seconds, minutes, hours), the test might be split into a fast JUnit test and a slow manual test.

@TilmanNeumann
Copy link
Owner Author

Mission accomplished. All main() method have either been converted into unit tests or renamed into something like *PerformanceTest or *Runner. The only class with main() method remaining in the main scope is CombinedFactorAlgorithmRunner, which is the execution target of the executable jar.

There is now a basic stock of 265 unit tests. Test coverage could be better but that will come little by little.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant