Automated Test Case Generation for Mainframe Rehosting

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The high maintenance costs and time-consuming testing processes associated with rehosting a mainframe system to an open system environment, where all business operations need to be tested after reconstruction, leading to a demand for an efficient testing solution.

Innovation Solution

A method and computing device that generates test cases by analyzing legacy system programming code, performs these cases in both legacy and open systems, and compares execution results to identify discrepancies, providing notification for user intervention and reducing maintenance costs through comprehensive testing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual testing is performed for all business operations during rehosting, then testing completeness is improved, but time consumption increases

Engineering Contradiction:
Improvetesting completenessVSAvoidtime consumption
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary analysis of the legacy system's programming code to automatically generate test cases before actual testing begins. This preliminary action extracts transaction logic and generates corresponding test cases, reducing the time required for manual test case creation while ensuring comprehensive coverage of all business operations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The testing system performs self-service by automatically generating test cases from the legacy system's own codebase. The system extracts transaction logic directly from the programming code and generates corresponding test cases without requiring external manual intervention, thereby improving both efficiency and completeness.

Inventive Principle:
Principle #25Self-service

2Reliability

If comprehensive testing of all business operations is performed, then system reliability is improved, but maintenance cost increases

Engineering Contradiction:
Improvesystem reliabilityVSAvoidmaintenance cost
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The system automatically generates test cases from its own codebase, eliminating the need for expensive manual testing services. This self-service capability reduces maintenance costs while ensuring comprehensive testing coverage through automated extraction of transaction logic and generation of corresponding test cases.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system creates copies of transaction logic from the legacy system's programming code to generate test cases. By copying and analyzing the existing code structure, the system can automatically produce comprehensive test cases without requiring manual recreation of test scenarios, thereby reducing maintenance costs.

Inventive Principle:
Principle #26Copying

3Productivity

If automated test case generation from code analysis is implemented, then productivity is improved, but device complexity increases

Engineering Contradiction:
Improvetesting efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system replaces manual mechanical testing processes with automated code analysis. By substituting human analysts with automated parsing and generation mechanisms, the system improves productivity while the complexity is managed through standardized algorithms for code analysis and test case generation.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS10061690B2Computing device and method for performing test of rehosting
Publication Date: 2018.08.28 TMAXSOFT
  • US10061690B2 patent drawing
  • US10061690B2 patent drawing
  • US10061690B2 patent drawing

AI summary

Disclosed is a method for performing a test of rehosting performed by a computing device including one or more processors and a memory storing commands executable by the processors. The method may include: generating, by a test case generating module, a test case by analyzing a programming code of a legacy system; performing, by a test runner module, the test case in the legacy system and an open system; and comparing, by a test result generating module, execution results of the test case in the legacy system and the open system.