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

'But' keyword does not show up in report. #1002

aukevanleeuwen opened this Issue Dec 20, 2017 · 3 comments


None yet
3 participants

aukevanleeuwen commented Dec 20, 2017


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: I don't see the steps using the keyword But 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.

@aukevanleeuwen aukevanleeuwen changed the title from `But` keyword does not show up in report. to 'But' keyword does not show up in report. Dec 20, 2017


This comment has been minimized.

karthikbhatnagar commented Dec 20, 2017


This comment has been minimized.


anshooarora commented Dec 27, 2017

@aukevanleeuwen are you picking this feature? If not, I will start working on it.


This comment has been minimized.

aukevanleeuwen commented Dec 28, 2017

@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 (And, Given, ...) so that'll take a bit too much time at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment