Saturday, April 15, 2017

Developer Basics




https://jeremydmiller.com/2014/11/07/strong_typed_configuration/



--------------------------------------------------------------------------------------

TDD rules : - 
  1. Isolate the Ugly Stuff
  2. Push, Don’t Pull (this post)
  3. Test small before testing big
  4. Avoid a long tail
  5. Favor composition over inheritance
  6. Go declarative whenever possible
  7. Don’t treat testing code like a second class citizen
  8. Isolate your unit tests, or suffer the consequences!
  9. The unit tests will break someday
  10. Unit tests shall be easy to setup
And the overriding “Zeroeth Law” is “If code is hard to test, change it.”
ref:  http://codebetter.com/jeremymiller/2006/03/09/jeremys-second-law-of-tdd-push-dont-pull/ 

--------------------------------------------------------------------------------------

No comments:

Post a Comment

Devops links

  Build Versioning in Azure DevOps Pipelines