Hi Tom,

We use rdoc and simplecov to ensure doc and test coverage of RSpecs own test 
suites (so if you’re interested you can check out how we do that on github) but 
as Henry mentions when we refactor methods we don’t necessarily add new tests. 
When the refactoring is complete and we’re happy with it we will go back and 
check the test coverage, If we've added a new public api method we go back and 
refactor the tests to ensure coverage for those too. However quite often 
extracted methods are simply added as private methods which don’t really need 
extra tests.

Hope that helps!
Jon


Jon Rowe
---------------------------
m...@jonrowe.co.uk
jonrowe.co.uk


On Monday, 4 January 2016 at 11:12, Henry Maddocks wrote:

> New to this thread so apologies if this has been mentioned already.  
>  
> Refactoring doesn't change behavior so there are no new specs required.  
>  
> Henry
>  
> --  
> You received this message because you are subscribed to the Google Groups 
> "Ruby or Rails Oceania" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to rails-oceania+unsubscr...@googlegroups.com 
> (mailto:rails-oceania+unsubscr...@googlegroups.com).
> To post to this group, send email to rails-oceania@googlegroups.com 
> (mailto:rails-oceania@googlegroups.com).
> Visit this group at https://groups.google.com/group/rails-oceania.
> For more options, visit https://groups.google.com/d/optout.
>  
>  


-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rails-oceania+unsubscr...@googlegroups.com.
To post to this group, send email to rails-oceania@googlegroups.com.
Visit this group at https://groups.google.com/group/rails-oceania.
For more options, visit https://groups.google.com/d/optout.

Reply via email to