Ух ёпт. У тебя эти таги не указаны!Запиши: <tags>@runTest</tags><configuration><!-- Mandatory --><!-- comma separated list of package names to scan for glue code --><glue>ru.StepDefinitions</glue><!-- These are the default values --><!-- Where to output the generated Junit tests --><outputDirectory>${project.build.directory}/generated-test-sources/cucumber</outputDirectory><!-- The diectory containing your feature files. --><featuresDirectory>src/test/Resorses/Features/</featuresDirectory><!-- Directory where the cucumber report files shall be written --><cucumberOutputDir>target/cucumber-parallel</cucumberOutputDir><!-- comma separated list of output formats --><format>html</format><!-- CucumberOptions.strict property --><strict>true</strict><!-- CucumberOptions.monochrome property --><monochrome>true</monochrome><!-- The tags to run, maps to CucumberOptions.tags property --><tags></tags><!-- If set to true, only feature files containing the requiredtags shall be generated. --><!-- Excluded tags (~@notMe) are ignored. --><filterFeaturesByTags>true</filterFeaturesByTags></configuration>
В секцию добавил <tags>"@runTest"</tags>Вот такая ошибка у меня возникла, которую я победить не смог ((ошибка была и ранее, когда настраивал по вашему сценариюD:\git\AQC\test>mvn clean test[INFO] Scanning for projects...[WARNING][WARNING] Some problems were encountered while building the effective model for ru:rts-tender:jar:1.0-SNAPSHOT[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-surefire-plugin @ line 104, column 21[WARNING][WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.[WARNING][WARNING] For this reason, future Maven versions might no longer support building such malformed projects.[WARNING][INFO][INFO] ------------------------------------------------------------------------[INFO] Building rts-tender 1.0-SNAPSHOT[INFO] ------------------------------------------------------------------------[INFO][INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ rts-tender ---[INFO] Deleting D:\git\AQC\test\target[INFO][INFO] --- cucumber-jvm-parallel-plugin:1.3.0:generateRunners (generateRunners) @ rts-tender ---[INFO] Adding D:\git\AQC\test\target\generated-test-sources\cucumber to test-compile source root[INFO][INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ rts-tender ---[INFO] Using 'UTF-8' encoding to copy filtered resources.[INFO] skip non existing resourceDirectory D:\git\AQC\test\src\main\resources[INFO][INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ rts-tender ---[INFO] Changes detected - recompiling the module![INFO] Compiling 111 source files to D:\git\AQC\test\target\classes[INFO] /D:/git/AQC/test/src/main/java/Helpers/UserProfiles/SupplierLegalEntityProfile.java: Some input files use unchecked or unsafe operations.[INFO] /D:/git/AQC/test/src/main/java/Helpers/UserProfiles/SupplierLegalEntityProfile.java: Recompile with -Xlint:unchecked for details.[INFO][INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ rts-tender ---[INFO] Using 'UTF-8' encoding to copy filtered resources.[INFO] skip non existing resourceDirectory D:\git\AQC\test\src\test\resources[INFO][INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ rts-tender ---[INFO] Changes detected - recompiling the module![INFO] Compiling 11 source files to D:\git\AQC\test\target\test-classes[INFO][INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ rts-tender ----------------------------------------------------------T E S T S-------------------------------------------------------None of the features at [classpath:Features/AccreditationEntrepreneur.feature] matched the filters: [@runTest]None of the features at [classpath:Features/FullAuction.feature] matched the filters: [@runTest]0 Scenarios0 Steps0m0,000s0 Scenarios0 Steps0m0,000sResults :Tests run: 0, Failures: 0, Errors: 0, Skipped: 0[INFO] ------------------------------------------------------------------------[INFO] BUILD SUCCESS[INFO] ------------------------------------------------------------------------[INFO] Total time: 3.258 s[INFO] Finished at: 2016-07-07T18:14:18+03:00[INFO] Final Memory: 26M/311M[INFO] ------------------------------------------------------------------------
было такое. Проблема решилась перемещением файлов фичей в первую после resources папку (не далее). и переименуй всё в lowercase. Плагин капризный! :)
\src\test\resources\cucumber\TestCase.feature
привет, спасибо огромное помогло ))