Timeline for What should you test with unit tests?
Current License: CC BY-SA 2.5
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 18, 2018 at 19:20 | comment | added | Alexander Bird | -1. Doesn't answer question: The problem is, I don't know _what_ to test | |
| Sep 24, 2010 at 22:04 | comment | added | Steven Evers | @zneak: there are code coverage tools that will calculate them for you. A quick google for "code coverage" should bring up a number of them. The tool tracks the lines of code that are executed while running the tests, and bases that agianst the total lines of code in the assembly(ies) to come up with the coverage percentage. | |
| Sep 3, 2010 at 19:29 | comment | added | zneak | How do you calculate that coverage percentage? What does it mean to cover 90% of your code anyways? | |
| Sep 3, 2010 at 18:00 | history | answered | Paddyslacker | CC BY-SA 2.5 |