๐: java junit4 selective test run is not working
cheshi-mantu opened this issue ยท 2 comments
cheshi-mantu commented
What happened?
Steps
- Open https://allurereport.org/start/
- Generate project for Java 17, JUnit4, maven
- open poject
- update allure libs version to 2.26.0
- run tests once as
mvn clean test
- create testplan.json based on created test cases data (I used
allurectl job-run plan
) - delete all tests except one from testplan.json
- exec
export ALLURE_TESTPLAN_PATH=testplan.json
- run
mvn clean test
ormvnw clean test
AR
all tests in the project are executed
ER
only tests mentioned in testplan.json are executed
Project files
project generated via https://allurereport.org/start/
What Allure Integration are you using?
allure-junit4
What version of Allure Integration you are using?
2.26.0
What version of Allure Report you are using?
using allure testops
Realtes to
Code of Conduct
- I agree to follow this project's Code of Conduct
baev commented
Allure start isn't yet updated. You need to include allure-junit4-aspect
dependency for test plans to work
cheshi-mantu commented
did the trick.
cheers