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

Cucumber Interference #83

Closed
avandeursen opened this issue May 3, 2016 · 2 comments
Closed

Cucumber Interference #83

avandeursen opened this issue May 3, 2016 · 2 comments

Comments

@avandeursen
Copy link
Member

The Framework's Cucumber features and step definitions are part of the test jar, which is imported in the template. This has the effect that the same step definitions also apply in solutions based on the template, which is counter intuitive.

A solution might be to drop the test jar dependency in the template.

The 'workaround' now is

  1. To use a uniquely named feature folder in the solution
  2. To shadow nl.tudelft.jpacman.cucubmer.StateNavigationSteps by having that same package/class in the solution.
@jwgmeligmeyling
Copy link
Member

Why include the test-jar in the first place? See also this comment: cucumber/cucumber-jvm#999 (comment)

@avandeursen
Copy link
Member Author

Right. The test-jar was there to make some of the (static) methods of the LauncherSmokeTest available, as well as the BasicSquare class (effectively a mock square).

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

Successfully merging a pull request may close this issue.

2 participants