[TIP] django fixtures
kumar.mcmillan at gmail.com
Wed Mar 7 09:48:35 PST 2007
On 3/7/07, Titus Brown <titus at caltech.edu> wrote:
> -> http://en.wikipedia.org/wiki/Test_fixture
> -> "Test fixture refers to the fixed state used as a baseline for running
> -> tests in software testing. The purpose of a test fixture is to ensure
> -> that there is a well known and fixed environment in which tests are
> -> run, so that results are repeatable. It's a fancy term for 'sample
> -> data'.
> Hmm, in connection with unit tests it's usually the setUp and tearDown
> methods, no?
Yes, but I would say it's not the setUp/tearDown methods themselves
but it's the "thing" or "things" that are setup and torndown. Unless
that's what you meant.
More information about the testing-in-python