Skip to content

[Question] How to pass own plugin via CucumberPlugin.plugin #35

@el-dom

Description

@el-dom

I have an own implementation of the gherkin.formatter.Reporter trait which needs to be passed in as a --plugin option.
While it should be possible using the testrunner like this

testOptions in Test += Tests.Argument(framework,"--plugin","acceptanceTests.CucumberReporter")

i struggle to achieve the same using the sbt plugin. Since the Plugin trait is sealed, it cannot be extended and the available Plugin case classes cannot be used for this.
Am i missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions