Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
ewangtns opened this issue May 1, 2024 · 1 comment
Open
1 task done
Labels
type:bug Something isn't working

Comments

@ewangtns
Copy link

ewangtns commented May 1, 2024

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

  • I agree to follow this project's Code of Conduct
@ewangtns ewangtns added triage type:bug Something isn't working labels May 1, 2024
@baev baev removed the triage label May 8, 2024
@baev baev transferred this issue from allure-framework/allure2 May 8, 2024
@baev
Copy link
Member

baev commented May 8, 2024

Could you please provide a sample project (GitHub repo) to reproduce the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants