What Quality Assurance Tools Have the Potential to Enhance Our Current QA Practices?

The last we heard from the OpenMRS Quality Assurance Team, they were wrapping up a deep dive into our community’s quality assurance practices and had five key findings to share: 

  1. Selenium is already set up for testing the OpenMRS Reference Application.
  2. OpenMRS core has robust CI testing in place. 
  3. Better, more effective QA relies on the availability of documented requirements and testing SOPs.
  4. Our resources are obsolete and could use updating.
  5. Planning for testing (timelines and limited resources) is in need of some TLC.

We all know the old adage: If it ain’t broke, don’t fix it. If the community already has an automated testing framework (like Selenium) and CI testing that works, it makes much more sense to focus on tools that will address those areas that will actually improve our QA process. 

With this in mind, the QA team started looking for a tool that could do three things: 

  1. support documenting requirements, 
  2. encourage the use of templates and SOPs, and 
  3. improve our ability to plan and manage the testing process. 

Enter CucumberStudio, formerly known as Hiptest.  

Five things the QA Team discovered about CucumberStudio

In mid-February, OpenMRS QA Lead Christine Gichuki, Jan Flowers, and Jennifer Antilla spoke with Christina White, the FHIR Squad Technical Project Manager, to explore community QA processes and tools that could support the FHIR Squad’s work on laboratory information and shared health record use cases. It was during these discussions that the QA team first heard about CucumberStudio from some OpenHIE community members associated with the squad.

The team spent some time experimenting with CucumberStudio. They set up working sessions where they could focus on practical walkthroughs of developing and managing tests using the CucumberStudio suite. Along the way, they documented important lessons learned that could eventually inform guidelines for using CucumberStudio. Here’s what they learned:

  1. CucumberStudio is a collaborative test management suite that implements the Behavior-driven development framework (BDD). The BDD framework is designed to support test development based on documented requirements. 
  2. It uses simple, English-like statements (Gherkin). As a result, business analysts, quality assurance specialists, and other non-technical people who document requirements are able to develop test cases in Gherkin.
  3. Instead of building out automated tests in CucumberStudio, it allows for integration with other automated testing frameworks – such as Selenium and Katalon. 
  4. It also includes an established framework with preset standards and guidelines.
  5. The OpenHIE community is currently using CucumberStudio.

What does this mean for the OpenMRS Community?

For starters, we can continue to use Selenium as our automated testing framework. And if an implementer is interested in using OpenMRS community QA processes and CucumberStudio, they can – even if they use a different automated testing framework.

Because test cases in CucumberStudio are written in Gherkin, it nudges us to be more diligent about documenting requirements – using a standard template for writing out test cases that is similar to the format many of our manual test cases are written in. 

In turn, this could lead to better planning and use of our resources. Using Gherkin and developing our test cases based on requirements clears the way for business analysts and other non-technical people to get involved in QA. Sharing the work with BAs and others means the release team doesn’t have to rely on a single developer with limited availability to do all of the QA. And instead of waiting until a release is ready to kick off the QA process, test cases based on requirements can be built out earlier in the development process.  

What’s next?

Through their CucumberStudio trials, QA team worked up a sample prototype that covers two test cases: log in and registration, written in Gherkin and using our automated testing framework, Selenium. They are planning to hold a couple of Design Forums on June 10 and June 15 to go through these and demo how the CucumberStudio-Selenium integration works. 

Everyone is welcome! More details on when and where can be found on Talk

What Quality Assurance Tools Have the Potential to Enhance Our Current QA Practices?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to top