![]() |
||
|
|
|
|
![]() |
||
Google Tech TalksOctober, 30 2008ABSTRACTClean Code Talks - Unit TestingSpeaker: Misko Hevery
Channel: People & Blogs
Uploaded: November 30, 1999 at 12:00 am
Author: googletechtalks
Length: 32:08
Rating: 4.77
Views: 12338
|
succelus (November 30, 1999 at 12:00 am)
Keep the good Talks !
D3mi4n (November 30, 1999 at 12:00 am)
This should be part of some kind of "Google academy for software developers"A kind of virtual course for student with, and without, CS (or related) degrees.
scottburton11 (November 30, 1999 at 12:00 am)
I love these Clean Code Talks with Misko too, he's resolved a lot of issues for me.View the latest one for examples of why static methods, global state and singletons make bad seams and make code harder to test. Even when you can mock the state, its an indication that something else depends on it, that tests have to be run in a specific order, and lots of other issues. It's enlightening.
tartley (November 30, 1999 at 12:00 am)
Excellent, very insightful. I've been enjoying Misko's essays for a while now.However, in dynamic languages, I don't think it is true that static method calls cannot form a seam for testing. In Python, for example, a static method can be patched out temporarily on either the current module, or another module, for the duration of the test. We use this technique at my work all the time for testing. |