[Original] C ++ test tool Introduction
1 Introduction to C ++ Test
C ++ test is a unit test tool for C/C ++. It automatically tests any C/C ++ class, function, or component without writing a test case or test driver.ProgramOr pile call.
C ++ test can be automatically testedCodeConstruct (white-box testing), test code functionality (black-box testing), and maintain code integrity (regression testing ). C ++ test is
Easy-to-use products can adapt to any development lifecycle. By integrating C ++ test into the development process, you can effectively prevent software errors and improve code stability.
And automated unit testing technology.
2 C ++ test Official Website
Http://www.parasoft.com/jsp/products/cpptest.jsp? Itemid = 47
3 what are the main functions of C ++ test?
(1) code standardization check
(2) unit test
(3) Integration Testing
(4) Functional Testing
(5) regression testing
4. How does C ++ test perform automated unit testing?
The procedure is as follows:
(1) Create/import the project to be tested
(2) engineering settings
(3) Test Configuration
(4) Generate Test Cases
(5) execute test cases
(6) add Test Cases
(7) Review test results
(8) Correcting Code errors/Defects
5 What coverage rate analysis does C ++ test provide:
(1) line coverage
(2) Basic Block coverage
(3) path coverage
(4) demo-( Branch) Coverage
(5) modified condition/demo-coverage (MC/DC)
(6) condition coverage