RSpec-style documentation output - fewer changes#1670
Conversation
|
thanks @woodie - i think i see you’ve got two PRs going? Let me know when the dust settles and you’d like me to take a look. |
Both PRs are almost identical with slight changes to I've renamed the PRs. I like the 2nd approach as only so many things can be bolted on without creating a mess. |
|
OK, I like this PR @onsi. I did post a couple questions in the Issue. The dust has settled for me. |
|
Hey @onsi, are we ready to merge this? |
|
hey sorry - i'd missed your earlier reply on the issue. I think this will work great if the user simply runs Alternatively, if you've tried it with |
The goal is better integration without bolting on. The issue is here.
You can opt into documentation format output with ginkgo -fd. This emits a hierarchical tree of spec descriptions, with each spec's name colored green for passing, red for failing, yellow for pending, and cyan for skipped, along with a summary of failures at the end of the suite. This mode will be familiar to Rspec users and has more concise output for very large test suites.
This attempts to integrate with minimal changes and should work better with future refactoring.