Application State Conversion Graph for Faster Software Testing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current software development methods rely heavily on technical documents that are time-consuming to read and comprehend, leading to inefficient communication and low test efficiency among front-end developers, back-end developers, and test staff, resulting in stalled test progress and increased development time.
Innovation Solution
A method and apparatus that utilize a state conversion digraph to automatically transform application states by sending a first state from a terminal to a server, receiving a target conversion command, and generating a second state based on this command to enhance debugging and testing efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If technical documents are used for application testing, then test coverage can be ensured, but test efficiency decreases due to time-consuming reading and comprehension
Solution Approach 1:
The patent creates a state conversion digraph that copies and structures the information from technical documents into a visual format showing application states and transition paths. This allows testers to understand test scenarios through diagrams rather than reading lengthy textual documents, maintaining comprehensive test coverage while significantly improving efficiency
Solution Approach 2:
The patent transforms one-dimensional textual documentation into a two-dimensional state conversion digraph with states as nodes and transitions as edges. This dimensional transformation enables testers to grasp test logic and coverage requirements more quickly through visual spatial relationships rather than linear text reading
2Loss of information
If technical documents are used for development and testing, then detailed specifications are available, but communication efficiency among development teams decreases
Solution Approach 1:
The state conversion digraph copies essential specification information from technical documents into a visual representation that can be quickly shared and understood by front-end developers, back-end developers, and testers, reducing miscommunication while preserving detailed test requirements
Solution Approach 2:
The state conversion digraph acts as an intermediary visual language between different development roles. It translates detailed specification requirements into a common visual format that all team members can understand, facilitating better communication and reducing the time needed for team discussions
3Reliability
If manual testing based on technical documents is performed, then test scenarios can be covered, but development time increases
Solution Approach 1:
The patent performs preliminary analysis to create the state conversion digraph before actual testing begins. This pre-structured visual representation of all possible states and transitions allows testers to quickly understand test coverage requirements without manually reading through detailed technical documents during the testing phase, thereby reducing overall development time while maintaining comprehensive test scenario coverage
Data Source
AI summary
Embodiments of the present disclosure provide a method, apparatus, a device, a medium and a program product for testing applications. The method comprises sending to a server a first state of an application running on a terminal, the first state being a state related to an interface of the application. The method also comprises receiving a target conversion command from the server based on sending of the first state, the target conversion command being determined based on a state conversion digraph for the application and the state conversion digraph including a set of states related to an interface of the application and a set of operation sequences for implementing state conversion. The method further comprises generating, based on the first state and the target conversion command, a second state of the application to implement test of the application.


