karate icon indicating copy to clipboard operation
karate copied to clipboard

JavaApiTest.testCallingFeatureFromJava failed

Open igilbert opened this issue 1 year ago • 1 comments

how to reproduce: mvn test

[INFO] Results: [INFO] [ERROR] Errors: [ERROR] JavaApiTest.testCallingFeatureFromJava:29 NullPointer Cannot invoke "java.util... [INFO] [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

the project files: bug-report.zip

PS: I think it should be reproduced by directly running the "demo.java.JavaApiTest#testCallingFeatureFromJava" in the develop branch.

igilbert avatar Aug 22 '22 04:08 igilbert

tagging as help wanted. the CI does not run features with an @ignore tag, and JUnit tests in only some folders are run: https://github.com/karatelabs/karate/blob/v1.2.1.RC1/karate-demo/pom.xml#L129

behavior of runFeature() which is not a recommended API changed because of fix done here: https://github.com/karatelabs/karate/issues/1797

not a priority. you are welcome to dig into the code and help us fix this @igilbert ;)

ptrthomas avatar Aug 22 '22 04:08 ptrthomas

closing as wontfix because of reasons given

ptrthomas avatar Oct 31 '22 06:10 ptrthomas