OpenMRS
Improve Code Coverage for the Android client
Prerequisites
- Forked [https://github.com/openmrs/openmrs-contrib-android-client]
- Cloned your fork
- Opened the project in Android Studio
Description
There are many methods/classes in the project that needs to be tested to make sure they run as intended. Improving the tests will also increase code coverage.
Use a coverage tool (Android Studio has 1 included) to get the current coverage %. Then, write new tests or modify existing ones to improve the current code coverage.
Resources
- Ask any question on [Talk|https://talk.openmrs.org/], IRC or Telegram
- [Get code coverage on AS|https://stackoverflow.com/questions/18683022/how-to-get-code-coverage-using-android-studio]
- https://medium.com/android-testing-daily/code-coverage-dc1e3d0c70
Submission steps
- Create a new Pull Request to the [Android client repository|https://github.com/openmrs/openmrs-contrib-android-client]
- Submit the PR link
- Respond to reviews
- Resubmit when finished
Task tags
Students who completed this task
anuar2k, Aditya13, lana