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
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
Is there a way to perform a task before a goal executes? Specifically
what I'm looking to do is load data into my test database before all
my tests run. I'm using Spring's
AbstractTransactionalDataSourceSpringContextTests, which rolls back
all changes after each test, so that I don't have to
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