Testing is not like frosting
Started from how to write hard testing code:
- singletons and static methods (I've got some points for this)
- put a lot of new operators
- code complexity and violating of Demeter Law.
...
If you know how to create unreadable code you probably know how to fix it?
Moreover he touched such a topic as creating tests from spec and BDD:
@Test public void itShouldCloseTheIncomingConnectionAlways()
I liked an amazing classifications of bugs into 3 categories as logical, wiring and rendering bugs. And finding super bug is just misunderstood of the concept.
Just read the presentation: How to write Clean, Testable code: Psychology of Testing
Misko blog: is misko.hevery.com
And do attend NYC Google meetup, don't miss a chance to visit awesome office and great people
0 comments:
Post a Comment