Created
July 5, 2011 02:55
-
-
Save alindeman/1064183 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Run with: | |
| # rspec --color -d spec --format CustomFormatter --require ./spec/support/custom_formatter.rb | |
| require "rspec/core/formatters/documentation_formatter" | |
| class CustomFormatter < RSpec::Core::Formatters::DocumentationFormatter | |
| def example_group_started(example_group) | |
| output.puts example_group.file_path if @group_level == 0 | |
| super(example_group) | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment