This repository has been archived by the owner. It is now read-only.
'But' keyword does not show up in report. #1002
Closed
Comments
But is not a model keyword right now so you can add it by sending pull req. |
@aukevanleeuwen are you picking this feature? If not, I will start working on it. |
@anshooarora sorry I currently don't have time for this yet. I've looked into it a bit. Adding the class is not the issue, but I saw lots of test cases and javadoc that were mentioning the other classes ( |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Summary
But
keyword does not show up in report.Expected Behavior
Steps with
But
keyword should end up in the report.Current Behavior
Using the following formatter plugin for
cucumber-jvm
: https://github.com/sitture/cucumber-jvm-extentreport I don't see the steps using the keywordBut
in the report. It also fails with the following error:Something went wrong while trying to parse the Gherkin keyword for this step: java.lang.ClassNotFoundException: com.aventstack.extentreports.gherkin.model.But
.Although the error is probably from the cucumber-jvm plugin, the model is taken from this repository as far as I can see. It does seem to be lacking.
I've tried to quickly fix this in a PR, but I had a bunch of tests failing. I don't quite understand why but it appears that there are more tests running in my IDE as there are on the commandline. Have a look at the tests that are run with
mvn
, it doesn't include, for example,com.aventstack.extentreports.api.GherkinKeywordTests
.The text was updated successfully, but these errors were encountered: