Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

RSpec base formatter #34

Merged
merged 1 commit into from Aug 29, 2011

Conversation

Projects
None yet
2 participants
Contributor

heathkit commented Jun 23, 2011

RSpec 2 allows you to use multiple formatters. I'm wanting to use a custom documentation formatter in my project along with CI reporter. However, the two ci_reporter formatters both delegate to either the documentation formatter or the base text formatter. This means if I make my own documentation formatter, I get the two outputs interleaved.

So I made a CI RSpec formatter that delegates to the base formatter. This will keep it from printing anything and interfering with my custom text formatters.

Though, I think for RSpec 2 at least, it might make sense to have the CI RSpec formatter not delegate at all, since the end user can use whatever other formatters as they want.

Owner

nicksieger commented Aug 29, 2011

Thanks!

@nicksieger nicksieger added a commit that referenced this pull request Aug 29, 2011

@nicksieger nicksieger Merge pull request #34 from mgiambalvo/master
RSpec base formatter
27c44ce

@nicksieger nicksieger merged commit 27c44ce into ci-reporter:master Aug 29, 2011

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