Settings

Theme

If you have 90% unit test coverage, you probably have some stupid tests

github.com

2 points by zipfle 9 years ago · 1 comment

Reader

sethammons 9 years ago

I feel that the post misses one major point in unit tests and coverage: you want to verify your error paths. Without mocks or injection of some sort, how are you to validate your error handling? I'm a big fan of integration tests because they make sure things work. But an integration test will have trouble forcing an error out of a dependency.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection