 |
 |
|
Rajinder Yadav - Windows C++ Development Tools & Resources :Design, Code, Test, Deploy |
// Source: IUnitTestRunner.h
// Author: Rajinder Yadav
// Date: June 30, 2004
//
// Copyright (c) Rajinder Yadav 2004, 2007
//
// web: http://devmentor.org
// email: rajinder@devmentor.org
//
#ifndef _IUnitTestRunner_h_
#define _IUnitTestRunner_h_
// unit test interface
// all test case classes are required to implement this interface
// called by UnitTestAssembly during each unit test case run
//
struct IUnitTestRunner
{
virtual void Setup() = 0; // called before each unit test starts
virtual void CleanUp() = 0; // called after each unit test has completed
virtual void RunTest() = 0; // perform ALL the unit tests here, called ONCE for each unit test class
};
#endif // _IUnitTestRunner_h_
Back
Copyright © 2007 Rajinder Yadav, All rights reserved