You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
Hi,
Sorry for the delay, I can make some changes. A bit frustraing is that there are a few changes in the pipeline, but I've been waiting for a Cucumber/Scala 2.12 issues to be resolved, but that has been outstanding for a while now. I'll try to take a look when I can.
Regards,
Mike
Take your time, i worked around it by setting up an own main class CucumberPlugin.mainClass := "acceptanceTests.CucumberRunner" and attaching the plugin arg there
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
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?
The text was updated successfully, but these errors were encountered: