У меня есть проект Cucumber Suite, который работает на вершине Junit. Я обновил версию от Junit 4 до 5, а Cucumber от 4 до 7 оба - зависимости от BOM. В JUNIT-4 я использовал огурцы-JVM-параллель-плугин-5, который помогал мне провести дела параллельно, так как JUNIT 5 поддерживает параллельные выполнения, которые я обновил набор. Я достиг параллельных выполнений. Get < /p>
Тесты.
org.junit
junit-bom
${junit.jupiter.version}
pom
import
io.cucumber
cucumber-bom
${cucumber.version}
pom
import
< /code>
io.cucumber
cucumber-java
test
io.cucumber
cucumber-junit-platform-engine
test
org.junit.platform
junit-platform-suite
test
org.junit.vintage
junit-vintage-engine
test
org.junit.jupiter
junit-jupiter-engine
test
< /code>
I have two Runner files RunCucumberTest is for running Dry which will run in surefire:test phase and RunCucumberIT will run in failsafe:verify phase
I tried all methods and plugin for building the project but none of them worked
The cmd I use to run the suite is mvn clean verify "-Dcucumber.filter.tags=@one"
Please Let me know if any details need to be attached.
Thanks in advance.
Подробнее здесь: https://stackoverflow.com/questions/795 ... s-expected