Integrated Test Case Management via Source Code Markers

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In conventional test case environments, it is difficult to synchronize versions of source code and test case code, leading to inaccurate test case reports that do not reflect the latest software requirements, as they are developed separately by different groups.

Innovation Solution

Marking each test case routine in the source code with unique identifiers that describe the routine, allowing the development system to parse and generate reports based on these identifiers during compilation, ensuring test cases remain current with the source code.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If test case code and source code are developed separately by different groups, then each group can work independently with their own processes, but the versions of source code and test case code become difficult to synchronize, leading to inaccurate test case reports

Engineering Contradiction:
ImproveIndependent development processesVSAvoidVersion synchronization
Core Design Contradiction:
Ease of operationVSLoss of information

Solution Approach 1:

The patent merges test case code with source code into a single integrated development environment. Test case routines are written alongside source code routines in the same project, allowing both software engineers and QA engineers to work on the same codebase. This integration ensures that test cases are automatically compiled and executed with each source code build, eliminating version synchronization issues while preserving independent development workflows through clear separation of source code routines and test case routines within the integrated system.

Inventive Principle:
Principle #5Merging (Combining)

2Device complexity

If test cases are managed separately from source code, then test case management is simplified, but test case reports do not reflect the latest version of source code requirements

Engineering Contradiction:
ImproveTest case management systemVSAvoidTest case report accuracy
Core Design Contradiction:
Device complexityVSMeasurement precision

Solution Approach 1:

The patent implements preliminary action by automatically compiling and executing test cases during the source code build process itself. Test case routines are marked with special identifiers that allow the build system to automatically identify, compile, and run them without requiring separate manual intervention. This ensures that test case reports are generated with each source code build, automatically reflecting the latest version of source code requirements and eliminating the lag between source code updates and test case report generation.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If separate environments are used for source code and test case development, then each environment can be optimized for its specific purpose, but synchronization and integration become difficult

Engineering Contradiction:
ImproveEnvironment optimizationVSAvoidSynchronization mechanism
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent implements a unified build environment that serves multiple functions: it compiles source code routines, identifies test case routines through special markers, compiles test cases, executes them, and generates reports. This multi-functional build system eliminates the need for separate development environments while preserving the ability to optimize for specific purposes through configuration options and build targets. The system can selectively compile and execute different types of routines based on their identifiers, providing versatility within a single integrated framework.

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

Data Source

PatentUS9304893B1Integrated software development and test case management system
Publication Date: 2016.04.05 EMC IP HLDG CO LLC
  • US9304893B1 patent drawing
  • US9304893B1 patent drawing
  • US9304893B1 patent drawing

AI summary

Improved techniques involve marking each test case routine written in the source code with test case identifiers that describe that test case routine. Software in a development system parses source code to locate such identifiers and, upon compilation of the source code, generates a report based on those identifiers. Advantageously, the improved techniques ensure that test cases remain current with the source code.