Primary mentor | |
Backup mentor | |
Assigned to | Pasindu Rupasinghe |
...
Current tests are less reliable because they are not very stable. Sometimes they pass, but there is still a chance that they will fail. Also, tests suddenly start to fail when there are new changes in the implementation. We need to look into ways to improve the reliability of tests.Run tests against Pull requests
Currently, we don’t have a mechanism for running tests against Pull requests. As a result, no failures can be detected until the changes are merged and someone run the tests manually. It makes it difficult to detect root courses as well as to engage developers. We need a proper way to run these tests against the changes in pull requests.
Improve developer engagement
...
- Automated software testing
- CI/CD Pipelines
- Containerized applications
- Single-page applications and Micro-frontend architecture
Project Rating and length
...
- To improve developer engagement
- To improve the reliability of testsTo run tests against 3.x related Pull requests
- Extend test cases
Apart from that, we do need to achieve the following as well
- Making local test runs repeatable despite data mutations
- Handling metadata of the dockerized DB
- Syncing local setup with the latest development version of O3
- Running tests against an unmerged version
- Fixing the screen recording feature.
Documentation
- Project proposal - GSoC Student Application & Proposal
- Epic -
Jira Legacy server OpenMRS Issues serverId 45c5771b-fa4b-3e43-b34a-c19dc45ccc95 key O3-1313 - Project updates on talk - Link
- Milestone doc - Link
Detailed Project Report
The automated testing tool for OpenMRS 3 is a major aspect of the quality assurance team of OpenMRS. With the project, the aim is to improve the 3.x end-to-end testing framework. With the project, the following features will be implemented for the 3.x E2E testing tool.
- Improving the reliability of tests.
- Localize the test environment.
- Implement functionality to avoid data mutations.
- Fix the existing failing test cases.
- Integrate test results with the QA dashboard.
- Improve developer engagement.
- Document the setup of the local instance test environment.
- Get QA developers more engaged with the testing tool.
- Improve documentation for the 3.x automated testing tool.
- Extend test cases.
- Design new test cases for OpenMRS 3
- Write new test cases.
Explanation of the objectives.
- Localize the test environment
- Migrate the testing environment from cloud instance to docker environment.
- Implement functionality to avoid data mutations
- Use a script to run MySQL commands to make a dump of the database and restore it before each test scenario.
- Use a script to run MySQL commands to make a dump of the database and restore it before each test scenario.
- Fix existing failing test scenarios
- Login
- Patient Registration
- User settings
Clinical visit
Vitals and triage
- Patient search
- Integrate test results with the QA dashboard.
- Set up a CI/CD pipeline to integrate test results with the QA dashboard.
- Set up a CI/CD pipeline to integrate test results with the QA dashboard.
- Extend the test scenarios
- Design new test scenarios and write new test cases for the O3 components.
- Design new test scenarios and write new test cases for the O3 components.
- Improve documentation for the 3.x automates testing tool
- Document the setup guidelines for the local test environment.
- Update the wiki pages with the latest details.
Weekly Reports
Weekly report document - Link
Blog posts - pasindur2@medium
Final Presentation
Widget Connector | ||
---|---|---|
|
Resources
OpenMRS 3.0: A Frontend Framework that enables collaboration and better User Experience