We are using JUnit - Selenium for our web tests. We use Maven to start them and build a surefire report.
The test suite is pretty large and takes a while to run and sometimes single tests fail because the browser won't start. I want to be able run a SINGLE test using maven so I retest the tests that fail and update the report.
I can use mvn test -Dtest=TESTCLASSNAME
to run all the tests in one test class, but this is not good enough since it takes about 10 minutes to run all the tests in our most complicated test classes and it's very likely that some other test will fail (because the browser wont start) and this will mess up my report.
I know I can run one test from Eclipse but that is not what I am looking for.
Any help on this would be very appriciated