Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


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

  • Enhancing Component Test Coverage and Quality for OpenMRS3

...

Project Rating and length

Medium

175 hours

Detailed Project Report

Introduction

Testing plays a pivotal role in the software development process, ensuring that software aligns with anticipated quality standards and functions as intended. Additionally, it aids in early bug and error detection, potentially preventing issues from arising. Furthermore, testing serves as valuable documentation, offering insights into how the software functions and the expected outcomes of specific interactions.

Overview

The main aim of the project was to improve the overall code quality of OpenMRS3 by enhancing the component test coverage. It was mainly focused on esm-patient-management repo. I have worked on patient-management repo and increased the coverage from 40% to 72%. We can work further to improve the coverage on this repo and then we can move to other repos like esm-patient-chart etc.

Initial Test Coverage for patient-management-repo:

Image Added


Image Added


Current Test Coverage for patient-management-repo:

Image Added

Pull Request: 

https://github.com/openmrs/openmrs-esm-patient-management/pull/667 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/672 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/678 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/680 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/690 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/691 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/707 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/709 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/741 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/747 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/749 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/750 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/751 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/760 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/762 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/766 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/767 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/770 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/771 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/772 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/777 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/778 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/779 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/780 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/781 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/782 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/783 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/784 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/785 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/787 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/788 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/789 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/790 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/791 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/793 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/794 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/796 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/797 merged (tick)

https://github.com/openmrs/openmrs-esm-patient-management/pull/748 InReview

https://github.com/openmrs/openmrs-esm-patient-management/pull/786 InReview

https://github.com/openmrs/openmrs-esm-patient-management/pull/792 InReview

https://github.com/openmrs/openmrs-esm-patient-management/pull/732 InProgress

Issues

https://issues.openmrs.org/browse/O3-2063
https://issues.openmrs.org/browse/O3-2214
https://issues.openmrs.org/browse/O3-2288
https://issues.openmrs.org/browse/O3-2328
https://issues.openmrs.org/browse/O3-2329

Weekly Blogs

Documentation

Milestone Docs

Talk thread

Testing Documentation

Final Presentation

Widget Connector
urlhttp://youtube.com/watch?v=28WLlu3Wvzg

Resources