test fixture (disambiguation)
Unfortunately, several different communities have chosen the term test fixture to mean slightly different things. This wouldn't be so bad if they were radically different things because then we could tell from the usage context. But because the terms are closely related, the meanings can be confused.
In generic 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. Think of it as the preconditions of the test. Or, as the "before" picture of the SUT and it's context. See: test fixture (in xUnit).
In NUnit and VbUnit, test fixture is what we call the Testcase Class. See: test fixture (in NUnit).
In Fit, test fixture is what we call the adapter that interprets the Fit table and invokes methods on the system under test (SUT) thereby implementing a Data-Driven Test. See: fixture (Fit).
Copyright © 2003-2008 Gerard Meszaros all rights reserved