Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Using package names for gluePaths causes steps not to be found #164

Closed
jvans opened this Issue Jan 22, 2012 · 1 comment

Comments

Projects
None yet
2 participants

jvans commented Jan 22, 2012

I inadvertently used a package name in my GluePath when running Main from maven. Doing so has the appearance of Cucumber not being able to find your step definitions. When I switched to package path name, Cucumber was able to find my stepdefs. We should put some checking in Main to detect that something like "ca.coolrunnings" instead of "ca/coolrunnings" was provided in a gluePath and warn the user that this is incorrect.

Owner

aslakhellesoy commented Jan 23, 2012

I think that for Java - it should be valid (or even mandatory) to specify a package name, not a path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment