VectorAcademy
We will help you find the TrainingCenter that is responsible for you. Please choose your country and the desired language.

International Website

Visit our international website for courses from this location:
To the international offer

Corresponding Training Facility:
Choose a language

VectorCAST/C++ Unit Testing

This course enables you to independently generate test environments, test cases and text reports. The course provides basic theoretical knowledge about module tests and code coverage concepts. In addition, you receive an introduction to the operation of the test tool. Practical exercises enable you to use VectorCAST productively during the course. 

Prerequisites

None

Delivery Format: This Course is offered in Classroom or Remote Format

Duration: Classroom: 3 days, Remote: 21 hours

Target Group: VectorCAST user with none or little experience

Prerequisites: Knowledge of C language, compiling/linking. C++ (if used by customer)

Goal: Gain a basic understanding of Unit Testing and Code Coverage concepts

Agenda:

1. Introduction

  • Terminology
  • Unit test concepts

2. Building an Environment

  • Prerequisites
  • Whitebox testing
  • Environment building assistant

3. Creating Test Cases

  • Specifying input & expected values
  • Data types
  • Data entry techniques
  • Compound tests

4. Code Coverage

  • Coverage types
  • Coverage options

5. Test Reports

  • Execution reports
  • Coverage reports
  • Management reports

6. Regression Testing

  • Creating regression scripts
  • Script syntax
  • Configuration management
  • Change-based testing
  • Command line execution

7. User Code

  • Parameter user code
  • Test Case user code
  • Environment user code
  • User code syntax
  • User globals
  • Harness architecture overview

8. Working with Stubs

  • Creating stubs
  • Stub-by-function

9. Testing C++ Classes (C++ concepts will only be covered for those customers using C++)

  • Class instances and constructors
  • Inheritance & polymorphism
  • Testing in-line functions
  • Testing abstract classes
  • Testing templates

10. Miscellaneous (Due to time constraints, not all topics can be dealt with. Which and how many topics arise is at the discretion of the trainer)

  • MC/DC (will only be covered for those customers requesting so beforehand)
  • Managing include files
  • Control flow testing
  • Target testing concepts
  • Auto test case generation
  • Error scenarios
  • Creating tests from CSV data
  • Advanced stubbing techniques
  • Probe points

Dates

Currently we do not offer any fixed dates for this course.

In case you are interested in booking a course exclusively for your company please get back to us. In a customer individual course we agree on a date and can also apply some changes to the content based on your need.

Please contact us for further details:

个人信息出境和境外再提供的同意