-
Notifications
You must be signed in to change notification settings - Fork 65
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
Behat broken logs with --list-scenarios #20
Comments
Hi thanks for reporting, |
Sure, I'm out of the city but as soon as I get back (next week) will look
|
I think I may have come across this same issue with JUnit log files, but it has to do more with how the Behat JUnitFormatter generates the log file path in its beforeFeature() method, not necessarily what fastest is doing (other than parallel processing). Essentially, you need to provide a unique directory path to the The exact command I use is this:
The key part here is the So to adapt to your specific command, I might try something like this:
Then in your Jenkins configuration, you could change the JUnit report path to something like |
@wcluijt |
@wcluijt excellent post - @kristijanhusak is this still an issue so I can look into it? |
@liuggio I think this issue can be closed as resolved - we have been running tests this way for a while now and Jenkins seems to work OK with the junit output. |
I haven't tested @wcluijt solution, stayed with the testing by feature. IF @diegosainz says it is working, it can be closed. |
thanks |
Hi,
I am using your behat extension for testing, and later building logs because i'm using Jenkins CI.
Command is this:
Tests pass, but when logs are built they don't have proper content. Examples:
From 76 features, i get this bug for around 30 features, and this breaks my build on Jenkins. When i use
--list-features
everything works fine.Do you know what can be a problem maybe? Thanks.
The text was updated successfully, but these errors were encountered: