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 > require the interop archives when those files are not present. > > For this to work I'd need to have a way to know the mvn profile was > active while running the JUnit test. Hmm, a system property could work.
Yes, sorry, realised after posting that I'd left that bit out... > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org