Skip to content
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

Allow specification for multiple paths for Cucumber.glue setting #34

Open
nguyenuy opened this issue May 8, 2017 · 3 comments
Open
Labels

Comments

@nguyenuy
Copy link

nguyenuy commented May 8, 2017

As of now, we can only specify one path for the glue setting.

I'd like to provide a set of base classes for cucumber tests and another user running their own tests can use their own step definitions in addition to mine.

@lewismj lewismj added the ready label Oct 22, 2017
@lewismj
Copy link
Owner

lewismj commented Oct 22, 2017

I've had a few issues, firstly waiting for Cucumber version that was Scala 2.12 compatible. I've got an SBT 1.0 plugin out of the way, that allows overriding/setting environment variables, together with a quick house-clean of the code.
I can't see why this wouldn't be easy to add, apologies for delays (busy with work/moving etc.) Will try to look into this shortly.

@lewismj
Copy link
Owner

lewismj commented Oct 22, 2017

I guess this is for the plugin? The runner allows you to spec in the build.sbt file:
testOptions in Test += Tests.Argument(framework,"--glue","")

@lewismj
Copy link
Owner

lewismj commented Oct 26, 2017

Have you tried setting your unmanaged class path, e.g.

unmanagedClasspath in Test += baseDirectory.value / "src/test/features"

This should work in the runner framework.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants