Automated Test Case Generation for Mainframe Rehosting
Find Innovative SolutionsGenerate 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
Engineering Contradiction Analysis
1Reliability
If manual testing is performed for all business operations during rehosting, then testing completeness is improved, but time consumption increases
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.
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.
2Reliability
If comprehensive testing of all business operations is performed, then system reliability is improved, but maintenance cost increases
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.
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.
3Productivity
If automated test case generation from code analysis is implemented, then productivity is improved, but device complexity increases
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.
Data Source
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.


