DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Full-Stack Observability Essentials: Explore the fundamentals of system-wide observability and key components of the OpenTelemetry standard.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • Zero to Hero on Kubernetes With Devtron
  • Testing Serverless Functions
  • Make Spinnaker Even Better Using Armory
  • Guaranteed Ways of Failing With Microservices

Trending

  • Supercharge Your Software Development Journey With DevOps, CI/CD, and Containers
  • 16 K8s Worst Practices That Are Causing You Pain (Or Will Soon)
  • Snowflake vs. Data Bricks: Compete To Create the Best Cloud Data Platform
  • Researcher Finds GitHub Admin Credentials of Car Company Thanks to Misconfiguration
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Testing, Tools, and Frameworks
  4. How Modular Testing Fits Into Your Continuous Testing Strategy

How Modular Testing Fits Into Your Continuous Testing Strategy

Learn how to build a continuous testing strategy incorporating modular testing and how it can benefit QA and development teams.

Ashley Dotterweich user avatar by
Ashley Dotterweich
·
Updated Sep. 28, 17 · Analysis
Like (1)
Save
Tweet
Share
3.38K Views

Join the DZone community and get the full member experience.

Join For Free

To keep up with the demands of a competitive market, QA and development teams must find more effective ways to assure and improve the quality of their product without losing speed. In this post, we'll explore modular testing, one facet of the Continuous Testing Manifesto, and learn how modular testing contributes to a fast, reliable QA strategy.

Scalability and manageability are two critical concerns for high-performing QA teams. One effective way to create a scalable test suite is to adopt a modular testing system. Modular tests are tests designed to be reusable and editable, streamlining both test writing and test suite management.

How to Build Modular Test Flows

The most valuable tests are those which are broadly applicable across a variety of functions. If you find yourself copying and pasting test steps, you're creating more work for yourself in the long run; every time you need to update one of those tests, you'll have to go through the entire cloned set and update them manually. Instead, aim for a modular system that allows you to reuse tests in multiple flows, but manage them centrally.

Start by identifying the common user flows in your application. Most of the time, the common parts will be built upon to allow you to get into the right state for your application. This applies for both automated and manual test suites. If using automation, make sure to have a common library of states you can reuse to get into the correct state. If using manual testing, you will need to find a test case management system that supports composable tests.

Adding Value Strategically: QA Testing Utility Pyramid

Modularity isn't just about how test cases are managed and executed, but also which tests are prioritized. If starting from scratch with a new process, start with small, manageable chunks with a focus on providing the most valuable feedback. Build your test suite in the following order for greatest effect:

Smoke tests cover the top three to five flows through your application. An example of an e-commerce site's smoke test suite would be: login, sign up, checkout. Choose whatever might cause a headline in a newspaper (or an email to the CEO) if it broke.

Happy path tests are similar to smoke tests, but somewhat less important. Generally, they are the most common paths through your application.

Regression tests check for bugs that people have already reported. These issues should not surface again in the future. Add a test to your suite -- whether a unit test or not -- to make sure it doesn't.

Edge cases that don't fit within the above categories and generally aren't in the common user flow. They have less value, so you should leave them until last. Be advised that there is a nearly infinite number of edge cases and depth you drill into. Note that issues that get reported are bugs, and fall into the above category (regression tests), if accepted. Edge case testing looks for, and protects against, possible bugs.

The Benefits of Modular Testing

Taking a modular approach to QA makes the entire test suite more efficient and faster. Tests can be managed centrally, reducing the overall workload for the QA team when test cases must be written or updated.

Jitjatjo manages QA for their restaurant workforce application by using a modular testing scheme within Rainforest. Nearly every test case they create can be applied to multiple different user flows, browsers and devices, minimizing the QA time investment to achieve the level of coverage needed. When test cases needed to be updated, Jitatjojo's QA engineer only has to update the master test case, and all other instances of the test case will be updated as well.

"Rainforest allows us to create a test that we can run over and over. Anytime we want to test that flow, we gain the efficiencies back," says Dominic Esposito, Jitjatjo's Head of Product. "Any Rainforest test case that we write becomes extremely efficient. We're saving 25-30% of our QA time by leveraging Rainforest."

Learn More About How Modular Testing Fits Into Your Continuous Testing Strategy

Want to learn more about how to use modular testing to scale your QA process more efficiently? Join us for a Continuous Testing webinar on Thursday, September 28 as Rainforest QA's VP of Engineering Derek Choy dives deeper into modular testing. In this session, Derek will explain how the Rainforest QA team leverages modular testing, and how other development organizations can integrate it into their testing workflows.

unit test Pipeline (software) Test suite Question answering Test case application Flow (web browser) guidelines teams

Published at DZone with permission of , DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Zero to Hero on Kubernetes With Devtron
  • Testing Serverless Functions
  • Make Spinnaker Even Better Using Armory
  • Guaranteed Ways of Failing With Microservices

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: