RE: saving state between fixtures

"Charlie Poole" <[email protected]> Mon, 18 Aug 2003 09:52:32 -0700
Newsgroups gmane.comp.programming.tools.fit.devel
Message-ID <[email protected]>
John Roth wrote:

> > > A. We need a supported method of saving state
> > > between fixtures in a single test.
> 
> Since I mostly use Python, I just save it in the Fixture class object.
> That's easy enough, but it doesn't work for most other languages.

We could emulate that by giving Fixture a static hashtable to hold
test-specific state.

Another approach would be to use the fixture created by testrunner that 
wraps the other fixtures on a page.

Charlie Poole
[email protected]
www.pooleconsulting.com
www.charliepoole.org