org.progeeks.junit
Interface TestFixture

All Known Implementing Classes:
DefaultTestFixture

public interface TestFixture

Interface that defines a test fixture that can be used to initialize a test context before a test is run and then clean the context up after the test has run.

Version:
$Revision: 1.1 $
Author:
Paul Wisneskey

Method Summary
 void setUp(TestContext context)
          Set up the test context for a run of a test.
 void tearDown(TestContext context)
          Clean up the test context after a test run.
 

Method Detail

setUp

void setUp(TestContext context)
           throws java.lang.Exception
Set up the test context for a run of a test.

Parameters:
context - Test context to initialize.
Throws:
java.lang.Exception

tearDown

void tearDown(TestContext context)
              throws java.lang.Exception
Clean up the test context after a test run.

Parameters:
context - Test context to clean up.
Throws:
java.lang.Exception


Copyright © 2002-2003 Paul Speed. All Rights Reserved.