Automated Test Case Generation and Scheduling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional software testing methods are inefficient due to manual generation and execution of test cases, which require significant time and effort, especially when scenarios change, such as with the addition of new features, and test executions are typically run serially to ensure prerequisites are met.

Innovation Solution

Automated test case generation and scheduling mechanisms that identify mutually exclusive input and output parameter values to automatically generate and schedule tests, reducing manual input and ensuring valid scenarios are tested efficiently.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If test cases are generated manually based on individual determination, then test coverage can be tailored to specific scenarios, but significant time and effort are required especially when scenarios change

Engineering Contradiction:
Improvetest coverage accuracyVSAvoidtest case generation time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs preliminary analysis of the software model, operation specifications, and parameter relationships before test case generation. By pre-processing the software model to identify operations, parameters, and their relationships, the system prepares test data structures and validation rules in advance, enabling rapid automated test case generation when scenarios change without requiring manual re-analysis

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system creates automated test case templates based on the software model structure. These templates are generated by copying and adapting the operational specifications and parameter relationships from the software model, allowing rapid generation of test cases that mirror the actual software structure without manual creation of each test scenario

Inventive Principle:
Principle #26Copying

2Reliability

If test executions are run serially to ensure prerequisites are completed, then test reliability is maintained, but testing efficiency decreases

Engineering Contradiction:
Improvetest execution reliabilityVSAvoidtesting efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system dynamically determines test execution order based on prerequisite relationships identified in the software model. Rather than fixed serial execution, the system analyzes dependency relationships between operations and parameters, dynamically generating an execution schedule that respects prerequisites while enabling parallel execution of independent tests, thus maintaining reliability while improving efficiency

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system segments the test execution process into independent units based on operation and parameter relationships. By identifying which tests have prerequisite dependencies and which can run independently, the system divides the test suite into executable segments that can be run in parallel when possible, while maintaining proper sequencing for dependent tests

Inventive Principle:
Principle #1Segmentation

3Adaptability or versatility

If manual test case generation is used, then test scenarios can be customized, but adaptability to changes such as new features is reduced

Engineering Contradiction:
Improvescenario customizationVSAvoidtest case modification ease
Core Design Contradiction:
Adaptability or versatilityVSEase of manufacture

Solution Approach 1:

The system automatically copies and adapts test case templates when the software model changes. When new features or operations are added to the software model, the system generates corresponding test cases by copying the appropriate templates and adapting them to the new structure, eliminating manual test case modification and improving adaptability to changes

Inventive Principle:
Principle #26Copying

Data Source

PatentUS8898639B2System, method and computer program product for automated test case generation and scheduling
Publication Date: 2014.11.25 SALESFORCE INC
  • US8898639B2 patent drawing
  • US8898639B2 patent drawing
  • US8898639B2 patent drawing

AI summary

In accordance with embodiments, there are provided mechanisms and methods for automated test case generation and scheduling. These mechanisms and methods for automated test case generation and scheduling can provide an automated manner of generating test cases and scheduling tests associated with such test cases. The ability to provide this automation can improve efficiency in a testing environment.