Division method and test method of testable function in test unit
A test function and test unit technology, which is applied in software test/debugging, error detection/correction, electrical digital data processing, etc., can solve the problems of large number of units, aggravated test workload, low test efficiency, etc., to improve testability performance, improving reusability issues, and ensuring integrity and reliability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] The method for dividing testable functions in a test unit provided by this embodiment is used to test the functions in the test unit. Generally, in the prior art, it only tests some specific functions, and the test is not complete. The system There may be potential bugs. When the stability requirements are high, all functions in the test unit will be tested, and the number of test cases in this test method will greatly increase, and the test efficiency is low and the workload is heavy. The division method provided in this embodiment is to divide the functions in the test unit through specific logic, and test the divided small units, which can not only ensure the coverage of the test function, but also greatly reduce the number of test cases. The number, so as to obtain a higher test efficiency.
[0037] Specifically, for the convenience of description, the test unit mentioned in this embodiment refers to the tested software code module, which includes several reentrant...
Embodiment 2
[0049] On the basis of Embodiment 1, this embodiment also provides a function testing method, including the following steps:
[0050] A10, utilize the division method of embodiment 1 to divide the testable function in the test unit;
[0051] A20, establish a test case queue corresponding to the function in the test queue;
[0052] A30. Execute the test cases according to the order of the test queue.
[0053] Wherein in testing process, also comprise monitoring step, described monitoring step comprises following sub-step:
[0054] A41. Monitor whether all testable functions in the test unit have changed, and if so, execute step A42;
[0055] A42. Determine whether the function interface corresponding to the change function is a key function interface, if so, return to step A10, otherwise ignore.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



