-
Notifications
You must be signed in to change notification settings - Fork 683
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
print controls, then tests; print header of describe, then individual test results #946
Conversation
e173c55
to
3c0c201
Compare
c41f246
to
e13c3c5
Compare
hmmm. wondering if the describe block should have the same kind of summary line as in the control. so it would say Users vjeffrey (1 failed) and then have the test cases below and tabbed in just as it is now. it would make it more clear.....and it would fit with what we do for controls. i might try to throw up another commit to see what that looks like |
Desired output: RSpec'y reporting
We want what users already know from RSpec in the output:
Mixing Controls and describe'sGiven a file with:
we want the default output to be:
|
@@ -344,43 +347,67 @@ def format_lines(lines, indentation) | |||
lines.gsub(/\n/, "\n" + indentation) | |||
end | |||
|
|||
def print_fails_and_skips(all, color) | |||
def print_fails_and_skips(all, _color) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no reason to take in color anymore, i'm not using it, i should remove it. also, the name of this should change, since we're printing fails skips and passes
@vjeffrey This looks great!! Could you add integration tests? afaics: describe-only, controls should be covered, and the mixed output. See |
my tests are being annoying. i'll fix them in a bit |
5a32455
to
bd26b65
Compare
oh shoot there's a couple tests that seem to be failing due to my change. not sure why though....i'll look. so the tests that are failing here for me are failing for me on master too. hmmmm |
bd26b65
to
192e95a
Compare
192e95a
to
e6f16ac
Compare
e6f16ac
to
5cf3a54
Compare
5cf3a54
to
1e45bb3
Compare
1e45bb3
to
2825c0e
Compare
|
3ba5c4b
to
d6ee153
Compare
@arlimus @chris-rock does this look right??
fixes #918
just pushed a commit to attempt to fix part of #899
![899](https://cloud.githubusercontent.com/assets/10341541/17839861/a0e13332-67c3-11e6-9135-eddd8f99603c.png)
i marked this as a wip just because i want to make sure that i have the right idea of what this should look like :) please let me know!! (also, I don't have any tests on them yet)