This is something I realized is that if you try to write more bullet proof 
code, it may have alot of extra checks in it. That may make it harder to 
test because there are more conditions. In theory your code is trying to 
cover cases that may or may not occur but it is trying to be more robust 
... However, then when you run something like the simplecov gem - 
https://github.com/colszowka/simplecov If your code has various checks in 
it that are not tested because they are not typical, your code module will 
get a bad percentage mark for not being fully tested.

 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk/06cd4973-136c-4af4-947e-086f716105b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to