Skip to content
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

Feature request: Output formatting option to indicate success/failure of test spec #21

Open
juliemr opened this issue Jun 30, 2014 · 1 comment

Comments

@juliemr
Copy link
Owner

juliemr commented Jun 30, 2014

Copied from angular/protractor#1001

I want to use the output text and copy/paste the output straight into a code review comments if there are errors, but color/coding doesn't show up in that case and the Failure information is not connected to the summary section.

So the feature request is to add an option which can help make output more readable (IMHO) by putting results in text in the summary section.

jasmineNodeOpts.showErrorsOnSpec=1
"Something describing my suite
user should be able to use this option - FAILED"
user can have a taco - SUCCESS"

And a more verbose inline option
jasmineNodeOpts.showErrorsOnSpec=2
"Something describing my suite
user should be able to use this option - FAILED
Message:
Expected 0 to be greater than 0.
Stacktrace:
Error: Failed expectation
at null. (/Volumes/opt/src/dio/distillerizer/test/e2e/login-attempts.js:35:26)
user can have a taco - PASSED"

@juliemr
Copy link
Owner Author

juliemr commented Jul 1, 2014

This is released for the jasmine1 branch in v1.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant