Dynamic Test Case Generation via Rule-Based Parameter Changes
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional test cases generated for processor design verification are static, lacking randomness and reusability, which limits their ability to test different input values and reduces the robustness of the testing process.
Innovation Solution
A method to transform conventional test cases into multiple use test cases by adding rules to qualified instructions, allowing for dynamic changes in initialization values and inputs, ensuring that each new test case behaves similarly to the original case during simulation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a test case is generated with full initializations to ensure complete test coverage, then the test case provides deterministic and reliable results, but the test case becomes static and cannot be reused with different input values
Solution Approach 1:
The patent transforms static test cases into dynamic multiple-use test cases by introducing rules that allow initialization values to be changed between executions. The test case structure is modified to include rules associated with instructions, enabling the same test case to generate different test instances with varied inputs while maintaining behavioral consistency.
Solution Approach 2:
The patent enables parameter changes by allowing initialization values of test cases to be modified through associated rules. Each rule set contains conditions and actions that determine how parameters (initialization values) should be changed to generate new valid test cases from an existing template, thus achieving versatility without sacrificing reliability.
2Reliability
If multiple separate test cases are created to test different input values, then comprehensive testing coverage is achieved, but the time and resources required for test case generation increase significantly
Solution Approach 1:
The patent creates a universal test case template that can serve multiple purposes by generating different test instances through rule-based parameter variations. Instead of creating separate test cases for each input scenario, a single multiple-use test case with associated rules can generate numerous test instances, reducing generation time while maintaining comprehensive coverage.
Solution Approach 2:
The patent performs preliminary action by pre-defining rules and conditions in the test case template that guide the generation of specific test instances. The rule sets contain pre-established logic for modifying initialization values, allowing rapid generation of multiple test cases from a single template without requiring full regeneration each time.
3Adaptability or versatility
If test cases are made dynamic to allow different input values, then test case reusability and versatility improve, but the complexity of managing and ensuring consistent behavior across multiple executions increases
Solution Approach 1:
The patent segments the test case structure into distinct components: the base test case template and associated rule sets. Each rule set is further segmented into conditions and actions. This segmentation allows independent management of different aspects of test case generation, reducing overall complexity while enabling versatile parameter changes.
Solution Approach 2:
The patent implements feedback mechanisms through rules that contain conditions evaluating the current test state and actions that modify initialization values accordingly. This feedback loop ensures that parameter changes maintain consistent behavioral properties, managing complexity through structured decision-making embedded in the rule sets.
Data Source
AI summary
An approach to create a multiple use test case when one or more computer processors receive a first test case from a test generator. The approach includes the computer processors evaluating each instruction in the first test case to determine that an instruction meets a set of conditions for creating a multiple use test case. The method includes one or more computer processors generating a set of rules for each instruction meeting the one or more conditions to create the multiple use test case. Furthermore, the method includes one or more computer processors creating the multiple use test case by adding the set of rules to each instruction meeting the one or more conditions to create the multiple use test case.


