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.
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.