[jboss-user] [JBoss Tools Development] - How to Make Your JUnit Tests Run Faster in Eclipse

Denis Golovin do-not-reply at jboss.com
Tue Apr 6 18:01:12 EDT 2010

Denis Golovin [http://community.jboss.org/people/dgolovin] commented on the document

"How to Make Your JUnit Tests Run Faster in Eclipse"

To view all comments on this document, visit: http://community.jboss.org/docs/DOC-15108#comment-3085


But be aware that it is not good approach to have indexing disabled TestCase with many test* methods in startUp and enabled in tearDown, because those methods will be exectuted before and after each test method. This will not improve performance because as soon as you enable it, indexing starts and next method will wait until it is finished. It make sense to use disable/enable java indexing as part of TestSetup wrapper implementation, so it is called once for all tests inside suite.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100406/3355f20d/attachment.html 

More information about the jboss-user mailing list