Integration Testing Quality for Critical User Journeys
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In software integration, integration testing faces challenges in maintaining high quality due to frequent updates and changes in critical user journeys (CUJs), leading to redundant, obsolete, or expensive tests, which complicates comprehensive testing.
Innovation Solution
A computer-implemented method and system for improving integration testing quality by automatically generating tests for untested CUJs, removing redundant tests, replacing expensive tests with less expensive ones, and generating visualizations of CUJs and CUJ tests.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If manual creation and maintenance of integration tests is performed, then test quality can be controlled, but time consumption and labor costs increase significantly
Solution Approach 1:
The system enables self-service by automatically generating integration tests based on critical user journey definitions. The test generation component creates tests autonomously without requiring manual intervention for each test case, allowing the system to maintain itself through automated updates when software modules change.
Solution Approach 2:
The patent replaces the mechanical process of manually creating and maintaining tests with an automated computational system. The test generation component uses algorithms to translate critical user journey definitions into executable test code, substituting human manual operations with automated mechanical processes.
2Reliability
If comprehensive testing of all critical user journeys is performed, then testing coverage improves, but test suite complexity and maintenance burden increase
Solution Approach 1:
The system segments the testing process by focusing exclusively on critical user journeys that are explicitly defined, rather than attempting to test all possible user interactions. This segmentation allows comprehensive coverage of important paths while excluding less critical areas, reducing overall test suite complexity.
Solution Approach 2:
The patent applies local quality by concentrating testing resources on specific critical user journeys identified through analysis, rather than uniformly distributing tests across all functionality. This ensures high-quality coverage where it matters most while reducing complexity in less critical areas.
3Reliability
If integration tests are updated frequently to reflect software changes, then testing accuracy improves, but time loss and operational overhead increase
Solution Approach 1:
The system performs preliminary action by establishing and maintaining a library of critical user journey definitions that capture the intended behavior. When software changes occur, the system compares new behavior against these pre-defined journeys and automatically generates updated tests, avoiding the need for manual re-creation of tests from scratch.
Solution Approach 2:
The patent implements feedback mechanisms where the system monitors software module changes and automatically triggers test generation updates. This closed-loop feedback ensures testing accuracy reflects current software state while minimizing operational overhead through automated response to changes.
Data Source
AI summary
A method for improving integration testing quality includes accessing a software module and determining a plurality of critical user journeys (CUJs) in the software module. The method also includes obtaining a set of CUJ tests corresponding to the software module, each CUJ test of the set of CUJ tests testing at least one CUJ. The method also includes, for a first CUJ of the plurality of CUJs, determining that the set of CUJ tests fails to include a CUJ test that tests the first CUJ, and, in response to determining that the set of CUJ tests fails to include the CUJ test that tests the first CUJ, generating, a first CUJ test testing the first CUJ. The method includes adding the first CUJ test to the set of CUJ tests. The method also includes testing the plurality of CUJs using the set of CUJ tests.


