ScrappyAcademy / rock_candy

Providing sugary syntax to help crystalize your test/spec structure.
MIT License
5 stars 1 forks source link

Add ability to easily wrap standard inputs and outputs #1

Open cupakromer opened 11 years ago

cupakromer commented 11 years ago

This idea is not new, see:

This may need to be two features: silencing output and allowing testing of inputs / outputs.

Still need to think about the DSL. Thoughts?

cupakromer commented 11 years ago

Take a look at Active Support's Kernel reporting methods https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/kernel/reporting.rb