Skip to content

iauns/cpm-gl-batch-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpm-gl-batch-testing

Build Status

An CPM module holding various resources for batch testing OpenGL and Spire based modules.

Usage

GlobalTestEnvironment

#include <batch-testing/GlobalTestEnvironment.hpp>

Global test environment derived from gtests's ::testing::Environment. Sets up BatchEnvironment for every one of your tests.

Examples

See the unit tests for https://github.com/iauns/cpm-arc-ball for an example on how to use this class.

BatchEnvironment

#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

Spire Test Fixture

#include <batch-testing/SpireTestFixture.hpp>

GTest test fixture that initializes Spire. See documentation.

About

Utilities for batch testing OpenGL rendering code

Resources

License

Stars

Watchers

Forks

Packages

No packages published