Search the web
Sign In
New User? Sign Up
junitperf
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Question about creating a fixture for JUnitPerf   Message List  
Reply | Forward Message #66 of 94 |
Re: [junitperf] Question about creating a fixture for JUnitPerf


On Nov 16, 2004, at 10:04 AM, Mike Foley wrote:

> Hi,
>
> I have some JUnit/Cactus tests that I am converting to JUnitPerf
> timed and load tests. The JUnit test deploys and undeploys in setUp
> () and tearDown(). For the JUnitPerf tests I only want setUp() to
> occur for the first user first iteration....and for tearDown() I
> only want to undeploy for last user last iteration. How best to
> accomplish this?

You could wrap all of the JUnitPerf tests in a TestSetup fixture:

http://junit.sourceforge.net/doc/faq/faq.htm#organize_3

Hope that helps.

Mike




Wed Nov 17, 2004 11:56 pm

clarkware
Offline Offline
Send Email Send Email

Forward
Message #66 of 94 |
Expand Messages Author Sort by Date

Hi, I have some JUnit/Cactus tests that I am converting to JUnitPerf timed and load tests. The JUnit test deploys and undeploys in setUp () and tearDown()....
Mike Foley
mike_foley_0...
Offline Send Email
Nov 16, 2004
5:05 pm

... You could wrap all of the JUnitPerf tests in a TestSetup fixture: http://junit.sourceforge.net/doc/faq/faq.htm#organize_3 Hope that helps. Mike...
Mike Clark
clarkware
Offline Send Email
Nov 17, 2004
11:56 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help