文档介绍:Parasoft C++test Training
Cathy Fan
September 24, 2012
Agenda
Part 1
Parasoft Test Overview
Project Setup
Terminology
Import
BDF
Static Analysis
Terminology
Workflow
Testing
Suppressions Violations
Best Practices
Part 2
Automated Peer Code Review
Overview
mit vs. mit
Authors, Reviewers, Observers
Workflows
Auditing the Code Review Process
Agenda
Part 3
Unit Test
Concepts and Strategies
Generating Unit Tests
Stubs
File Scope and Project Scope
Assertions
Coverage
Part 4
Advanced Topics on Unit Test
Stubs
Factory Functions
Parameterization
Runtime Error Detection
Application Monitoring
Runtime Error Detection
Parasoft Test – Overview
Purpose: Defect prevention
Task management and distribution (Supports all aspects of project management)
The primary question is…
Do you have the ability to apply these technologies uniformly as part of a process and get results?
NOT do you have access to these technologies?
The key to effective usage is uniform application with minimal impact on the developers workflow
Parasoft Proprietary and Confidential
Parasoft Test – Functionality Overview
Static analysis
Automated peer code review (Language independent)
Unit testing
Runtime analysis
Coverage analysis
Task management and distribution (Supports all aspects of project management)
Parasoft Proprietary and Confidential
1
Create code and/or Unit Tests (auto or manual)
3
Execute nightly
2
Check into Source
4
Cross reference
5
Deliver results within IDE
Overall Implementation
Parasoft C++test – Project Setup
Terminology
Eclipse Workspace
Directory path that you had to specify at startup
Contains a collection of projects
Has a “.metadata/” folder and a “.cpptest” folder
Eclipse Project
Has a “.project” file