Re: Performing tasks before a goal

2006-11-09 Thread Paul Barry
That might work, but I think what I'd rather do is just create a one TestSuite that does the setup beforehand, then run the tests. I have noticed that maven seems to run the tests based on a naming convention, *Test.java gets run, but *Tests.java don't. Can I override this somehow? I'd like to

Re: Performing tasks before a goal

2006-11-09 Thread Wendy Smoak
On 11/9/06, Paul Barry [EMAIL PROTECTED] wrote: That might work, but I think what I'd rather do is just create a one TestSuite that does the setup beforehand, then run the tests. Are you using JUnit? It sounds like a TestSetup class would be useful here. I have noticed that maven seems to

Re: Performing tasks before a goal

2006-11-07 Thread Wayne Fay
Assuming you're using Maven2... Have you looked at the complete list of phases? http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html Sounds to me like you might want to use @process-test-resources. Wayne On 11/7/06, Paul Barry [EMAIL PROTECTED] wrote: Is there a way