Код: Выделить всё
mvn clean test-compile org.pitest:pitest-maven:mutationCoverage -DtargetClasses="some.source.File" -DtargetTests="some.source.FileTest"
Код: Выделить всё
09:56:40 PIT >> WARNING : TestNG is on the classpath but the pitest TestNG plugin is not installed.
09:56:40 PIT >> INFO : Verbose logging is disabled. If you encounter a problem, please enable it before reporting an issue.
09:56:41 PIT >> INFO : Created 1 mutation test units in pre scan
09:56:41 PIT >> INFO : Sending 1 test classes to minion
09:56:41 PIT >> INFO : Sent tests to minion
09:56:41 PIT >> SEVERE : Pitest could not run any tests. Please check that you have installed the pitest plugin for your testing library (eg JUnit 5, TestNG). If your project uses JUnit 4 the plugin is automatically included, but a recent version of JUnit 4 must be on the classpath.
Код: Выделить всё
org.pitest
pitest-testng-plugin
1.0.0
test
Подробнее здесь: https://stackoverflow.com/questions/793 ... ifying-pom
Мобильная версия