test fixture (in xUnit)
In xUnit, a test fixture is all the things we need to have in place in order to run a test and expect a particular outcome. Some people call this the test context. Some variants of xUnit keep the concept of the test context separate from the Testcase Class that creates it; JUnit and its direct ports fall into this camp. Setting up the test fixture is the first phase of the Four-Phase Test. For meanings of the term test fixture in other contexts, please see test fixture (disambiguation).
Copyright © 2003-2008 Gerard Meszaros all rights reserved