Timeline for TDD Red-Green-Refactor and if/how to test methods that become private
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 2, 2015 at 12:58 | comment | added | gbjbaanb | In a language like C, this makes sense, but for OO languages where the unit should generally be a class (with public and private methods) then you should be testing the class, not every private method in isolation. Isolating your classes, yes. Isolating the methods in each class, no. | |
| S Apr 17, 2015 at 11:54 | history | suggested | Paul D. Waite | CC BY-SA 3.0 | Fixed typos |
| Apr 17, 2015 at 11:42 | review | Suggested edits | |||
| S Apr 17, 2015 at 11:54 | |||||
| Apr 16, 2015 at 20:52 | comment | added | Justin Ohms | I wish I could up vote this many more times. I would just sum it up as, you haven't architected your solution correctly. | |
| Apr 15, 2015 at 15:54 | review | First posts | |||
| Apr 15, 2015 at 17:23 | |||||
| Apr 15, 2015 at 15:53 | history | answered | initcrash | CC BY-SA 3.0 |