DEV Community

Discussion on: How much time do you spend writing tests?

Collapse
 
aghost7 profile image
Jonathan Boudreau

It depends a lot on how much business logic there is involved for me. If its a lot of business logic I can spend just 20% of my time on tests. However there are plenty of situations where writing more "greenfield" features can take more time. As an example, I had to write an integration with some third party. We didn't have a good pattern on how to test these so I had to do a bit of research (decided to use VCR.py).