Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updated the topic


Primary mentor

Piumal Rathnayake               

Backup mentor

Assigned to


Summary

OpenMRS consists of several micro frontend modules and repositories, most of which have unit and integration tests written by individual developers. However, these tests exhibit inconsistencies due to the diverse testing strategies used by different developers. To address this issue, there is a need for a consistent and comprehensive test strategy or framework for the unit and integration tests of OpenMRS3, aimed at achieving a high level of test coverage. Refer to this document for more information.


Objectives

  • Implementing an effective unit & integration test strategy for OpenMRS3.

Expectations

The testing strategy, technologies and best practices are already defined in this document. The student has to go through the document to get a clear understanding before applying. The following requirements have to be fulfilled at the end of the project.

  1. Rewrite the existing integration tests to work with MSW (Mock service worker)
  2. Improve the Unit and Integration test coverage
    • By Writing the missing tests
    • By Improving the existing tests

Skills Needed

  • Fundamental knowledge of OpenMRS microfrontends (Setting up the environment, Basic knowledge on O3 repositories)
  • React
  • TypeScript

Project Rating and length

Medium

175 hours

Resources