CppGraph Application Framework©
Copyright © 2004-202x Geoff Goldberg
Testing

Overview

CppGraph©'s testing framework provides a unified approach to testing:

Tests

Tests are contained in test suites which, in turn, are contained in a collection of test suites. A test runs a user-supplied node graph in a graph thread. This graph-based approach allows tests to involve asynchronous, event-driven behavior.

tests_state_machine.png

Test Results

When a test is complete, its results are appended to the test's child array of test results. This scheme allows for a test to be run multiple times with the result of every run being preserved with the test.

Test results include: