Java Mailing List Archive

http://www.gg3721.com/

Home » user.jmock »

Re: [jmock-user] Re: Peculiar expectation error

Nat Pryce

2009-12-03

Replies: Find Java Web Hosting

Author LoginPost Reply
2009/11/30 Sam <mail@(protected)>:
> We're using TestNG here...
>
> ...my understanding is that if I have N tests in a class, each test should
> receive its own context object.

Not in TestNG. In TestNG, all tests of the same class run in the same
instance of that class and the onus is on you to make sure the tests
don't interfere with one another.

--Nat

--
http://www.natpryce.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


©2008 gg3721.com - Jax Systems, LLC, U.S.A.