TestContext Class Reference

#include <Pt/Unit/TestContext.h>

Context in which test are run.

Public Member Functions

 TestContext (TestFixture &fixture, Test &test)
 Construct from fixture and test to run.
 
virtual ~TestContext ()
 Destructor.
 
void run ()
 Runs the test.
 
const std::string & testName () const
 Returns the name of the test.