onaio / fhir-gateway-extension

This repo holds the OpenSRP permissions checker and data access checker
Other
0 stars 1 forks source link

Increase Code coverage to the codebase #25

Closed ndegwamartin closed 3 weeks ago

ndegwamartin commented 10 months ago

Currently the Code coverage stands at a little over 40%. We'd like to track via this ticket testing and code coverage. We need to add more (and impactful) tests across the repo for increased code stability and coverage.

To run the unit tests use the command below which both runs tests and generates a code coverage report.

$ mvn clean test jacoco:report

The test report can be found at /plugins/target/site/jacoco/index.html

Note: optionally we can have this worked on by multiple people including during CHT (Code Health Thursdays)

sharon2719 commented 8 months ago

@ndegwamartin is it possible for me to have a look at this?

lincmba commented 3 weeks ago

Closing this as it is succeeded by https://github.com/onaio/fhir-gateway-extension/issues/37