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

New reporter "info" #28

Closed
wants to merge 2 commits into from
Closed

New reporter "info" #28

wants to merge 2 commits into from

Conversation

sbeyer
Copy link
Member

@sbeyer sbeyer commented Apr 9, 2014

We switched from Google Test to Bandit and none of the reporters was "nice" enough. Coming from reporter "spec", a new reporter "info" is more colorful, less indented, and shows some begin/end information for describes which is useful to follow large lists of "it"s. Also skipped tests are not shown.
The output is also good to use for test code that produces output. Here is an uncolored example:

begin foo
  [ PASS ] example test A
  [ PASS ] example test B
  [ TEST ] example test C
output of  example test C
  [ PASS ] example test C
  [ PASS ] example test D
  [ FAIL ] example test E
end foo

PS: I also want to change the summary at the end. But I think a pull request now is also fine.

The info reporter is more colorful, less indented than spec,
shows each "describe" with a begin/end pair (which is useful for
large lists of "it"s).
In contrast to spec it does not show skipped tests.
@joakimkarlsson
Copy link
Collaborator

Closing as #29 contains the same changes.

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

Successfully merging this pull request may close these issues.

None yet

3 participants