An CPM module holding various resources for batch testing OpenGL and Spire based modules.
#include <batch-testing/GlobalTestEnvironment.hpp>
Global test environment derived from gtests's ::testing::Environment
. Sets
up BatchEnvironment
for every one of your tests.
See the unit tests for https://github.com/iauns/cpm-arc-ball for an example on how to use this class.
#include <batch-testing/BatchEnvironment.hpp>
Used to generate a batch rendering context and framebuffer. Has utility functions to write out FBO to a PNG file. See documentation
#include <batch-testing/SpireTestFixture.hpp>
GTest test fixture that initializes Spire. See documentation.