文档介绍: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)
Results within IDE – Show and Tell
Parasoft Proprietary and Confidential
1
Results delivered as uniform view within IDE
2
Directly access line of code to fix
3
Check-in
Togetherness
Single, uniform interface
Same interface for all languages
Support for all technologies needed in development
Workflow is natural
Work is task-based and focused on results
THE KEY is uniform implementation in the group
If implemented as a group practice, the result is huge productivity improvements
Parasoft Proprietary and Confidential
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/” fo