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).
Copyright © 2003-2008 Gerard Meszaros all rights reserved