I'd like to run a specific test routine called T20
which is in the class UploadTest
which is part of the test suite TestSuite
(Junit4).
There is a @BeforeClass in my test suite that I need to run before running T20
.
Is it possible to do this with maven and Junit 4 ? If not, is there any other test framework that allows it ?
I tried :
mvn test -DtestSuite=TestSuite -Dtest=UploadTest#T20
but it did not work.