[Original] C ++ test tool Introduction

Source: Internet
Author: User

[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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.