Examples

Quick Start

A “Hello World” style example including integration into a cmake project.

Fixtures

An example showing usage of test fixtures in the OTest2 framework.

Test Sections

An example showing usage of test sections in the OTest2 framework.

Exception Handling

A special try/catch block checking whether an exception actually happens. Handling of unexpected exceptions fired from a test case.

Regression Test Marks

Storing and checking of marks representing complex state or output of a piece of software.

Custom Main Loop

Integration of the framework with a custom main event loop.

User Data

Passing of the environment context into tests.

Fixture Objects

Objects which are part of the fixture initialization.

Repeaters

Repeated run of suites or test cases

Tagging of Testing Objects

Tagging of test cases or suites and filtering of objects by set tags.