Runtime Test Case Expansion via Generic Template

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current testing methodologies require significant resources and repetitive efforts to develop and maintain customized test code for various applications and services, especially in complex computing systems with numerous components and endpoints, leading to inefficiencies and increased costs.

Innovation Solution

A test case expansion mechanism that utilizes a generic test case expanded into multiple specific test cases using a data file, eliminating the need for writing customized test code by leveraging a test master and test agents within a stateless test execution framework, allowing for automated generation and execution of test cases across multiple endpoints without manual intervention.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If customized test code is written for each application and service, then testing coverage and reliability are improved, but resource consumption and development time increase significantly

Engineering Contradiction:
Improvetesting coverageVSAvoidresource consumption
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent creates a universal test case template that can be expanded into multiple specific test cases through runtime parameter substitution. Instead of writing customized test code for each application and service, a single generic test case structure is designed that can adapt to different testing scenarios by injecting specific test data and configuration parameters at runtime, thereby reducing resource consumption while maintaining comprehensive testing coverage

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

Solution Approach 2:

The test case development process is segmented into template creation and runtime expansion phases. The generic test case template contains the common testing logic and structure, while specific test cases are generated by substituting parameters at runtime. This segmentation allows the testing framework to reuse the same template across multiple applications and services, significantly reducing the effort and resources required for test code development

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If customized test code is written for each application and service, then testing accuracy is improved, but development time and maintenance effort increase

Engineering Contradiction:
Improvetesting accuracyVSAvoiddevelopment time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-defining the generic test case template structure, testing logic, and validation rules before actual test execution. This template is designed to accommodate various applications and services through parameter substitution, eliminating the need to write customized test code from scratch for each scenario. The preliminary preparation of the universal template significantly reduces development time while maintaining testing accuracy through consistent validation logic

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses copying by replicating the generic test case template structure across multiple testing scenarios. Instead of creating unique test code for each application and service, the same validated template is copied and adapted through parameter substitution. This copying approach ensures consistent testing accuracy across different systems while dramatically reducing the time required to develop new test cases

Inventive Principle:
Principle #26Copying

3Adaptability or versatility

If test code is repeatedly developed and maintained across multiple applications, then system-specific testing requirements are met, but complexity and cost increase

Engineering Contradiction:
Improvesystem-specific testingVSAvoidtesting system complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent employs parameter changes by allowing the generic test case template to adapt to different applications and services through substitution of specific test parameters. The core testing logic remains unchanged, while parameters such as test data, configuration values, and target system identifiers are dynamically modified at runtime. This approach enables system-specific testing requirements to be met without increasing overall testing system complexity, as the same template structure handles diverse testing scenarios

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11249878B2Runtime expansion of test cases
Publication Date: 2022.02.15 SALESFORCE INC
  • US11249878B2 patent drawing
  • US11249878B2 patent drawing
  • US11249878B2 patent drawing

AI summary

Test case data is received for individual test cases. The test case data includes sets of test case specific elements. A test case base object is generated to represent a generic test case. The test case base object includes a set of test case specific properties. The test case base object is expanded into individual test case specific objects that represent the individual test cases. Each individual test case specific object is generated by setting the set of test case specific properties to a respective set of test case specific values as indicated in the sets of test case specific elements. The individual test case objects are used to execute the individual test cases against one or more systems under test.