> The reason I'm doing this is because I'd
like viewers of the test results to see the exact condition that was
tested for in the should if they want to -- without having to read the
code.
Have you seen Wrong? You just described its intent :-)
http://github.com/sconover/wrong
If you get a source
On Sep 28, 2011, at 7:30 AM, Jeff Nyman wrote:
> Hey all.
>
> I've been playing around with RSpec custom formatters to see how much
> flexibility there is. One thing I've been trying to see is if I can
> print the contents of a variable that's in an example (it) method. So,
> for example, here's
Hey all.
I've been playing around with RSpec custom formatters to see how much
flexibility there is. One thing I've been trying to see is if I can
print the contents of a variable that's in an example (it) method. So,
for example, here's what I have in my specification:
it "should display resul