allure2 icon indicating copy to clipboard operation
allure2 copied to clipboard

Test Running Halted When There are Test Cases Failed in the Karate Framework

Open ewangtns opened this issue 1 year ago • 0 comments

Describe the Bug

I used the Allure-Karate and Allure-Maven to build my karate project and to generate allure report.

When I run "mvn clean test" in my local, it will run well and generate the allure report if there are no test cases failed. But if I have failed test cases in my test suites, it will keep running forever and won't terminate.

Steps to Reproduce

  1. Add plugins Allure-Karate and Allure-Maven in the pom file.
  2. mvn test -Dkarate.options="classpath:path/to/your/feature.feature" - run a specific feature file
  3. If there is a failed test case in the feature file, it will halt (keep running forever) and won't finish running.

Expected Behaviour

Although we have failed test cases in the test suite, we still can finish running and generate the allure report.

Screenshots or Additional Context

No response

What Language are you using?

Java

What Framework/Allure Integration you are using?

allure-karate

What version of Allure Integration you are using?

2.27.0

What version of Allure Report you are using?

2.14.0

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

ewangtns avatar May 01 '24 00:05 ewangtns