Re: Parallel execution of tests for Junit

2010-01-17 Thread Brett Porter
Likewise, you can drop a testng dependency in and have it run your junit 3.8 tests in parallel. I remember testing this very early on in the testng/surefire support. I'd rather we didn't duplicate the parallel execution capabilities that are already present in the various testing libraries. On

Re: Parallel execution of tests for Junit

2010-01-15 Thread Kristian Rosenvold
If you are running java5 or higher, there's a good chance you can just drop in surefire2.5 and junit-4.8.1, without making any code changes at all. Although I haven't tested this specifically, I think it should work. You can read about how to do it here - I'll try to get parts of it into some offi

Re: Parallel execution of tests for Junit

2010-01-15 Thread Colm O'Donnell
Thanks for your prompt response. We are using junit 3.8 unfortunately. We will look at upgrading version but this patch will work with no upgrades to junit. On 1/15/10, Stephen Connolly wrote: > Eh Surefire 2.5 (which is in the process of being released) > supports the parallel execution fea

Re: Parallel execution of tests for Junit

2010-01-15 Thread Stephen Connolly
Eh Surefire 2.5 (which is in the process of being released) supports the parallel execution features of JUnit 4.7+ If that works for you, no patch required -Stephen 2010/1/15 Colm O'Donnell : > Hi, > > I work for a company that have a large number of junit tests. We have > migrated from ant

Parallel execution of tests for Junit

2010-01-15 Thread Colm O'Donnell
Hi, I work for a company that have a large number of junit tests. We have migrated from ant to maven recently but are faced with a serious problem with respect to the time to execute the tests. We used to execute some tests in parallel with ant but it was not great and depended on a lot of manual