http://www.bluej.org/tutorial/testing-tutorial.pdf
A test fixture is a prepared set of objects used as a starting point for tests.
.........
We could start every individual test by creating the necessary objects and putting them into an appropriate state for doing our test. But as tests get more sophisticated, this can become tedious, and we can use a better mechanism to avoid this overhead.
We can create a state on the object bench (a set of objects, each in a certain state) which we want to use as a starting point for all tests in a specific test class. This starting set of objects is called fixture.
........
'Papers > Unit Testing' 카테고리의 다른 글
Efficient Unit Test Case Minimization (0) | 2008.08.02 |
---|---|
Automated Unit Testing of Embedded ARM Applications (0) | 2008.02.09 |
The reasons why testing by developers is very important (0) | 2007.12.07 |
How Unit Tests Help Developers (0) | 2007.06.16 |
Why Bother to Unit Test? Executive Summary (0) | 2007.06.16 |