That's a good point Jon! Thank's :)

On Tuesday, September 13, 2016 at 10:13:38 AM UTC+3, Jon Rowe wrote:
>
> One for the core tenements of Test or Behaviour Driven Development, is the 
> red green refactor cycle, if you’re worried about not having the right 
> values for your actual values (those from the tests) then consider righting 
> your tests to fail first, e.g. red, then making them green by changing your 
> code only. That way you’ll see the actual values are correct before fixing 
> the code to pass the tests.
>
> Jon Rowe
> ---------------------------
> [email protected] <javascript:>
> jonrowe.co.uk
>
> On Tuesday, 13 September 2016 at 16:43, Michael Miro wrote:
>
> I'm new to rspec and BDD at all so maybe I don't understand something but 
> I would like to see not only that expected and got values match, but what 
> are these values so I can see what my tests return. For example I was 
> thinking that maybe my test passes but the matched got and expected values 
> are not what I'am expecting them to be (and they are nil and nil for 
> instance).
>
> On Tuesday, September 13, 2016 at 3:25:21 AM UTC+3, Jon Rowe wrote:
>
> There isn't a way to do this currently, but you could use custom matchers 
> what surfaced the expected / actual values in the description which would 
> almost do this.
>
> Can I ask why you'd want to do this?
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "rspec" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rspec/af93ff98-3cf3-47ba-862f-709a01a0f95f%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/rspec/af93ff98-3cf3-47ba-862f-709a01a0f95f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/2c56875b-2789-4b20-9295-58404d4b53b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to