Open Collective
Open Collective
Loading
Code Coverage added to SELF
Published on February 18, 2022 by Joe Schoonover

SELF Update
Adding code coverage reporting to a software project is necessary step to take for quality assurance. Coverage reports will help us better understand where more testing is needed in SELF and to weigh in on the importance of certain lines of code.
 
With a recent merge in Pull Request #22, SELF now implements code coverage reporting as part of the testing process. Coverage reporting is also now integrated via codecov into the pull request process! With this, we've also added a codecov badge to SELF's README so that you can quickly see where we are at with coverage of our tests.

Currently coverage reporting is only carried out for serial execution, and we are between 20%-30% coverage. This low coverage is expected currently as we are in the early phases of building out example programs that are used to exercise all of the various modules, classes, and routines in SELF. Our current trajectory is to reach >70% coverage by adding more examples and to start incorporating coverage analysis for parallel executions with MPI and GPU acceleration.