Timeline for Should we test all our methods?
Current License: CC BY-SA 3.0
20 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 27, 2016 at 13:58 | history | protected | gnat | ||
| Oct 27, 2016 at 13:34 | comment | added | gnat | see also Where is the line between unit testing application logic and distrusting language constructs? | |
| Sep 8, 2016 at 8:54 | history | tweeted | twitter.com/StackProgrammer/status/773806761232961536 | ||
| Nov 18, 2015 at 15:35 | comment | added | jk. | It will depend on your system to some extent, if you are developing a system with a moderate to hight level of safety certification you will need to cover all methods regardless of triviallity | |
| Nov 18, 2015 at 14:18 | answer | added | Izhaki | timeline score: 6 | |
| Nov 18, 2015 at 12:28 | comment | added | gnat | see also: When is it appropriate to not unit test? | |
| Mar 28, 2014 at 2:33 | comment | added | AlfredoCasado | This its really a great talk, a must see, a eye-opener talk for a lot of people, i love it. But i think that the answer its not "no". Its "yes, but indirectly". Ian cooper talks about hexagonal architecture and test features/behaviors mocking/stubbing the ports. In this case this ports are the DAO's and this "manager/service" its tested not with an individual unit test only for this class but with a "unit test" (unit in Ian Cooper definition that i agree completely with) that test some feature in your domain that use this manager/service. | |
| Mar 28, 2014 at 2:18 | answer | added | AlfredoCasado | timeline score: -1 | |
| Mar 27, 2014 at 23:43 | answer | added | CodeART | timeline score: 15 | |
| Mar 27, 2014 at 23:11 | answer | added | soru | timeline score: 2 | |
| Mar 27, 2014 at 17:21 | comment | added | Daniel Kaplan | I'm still making up my mind on this question, but here's a talk of someone who has decided the answer is "no". Ian Cooper: TDD, where did it all go wrong To summarize this great talk, you should test outside-in and test new behaviors not new methods. | |
| Oct 20, 2012 at 20:03 | answer | added | Fırat Küçük | timeline score: 9 | |
| Jan 21, 2012 at 1:26 | answer | added | anon | timeline score: 0 | |
| Jan 20, 2012 at 19:50 | answer | added | Keith Brings | timeline score: 1 | |
| Jan 19, 2012 at 21:35 | vote | accept | Zenzen | ||
| Jan 19, 2012 at 21:22 | answer | added | BЈовић | timeline score: -4 | |
| Jan 19, 2012 at 21:19 | answer | added | tp1 | timeline score: 14 | |
| Jan 19, 2012 at 20:49 | answer | added | Péter Török | timeline score: 64 | |
| Jan 19, 2012 at 20:44 | history | edited | Péter Török | CC BY-SA 3.0 | formatted code and bulleted list |
| Jan 19, 2012 at 20:40 | history | asked | Zenzen | CC BY-SA 3.0 |