Geeks With Blogs
Swiss Coder .net and stuff...


He says something brilliant:

There is no secret to writing tests...
... there are only secrets to writing testable code!

Unit Tests require a separation of instantiation of the object graph from the business logic.
  • do not use new(...) in the business logic. Use Factories.
  • do not use global variables/state
  • no static methods
Posted on Wednesday, July 3, 2013 9:48 PM tdd , unti test | Back to top


Comments on this post: Clean code talks by Misko Hevery - Part 2: Unit Testing

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © huwyss | Powered by: GeeksWithBlogs.net