Timeline for How do you convince management to "invest" in unit tests?
Current License: CC BY-SA 4.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Dec 5, 2022 at 13:24 | history | edited | Doc Brown | CC BY-SA 4.0 | Removed broken link from post (OA has not been here for 2 years). Could not find another link on OA's website. |
| S Dec 5, 2022 at 13:24 | history | suggested | peejay | CC BY-SA 4.0 | Removed broken link from post (OA has not been here for 2 years). Could not find another link on OA's website. |
| Nov 11, 2022 at 15:33 | review | Suggested edits | |||
| S Dec 5, 2022 at 13:24 | |||||
| May 3, 2017 at 16:42 | comment | added | JimmyJames | @Paddyslacker I don't disagree. It's a bit of a chicken and egg thing though. If you need permission to start writing unit tests, it's hard to use them to show proof that permission should be granted. It's not either or. The comparison with real data is a much, much stronger argument. This alternate argument is weaker but easier to mount. | |
| May 2, 2017 at 20:34 | comment | added | Paddyslacker | @JimmyJames, I agree that you can't always compare to another project, and I agree with your analogy about double entry bookkeeping. I do think if you are beginning to use unit tests on an existing codebase without tests, you can compare the code base's defect rate and other metrics between the part covered by unit tests and the uncovered code, so that you have some real data to backup your approach too. | |
| Apr 19, 2017 at 20:58 | comment | added | JimmyJames | This is a good answer but not everyone can easily compare what they are doing to some other project. I can't remember where i read it but the most convincing argument for a business person I've seen was comparing unit testing to double entry bookkeeping. Naively, doing the numbers twice is a waste of time. But anyone who knows anything about accounting would consider doing just one side of the books an unforgivably irresponsible dereliction of duties. Unit testing is the development analog to double entry bookkeeping. | |
| Jan 13, 2015 at 19:57 | history | edited | Paddyslacker | CC BY-SA 3.0 | Updated URL as old one was a deadlink |
| Apr 5, 2011 at 17:29 | vote | accept | louisgab | ||
| Apr 4, 2011 at 22:40 | history | answered | Paddyslacker | CC BY-SA 2.5 |