top | item 28448900

(no title)

julienmaring | 4 years ago

I agree with you! I only used it on a minor part of the code such as services. It can help people to understand why they are testing

discuss

order

adolgert|4 years ago

"...understand why they are testing." That's interesting. There is an information-theoretic measure for test quality that asks how effective a test is by asking how closely it examines a test output. For instance, does it "smoke test" that the output isn't NULL, or does it look at a returned data structure and enforce invariants in detail. It's the flip-side of asking in how much detail a test exercises the code. Well, keep having fun. Testing is a great way to think about code.