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 [compact]

The objective of this two-day class is to gain a basic understanding of Unit Testing and code Coverage concepts and how the VectorCAST manage test automation platform can be used to implement those concepts. This is a hands-on class where students will use VectorCAST Manage for the lab work.

Prerequisites

Knowledge of C/C++ programming Language

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

Duration: Classroom: 2 days, Remote: 14 hours

Target Group: Developers, Testers, Students, Entrepreneurs

Prerequisites: Knowledge of C/C++ programming language

Goal: Gain a basic understanding of Unit Testing and Code Coverage concepts and learn how the VectorCAST test automation platform can be used to implement these concepts through hands-on exercises with VectorCAST Manage.

Agenda:

1. Unit Testing Overview | 0.5 h

  • Methods and Prerequisites
  • Terminology
  • Unit and Integration Testing
  • All About Stubs
  • Building Test Harness

2. Building Test Environments using Manage | 0.75 h

  • Environment Building Overview
  • White Box Testing
  • Steps to Build an Environment from a Manage Project
  • Configuring Environments at the Project Level

3. Creating Tests | 0.5 h

  • What is a Test Case
  • Creating a Test Case
  • Types of Input and Expected Values in a Test Case
  • Adding Notes to a Test
  • Executing a Test
  • Understanding the Test Execution Report

4. Test Case Fundamentals | 0.5 h

  • Working with Floating Point Values
  • Special Value Tags and Symbolic Constants
  • Copying and Duplicating Test Values
  • Structures, Arrays, and Pointers
  • Range and List Expressions
  • Options that Affect Test Cases

5. Compound Tests | 0.5 h

  • What is a Compound Test
  • Compound Test
  • Init Test
  • Automatic Initialization and Termination
  • Understanding Stub by Function (SBF)

6. Code Coverage Basics | 0.5 h

  • What is Code Coverage
  • Types of Code Coverage
  • Coverage By Analysis (CBA)
  • Industry-Specific Coverage Types
  • Cyclomatic Complexity / Basis Paths
  • Turning Coverage On and Off
  • Understanding Coverage Reports

7. Test Reporting | 0.5 h

  • Types of Reports that can be Generated for an Environment
  • Capturing stdout and stderr
  • Controlling Data Item Printing

8. Regression Testing Using VectorCAST Manage | 0.75 h

  • Why Regression Testing is Important
  • How VectorCAST Supports Regression Testing
  • Which Files Need to be Configuration Managed
  • Introduction to Manage CLI
  • Analytics
  • Strict Test Script Importing

9. C++ Testing | 0.75 h

  • C++ Testing Overview
  • Inheritance
  • Polymorphism
  • std::string
  • Testing Inline Functions

10. Questions and Feedback | 0.5 h

  • Questions on the Topics Covered
  • Client Project Related Questions may be Addressed as Advanced Training or Consultancy

11. Test Case and Parameter User Code | 0.5 h

  • What is User Code
  • Why User Code
  • Test Harness Components
  • Test Case and Parameter User Code
  • User Code Syntax

12. Environment User Code | 0.5 h

  • User Globals
  • Handling Void Pointers
  • Environment User Code
  • Order of Execution

13. Abstract Classes and Templates | 0.5 h

  • Abstract Class Testing Concepts
  • Auto Generated Concrete Classes
  • Testing Abstract Classes with Appendix User Code
  • Testing User-defined Templates

14. Stubbing Fundamentals | 0.5 h

  • Understanding Stubs
  • Library Stubs
  • Additional Stubs
  • Suppressed Stubs
  • Configure Stubs
  • Stubbed Constant Objects
  • Return Data List Options

15. Additional Test Case Options | 0.5 h

  • Find and Filter Bar
  • Duplicating a Test Case
  • Drag and Drop of Test Cases
  • Automatic Test Cases
  • Control Flow as Expected Result
  • What Global Variables are Referenced by a Function

16. Code Coverage Options | 0.5 h

  • Animation Coverage
  • Coverage Report Options
  • Coverage in Headers
  • Other Coverage Options

17. MC/DC Testing | 0.5 h

  • What is MC/DC
  • Understanding VectorCAST MC/DC Pair Tables
  • VectorCAST Options that Affect MC/DC

18. Testing on Cross-Compiler and Simulator | 0.75 h

  • What is a VectorCAST/RSP
  • Configuring Test Harness I/O
  • Configuring Target Test Execution (using armgcc compiler and t32 simulator)

19. Questions and Feedback | 0.5 h

  • Questions on the Topics Covered
  • Client Project Related Questions may be Addressed as Advanced Training or Consultancy

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:

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