JUnit integration performance in build 804

In build 804 JUnit integration works much faster then 802. 2500 empty tests take about 10s overhead, including JVM start (P4-2.6GHz). It seem it should become much more usable (certainly farther tuning is posible).

--
Best regards,
Dmitry Peshehonov
JetBrains, Inc, http://www.intellij.com

4 comments

That's good news. I would really like to be using the eap. If it had the
ability to use the text runner I would. But the 10s overhead is still 5s
over the total for running our entire real test suite. Ah well, I give
it a shot again anyway.

Dmitry Peshehonov wrote:

In build 804 JUnit integration works much faster then 802. 2500 empty tests take about 10s overhead, including JVM start (P4-2.6GHz). It seem it should become much more usable (certainly farther tuning is posible).

--
Best regards,
Dmitry Peshehonov
JetBrains, Inc, http://www.intellij.com


0

Barry,

> I would really like to be using the eap. If it had the
> ability to use the text runner I would.

Why don't you launch a TextRunner in a main()?

Alain Ravet

0


Alain Ravet wrote:

Why don't you launch a TextRunner in a main()?


Yes, I could do that. But I also want the ability to use the menu's to
run/debug individual tests (especially the debugging). Maybe the
built-in runner won't be so slow for the single tests. I'll have to give
a try again.

0

Barry

> .. I also want the ability to use the menu's to
> run/debug individual tests (especially the debugging).

I'm not sure this is what you need but..
if you map to keymap.Other.Run,
you'll be able to create run/debug profiles, and run single tests/suites
in one keypress.

- If the caret is in a test Method, IDEA will create the necessary
run/debug profile to execute this single test method.

- If the caret is in a TestCase, but not in a method, the profile to
execute all the class test will be automatically created if necessary.

Alain Ravet

0

Please sign in to leave a comment.