atom-ruby-test
atom-ruby-test copied to clipboard
Linked file paths
Ability to click on a file path in the output and have it open in the editor.
I started looking into this one, which took me to ansi_to_html, which then made me wonder about the RSpec HTML formatter, which would be a great fit. Cucumber's HTML formatter is even better. Unfortunately, I can't see one for Ruby Test.
Here's how I imagine it working:
- Process the output by splitting it into parts that are file paths, and parts that are everything else.
- For the everything-else parts, just pass them to ansi_to_html, with the escape-html option, then pass the result through.
- For the file paths, html-escape the file path, wrap it in a tag, and pass it through.