Continuous Integration - SpartanRefactoring/Main GitHub Wiki
Code Coverage
Checking Coverage
Coverage checking in this project is done with the Ocaml plugin which you can find here
Spartanizer
- Code coverage of the "il.org.spartan.spartanizer.tippers" should always be at least 70.0 % and for each tipper the code coverage should be at least 65%
- When adding a new Tipper, you should always write test (preferably TDD) and the coverage should be at any given time at least 65%
- If by any chance you see that the code coverage of all "il.org.spartan.spartanizer.tippers" is less than 70%, you should open an issue about it and try to fix it ASAP
Athenizer
- Code coverage of the "il.org.spartan.bloater.bloaters" should always be at least 75.0 % and for each bloater the code coverage should be at least 70%
- When adding a new Tipper, you should always write test (preferably TDD) and the coverage should be at any given time at least 70%
- If by any chance you see that the code coverage of all "il.org.spartan.bloater.bloaters" is less than 75%, you should open an issue about it and try to fix it ASAP