The UnitTest interface is a marker interface which is used to identify our unit tests. How does the unittest interface work in Maven? “foo/MyTest.java”, “**/MyTest.java”, “MyTest” for “test” parameter (see includes/excludes). And you may use multiple names/patterns, separated by commas: mvn -Dtest=TestSquare,TestCi*le test. You may also use patterns to run a number of tests: mvn -Dtest=TestCi*le test. How to run multiple tests in Maven plugin? 11 How to skip all tests in Maven surefire?. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |