Hi, 

Actually, we have mixed JUnit Testcases in our modules - some of them can 
be run "standalone" with no database connection or any other environment, 
others need environment.

I now want to separate those tests into different categories, but I donĀ“t 
want to 
- manually create a DatabaseTestSuite where I need to add all 
database-testcases
- create a new Maven Module to separate the testcases

Can I use JUnit 4.x with its annotations like @RunWith @Ignore and so on 
to do so ?

For example the "simple testcases" should be bound to the "test" phase, 
the "database-testcases" should be bound to the "integration-test" phase.

Any ideas, links, cookbooks?

Thanx, Torsten

Reply via email to