3 ms·
Interesting article, but the answer I'd be looking for is #itdepends. What's the impact of a bug in this code base? How likely is there to be a bug? How quickl
by alexchamberlain 6y ago
Interesting article, but the answer I'd be looking for is #itdepends.
What's the impact of a bug in this code base?
How likely is there to be a bug?
How quickly can you rectify a bug if it happens?
Most of my Makefiles and setup.py files have 0% test coverage. Libraries that are automatically deployed to a few projects, where I can't easily ship a fix and I don't really fully understand the impact - I'd aim for 100%, but not arbitrarily; I want to make sure we've actually tested the edge cases.
- morelisp 6y agoHrm, when I run `./setup.py test` I run well over 90%, usually 100%, of the lines of code in my `setup.py`. Is this not coverage?
- alexchamberlain 6y ago:) python3.9 -m pytest for me. My point was more that not every line of code should be treated the same way.