JUnit from Eclipse:  If you use the "Run ..." menu and chose a JUnit
launch configuration, you can see on the first tab a way to say "all
tests in project".

Those times and numbers are about what I get on my laptop.

On 10/16/05, Geoff Longman <[EMAIL PROTECTED]> wrote:
> Correction, If I launch each test class and then minimize Eclipse I see this:
>
> AllTests
>
> Runs: 1463/1463 Errors: 0 : Failures: 0 Time: 118.641  [was 132.906] seconds
>
> All but TestMocks:
>
> Runs: 1423/1423 Errors: 0 : Failures: 0 Time: 17.031 [was 26] seconds
>
> Only TestMocks:
>
>  Runs: 40/40 Errors: 0 : Failures: 0 Time: 115.328 [was 116.453] seconds.
>
> So at the very least, save the long tests for the bathroom breaks and
> minimize eclipse!
>
> Geoff
>
> On 10/16/05, Geoff Longman <[EMAIL PROTECTED]> wrote:
> > On 6/21/05, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> >
> > > Integration testing is always going to be slower, especially because
> > > we now pay the HiveMind startup costs repeatedly.  I run > 1200 unit
> > > tests, most with EasyMock, in about 30 seconds.  Add in the 30-35
> > > integration tests and we're up to five minutes.
> >
> > I couldn't figure out an easy way to run all the tests in eclipse so I
> > whipped up a really simple class using junit-addons.
> >
> > Reading the above, I'm wondering if I'm doing something wrong though.
> >
> > I have a class that grabs every non abstract test class in the project
> > and runs them:
> >
> > Runs: 1463/1463 Errors: 0 : Failures: 0 Time: 132.906 seconds
> >
> > And another that runs all but TestMocks:
> >
> > Runs: 1423/1423 Errors: 0 : Failures: 0 Time: 26 seconds
> >
> > And another that runs only TestMocks:
> >
> > Runs: 40/40 Errors: 0 : Failures: 0 Time: 116.453 seconds
> >
> >
> > Is 1463 is the right total number of tests? I'm looking at 2.21
> > minutes to run them all.
> >
> > And, Howard how are you running the tests in Eclipse? I want to do a
> > comparison to see if it's really the junit addons method or if its
> > just because I have a fast machine here.
> >
> > Geoff
> >
> > --
> > The Spindle guy.           http://spindle.sf.net
> > Get help with Spindle:
> > http://lists.sourceforge.net/mailman/listinfo/spindle-user
> > Announcement Feed:
> > http://www.jroller.com/rss/glongman?catname=/Announcements
> > Feature Updates:            http://spindle.sf.net/updates
> >
>
>
> --
> The Spindle guy.           http://spindle.sf.net
> Get help with Spindle:
> http://lists.sourceforge.net/mailman/listinfo/spindle-user
> Announcement Feed:
> http://www.jroller.com/rss/glongman?catname=/Announcements
> Feature Updates:            http://spindle.sf.net/updates
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to