-
Notifications
You must be signed in to change notification settings - Fork 10
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
All Steps Pending (0.9.229) #6
Comments
If you want to get help with your issue. Please provide the logs of test execution.— On Wed, Jan 29, 2014 at 4:30 PM, jagobond [email protected]
|
I have the same problem, seems that after release 0.9.125 the classpath ignores classes with @step in my case. The weird thing is that only occurs when Jenkins checkout the code and run the tests |
Ok, found the problem. The project had a space and that's converted to %20 when using the URLClassloader. Rename the project to avoid whitespace fixed the problem. But of course this is a workaround, in fact the plugin should use something like URLDecoder.decode(url.getPath(), "UTF-8") |
I have the same problem. When the classspath contains spaces, the steps are not found (all steps are marked as PENDING). |
I've been running into an issue trying to set up Thucydides with Jbehave for the last couple of days, using version 0.9.229 of each.
The problem: no matter what I do, when I run my tests, each and every step comes back as "PENDING". This happens whether I'm running my own project, running a testRunner in this git, or even just executing a "mvn test thucydides:aggregate" on the basic maven archetype.
After some debugging, I expect the problem lies in the JUnitDescriptionGenerator.java class, particularly in the addNonExistingStep() method:
I traced my tests through this method, and my stepTypes were being instantiated correctly (Given, When, etc.), but because of the "else" statement, they're all being marked as pending.
The text was updated successfully, but these errors were encountered: