Test Case Generation via Functional Flow Templates
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for generating test cases for different test types are inefficient, leading to waste of resources and time due to the need for separate design and execution of test cases for each type, which often share common steps and verification points, and lack of association between test cases.
Innovation Solution
A method and system for generating test cases that create a functional flow of an application based on its design, generate additional test information using templates for different test types, and produce test cases associated with each other through a test case generation rule, allowing for reusability and standardization.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If separate test cases are designed for each test type, then comprehensive testing coverage is achieved, but resource waste and time consumption increase
Solution Approach 1:
The patent creates a universal test case framework where a single test case design can serve multiple test types (functional testing, performance testing, security testing, etc.). The test case generation system uses templates and models that can be configured for different test types, allowing one base test case to be adapted and reused across multiple testing scenarios, thereby reducing redundant design work while maintaining comprehensive coverage
Solution Approach 2:
The patent merges common elements across different test types into a unified test case structure. By identifying and combining shared test steps, verification points, and test data across functional, performance, and security testing, the system creates an integrated test case that can execute multiple test types simultaneously or be reused across different test campaigns, reducing overall time consumption
2Reliability
If separate test cases are designed for each test type, then specific test requirements are met, but manpower and material resources are wasted
Solution Approach 1:
The test case framework is designed to be multi-functional, where a single test case can satisfy requirements for multiple test types through configurable templates. The system allows different test types to share common test logic, data, and verification mechanisms, reducing the need to create separate dedicated test cases for each test type while still meeting specific requirements through parameter customization
Solution Approach 2:
The patent implements a test case reuse mechanism where commonly used test components are identified and stored as reusable templates. Instead of discarding test case designs after single use, the system recovers and stores successful test patterns, verification points, and test data that can be reused across different test types and projects, reducing future resource consumption
3Adaptability or versatility
If test cases are generated without association rules, then generation flexibility is maintained, but test case reusability decreases
Solution Approach 1:
The patent uses parameter-based configuration to maintain flexibility while enabling reuse. Test cases are defined with configurable parameters and templates that can be adjusted for different test types without changing the core test logic. By parameterizing test case elements rather than hardcoding them, the system allows the same test case structure to adapt to different scenarios, maintaining flexibility while enabling automatic reuse through parameter matching
Data Source
AI summary
A method and system for generating test cases of different types for testing an application. A functional flow of the application is created. The test cases are generated, based on at least one test case generation rule and additional test information corresponding to different stages of the functional flow with respect to at least two test types.


