This is some seriously alpha software.

You have been warned. I really wouldn't use this code unless you're paying me to make it not suck.

RspecFailsafeFormatter

So here's the deal. Jruby + rspec + maven = could be a good time. If you want to use rspec to do integration tests it's pretty common that you would use the maven-failsafe-plugin to manage your tests. The problem with that is rspec has no way to tell failsafe what happened during the test phase. That's where this gem comes it. It builds out a .txt and .xml file which failsafe will process.

Did you know though that the surefire-test-report.xsd doesn't map well at all to rspec? I learned that while building this project.

TODOs

  1. All tests are grouped together into a single .txt and .xml file. That's awful.
  2. Tests. Did you know testing a formatter is super meta? Yeah... help :(

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rspec_failsafe_formatter. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.