-
Notifications
You must be signed in to change notification settings - Fork 9
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Error:Classes annotated with @RunWith(Cucumber.class) must not define any methods. #1
Comments
fixed |
Not at all, you didn't get me. You should extract all the methods from the test class annotated with '@RunWith(Cucumber.class) into a separate class to define the steps . Just try to run
from the root of your project and you will see it your self:
|
All methods are now moved to ATMScenrio, that should be sufficient
|
It's up to you, try to run Maven as mvn test and you will see the failure your self. |
Hey, done :-) "mvn test" works fine on the current master. May be you need to Kind Regards Andreas On Tue, Nov 22, 2011 at 4:43 PM, Serguei Cambour <
|
Greate, it works, thansk you. |
I think you should declare steps in separate classes and not in the same one where you declare a feature.
The text was updated successfully, but these errors were encountered: