|
This one-day course contains several presentations with several practical examples.
We start with a course introduction and an overview of Cantata++. You will gain a general insight in what Cantata++ do, the testing process and how Cantata++ works.
We continue with an introduction to Dynamic Unit testing and the Cantata++ test harness. We address issues like:
- Test script structure
- Test Driver wizards and options
- Exceptions and Stubbing
- Executing tests and checking results
Goal You will obtain knowledge about Coverage Analysis where we show you how to add coverage analysis to a test script.
We also look into coverage analysis metrics and configuring coverage criteria in RuleSets.
We present White Box Testing and how you accessing private data / methods. We compare Black-Box and White-Box testing techniques for C++ and adding Statement coverage criteria to a test script.
Via the presentation of Integration Testing you obtain knowledge about wrapping with Cantata++, comparing wrapping and stubbing, wrapping for integration testing and adding Decision Coverage criteria to a test script.
In Call Sequence Testing we look into the uses of call sequence verification with Cantata++. We also learn Advanced Coverage Analysis where we are talking about Stand-alone Coverage Analysis with Cantata++ and combining coverage results:
- Applying coverage analysis to tests not driven by Cantata++.
- Analysing coverage results with Cantata++ Studio.
- Combining coverage results over multiple test runs.
- Analysing combined coverage results with Cantata++ Studio.
Participants This course is designed to suit users of Cantata++ for C++.
Previous knowledge You should have basic knowledge of C++ programming.
Exercises / Tools You will work with several practical examples during the training. We are setting up a test project environment and isolation testing a C++ List class.
We are achieving Entry-Point coverage criteria, adding White Box tests and there adding Statement coverage analysis to the List class test.
Also, we adding Decision Coverage to the List class test and simulating hardware errors, adding call sequence verification and learn how to combine coverage analysis. |