Skip to content
This repository has been archived by the owner. It is now read-only.

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

Closed
aukevanleeuwen opened this issue Dec 20, 2017 · 3 comments
Closed

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

aukevanleeuwen opened this issue Dec 20, 2017 · 3 comments

Comments

@aukevanleeuwen
Copy link

@aukevanleeuwen aukevanleeuwen commented Dec 20, 2017

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 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 `But` keyword does not show up in report. 'But' keyword does not show up in report. Dec 20, 2017
@karthikbhatnagar
Copy link

@karthikbhatnagar karthikbhatnagar commented Dec 20, 2017

@anshooarora
Copy link
Owner

@anshooarora anshooarora commented Dec 27, 2017

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

@aukevanleeuwen
Copy link
Author

@aukevanleeuwen 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants