what-we-ve-got-here-is-an-error-to-communicate

What if Ruby's error messages communicated their information effectively?

Downloads
24.6K
Stars
15
Committers
2

What if error messages were compelling to read?

Blog explaining the goal here.

A screenshot of the code rendering an ArgumentError.

This is still early and Rough

But I've been using it on its own test suite, and have to say it's compelling!

Using this with RSpec or Minitest

Place this in your .rspec file to use with RSpec. Or just use MRspec, which works with both RSpec and Minitest and requires no configuration :)

--colour
--require error_to_communicate/at_exit
--require error_to_communicate/rspec_formatter
--format WhatWeveGotHereIsAnErrorToCommunicate::RSpecFormatter

Inspirations:

Related Projects:

License

Do what the fuck you want to.