A method and device for implementing unit testing
A technology of unit testing and test suite, applied in the field of unit testing, can solve problems such as affecting the work efficiency of unit testing, time-consuming modification process, manual search, etc., to save the time of human participation and improve work efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0037] figure 1 The flow chart of the method for realizing the unit test of the present invention; figure 1 shown, including:
[0038] Step 100, traversing the test case files in the directory and subdirectories where the unit test is performed, and generating a test suite of the test case file according to the file name of the test case file.
[0039] In this step, traversing the test case files in the directory and subdirectories for unit testing is: traversing the test case files in the directory and subdirectories for unit testing through the Python script. Among them, Python is an object-oriented, interpreted computer programming language. Python syntax is concise and clear, and it has a rich and powerful class library. Python is often nicknamed the glue language, which can easily connect various modules made in other languages together. A Python script refers to a script written in the Python language.
[0040] Before this step, it is also included to pre-set the c...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

