Objective-Driven Test Case Generation for Reusable Functional Suites

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional software and application testing methods, particularly unit testing and functional verification testing, result in inefficient use of resources due to the addition of numerous redundant test cases, leading to prolonged integration test times and reduced efficiency in complex business scenarios.

Innovation Solution

An objective-driven test case generation system that includes an atomic test case module, a test data module, and a tailoring module to generate and link test steps with atomic test cases, forming objective-driven functional test cases and suites, which are dynamically adjusted to achieve defined goals.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional unit testing and functional verification testing are performed separately with numerous test cases, then testing coverage is improved, but integration test time is prolonged and resource efficiency is reduced

Engineering Contradiction:
Improvetesting coverageVSAvoidintegration test time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent combines unit testing and functional verification testing into a unified objective-driven test suite. The system integrates atomic test cases from unit testing with functional test cases, allowing both testing objectives to be achieved simultaneously through a single integrated test execution rather than separate testing phases.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent creates a multi-functional test suite that serves multiple testing purposes. The objective-driven test cases are designed to simultaneously validate unit-level functionality and integration-level behavior, making the test suite universally applicable for both UT and FVT objectives without requiring separate test cases for each purpose.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Reliability

If numerous test cases are added to achieve comprehensive coverage, then testing thoroughness is improved, but resource efficiency and creation effort are reduced

Engineering Contradiction:
Improvetesting thoroughnessVSAvoidtest case creation efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments test cases into atomic test cases that represent fundamental testing units. These atomic test cases can be independently created, stored, and then systematically combined to form comprehensive test suites. This segmentation allows thorough coverage to be achieved through combination rather than creating numerous individual complex test cases.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent enables reuse of atomic test cases across multiple functional test scenarios. Once atomic test cases are created and validated, they can be copied and referenced in multiple objective-driven test suites, eliminating the need to recreate similar test logic repeatedly and significantly improving creation efficiency while maintaining thoroughness.

Inventive Principle:
Principle #26Copying

3Reliability

If separate unit testing and functional testing processes are used, then testing completeness is improved, but system complexity and process overhead are increased

Engineering Contradiction:
Improvetesting completenessVSAvoidtesting process complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent merges the separate UT and FVT processes into a unified objective-driven testing framework. The system integrates atomic test case management, functional test case generation, and test suite assembly into a single automated process that simultaneously achieves both unit testing and functional verification completeness without maintaining separate complex processes.

Inventive Principle:
Principle #5Merging (Combining)

4Reliability

If redundant test cases are created in conventional testing, then testing coverage is maintained, but resource utilization and efficiency are worsened

Engineering Contradiction:
Improvetesting coverageVSAvoidresource utilization efficiency
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent segments testing into atomic test cases that represent non-redundant fundamental testing units. Each atomic test case serves a specific, unique purpose in validating particular functionality. This segmentation eliminates redundancy by ensuring that each test case contributes a distinct value to overall coverage, and atomic test cases can be selectively combined based on specific testing objectives rather than creating redundant comprehensive test cases.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the parameter of test case granularity from coarse-grained functional tests to fine-grained atomic tests. This parameter change allows the system to achieve the same coverage objectives with fewer, more precise test cases, improving resource utilization by eliminating the redundancy inherent in conventional coarse-grained testing approaches.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12436871B2Objective-driven test cases and suites
Publication Date: 2025.10.07 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US12436871B2 patent drawing
  • US12436871B2 patent drawing
  • US12436871B2 patent drawing

AI summary

An objective-driven test case generation system includes an atomic test case module, a test data module, a tailoring module and a functional test case module. The atomic test case module generates a plurality of atomic test cases and stores the atomic test cases in an atomic test case library. The test data module receives a business model, determines one or more test steps from the input business model, and generates test data including the test steps. The tailoring module performs a linking operation to link the test steps included in the test data with one or more atomic test cases included in the atomic test case library to generate linked test case data. The functional test case module generates an objective-driven functional test case based on the linked test case data.