Skip to content

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

@ewangtns

Description

@ewangtns

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions