[compress] How to deal with long running test? Maven Profile?

2011-08-11 Thread Stefan Bodewig
Hi, currently I've set the Zip64SupportTest to @Ignore because - even if you dont have the integration test archives around - it simply takes too long to run every time. Using the pretty decent notebook $work has given to me the whole test takes 45 minutes of heavy I/O load and the machine is

Re: [compress] How to deal with long running test? Maven Profile?

2011-08-11 Thread sebb
On 11 August 2011 15:44, Stefan Bodewig bode...@apache.org wrote: Hi, currently I've set the Zip64SupportTest to @Ignore because - even if you dont have the integration test archives around - it simply takes too long to run every time. Using the pretty decent notebook $work has given to me

Re: [compress] How to deal with long running test? Maven Profile?

2011-08-11 Thread Mark Struberg
... LieGrue, strub --- On Thu, 8/11/11, Stefan Bodewig bode...@apache.org wrote: From: Stefan Bodewig bode...@apache.org Subject: [compress] How to deal with long running test? Maven Profile? To: dev@commons.apache.org Date: Thursday, August 11, 2011, 2:44 PM Hi, currently I've set

Re: [compress] How to deal with long running test? Maven Profile?

2011-08-11 Thread Stefan Bodewig
On 2011-08-11, Mark Struberg wrote: A common pattern is to introduce an own 'run-its' profile which configures surefire to pickup those tests. How? 8-) Do I put the test into a separate directory and tell surefire inside the profile to look into that other dir? It's just not good to have

Re: [compress] How to deal with long running test? Maven Profile?

2011-08-11 Thread Stefan Bodewig
On 2011-08-11, sebb wrote: Not tried this, but looks to be what you want: http://stackoverflow.com/questions/1689242/conditionally-ignoring-tests-in-junit-4 I know Assume, even use it inside the test to skip all tests that require the interop archives when those files are not present. For

Re: [compress] How to deal with long running test? Maven Profile?

2011-08-11 Thread sebb
On 11 August 2011 16:32, Stefan Bodewig bode...@apache.org wrote: On 2011-08-11, sebb wrote: Not tried this, but looks to be what you want: http://stackoverflow.com/questions/1689242/conditionally-ignoring-tests-in-junit-4 I know Assume, even use it inside the test to skip all tests that

Re: [compress] How to deal with long running test? Maven Profile?

2011-08-11 Thread Mark Struberg
include**/*Test.java/include include**/*IT.java/include /includes LieGrue, strub --- On Thu, 8/11/11, Stefan Bodewig bode...@apache.org wrote: From: Stefan Bodewig bode...@apache.org Subject: Re: [compress] How to deal with long running test? Maven Profile? To: dev

Re: [compress] How to deal with long running test? Maven Profile?

2011-08-11 Thread Stefan Bodewig
On 2011-08-11, Mark Struberg wrote: usually the maven-surefire-plugin will only pickup classes with the pattern *Test.java. You can rename the longrunning Tests to *IT.java and configure the surefireplugin to additionally pickup those test classes only in the run-its profile.