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
When running from Maven, without a step definition, I correctly get the message that steps have not been created, and the examples are shown. When I plug these in as suggested and run them again, the tests pass (they do not throw the PendingException in the step def template).
Running with JUnit support (through IntelliJ), I get an "cucumber.runtime.CucumberException: Arity mismatch", because the first argument is assumed to be "self".
When I add self as the first arguement of the step definition, both methods of running the feature files correctly throw the PendingException.
Perhaps I can take a look at this - do we want Jython step defs to always have the "self" arguement, and update the generator? Or should we not require "self"?
The text was updated successfully, but these errors were encountered:
When running from Maven, without a step definition, I correctly get the message that steps have not been created, and the examples are shown. When I plug these in as suggested and run them again, the tests pass (they do not throw the PendingException in the step def template).
Running with JUnit support (through IntelliJ), I get an "cucumber.runtime.CucumberException: Arity mismatch", because the first argument is assumed to be "self".
When I add self as the first arguement of the step definition, both methods of running the feature files correctly throw the PendingException.
Perhaps I can take a look at this - do we want Jython step defs to always have the "self" arguement, and update the generator? Or should we not require "self"?
The text was updated successfully, but these errors were encountered: