Skip to content
This repository was archived by the owner on Jul 17, 2020. It is now read-only.
This repository was archived by the owner on Jul 17, 2020. It is now read-only.

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

Description

@aukevanleeuwen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions