-
Notifications
You must be signed in to change notification settings - Fork 243
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
Better make test-e2e output #283
Comments
For this, I would like to output those commands only if there was an error. Please don't make verbose output if tests are passing, It is really hard to find something if logs are polluted with useless lines. |
Pushed a minor fix here: #286 |
Hey @ashetty1 what's the status on this? I recently received a failure here: https://travis-ci.org/redhat-developer/ocdev/jobs/362277540#L584 but there was still no error or stdout, I don't see anything unfortunately that could help debug error outputs. |
Output: Running Suite: ocdev test suite [12/1980]
===============================
Random Seed: 1522867639
Will run 9 of 9 specs
New project created and now using project : ocdev-1522867639
ocdev-1522867639
•Creating application: usecase5
Switched to application: usecase5
usecase5
•ocdev-1522867639
•Creating application: usecase5-2
Switched to application: usecase5-2
usecase5-2
Switched to application: usecase5
usecase5
•exit status 1:
FAIL github.com/redhat-developer/ocdev/tests/e2e 8.123s
Makefile:72: recipe for target 'test-e2e' failed
make: *** [test-e2e] Error 1
|
I did a quick look through http://onsi.github.io/ginkgo/#organizing-specs-with-containers-describe-and-context and there's some functions related to logging that may help. |
@cdrage, Taking this up on priority:
|
@cdrage I will try and see if I can improve the output of |
This is something that might be helpful @ashetty1 https://onsi.github.io/ginkgo/#marking-specs-as-failed |
More information would be helpful determining what exact command didn't work:
Perhaps outputting what runCmd is into the logs and adding more spacing between the log outputs too?
https://github.com/redhat-developer/ocdev/blob/master/tests/e2e/e2e_test.go#L151
ping @ashetty1
The text was updated successfully, but these errors were encountered: