DEV Community

Discussion on: The Problem With High Test Coverage

jamesrichmond24 profile image
James Richmond • Edited on

Will do :)
So what's your recommendation? testing only the main components?

Thread Thread
teamcoder profile image
Robert Ecker Author

It always depends ;-) If tests help you to build your software then do TDD. If you want to decide where to start writing tests for a legacy system then you might ask your stakeholders what’s most important for them and start with the components which are most likely to break and which would cause the biggest damage if they broke.

Thread Thread
jamesrichmond24 profile image
James Richmond

Thanks a lot!
You're making good and interesting points :)

Thread Thread
teamcoder profile image
Robert Ecker Author

:)

Thread Thread
rvazquezglez profile image
Raúl Gerardo Vázquez González

There are tools like IntelliTest msdn.microsoft.com/en-us/library/d...

Jessica Kerr (in a very interesting talk) mentions a tool called QuickCheck which allows you to run property based testing to find cases where you program might fail youtu.be/X25xOhntr6s?t=20m28s

Thread Thread
teamcoder profile image
Robert Ecker Author

Thanks for sharing Raúl! Do you use such tools? Do they work well for you?