+5

Write a book about unit testing with this incredible format you use

Dante Pozo Castro 1 year ago updated by Rashad Rivera 8 months ago 1
I'm a huge fan of the way you make information digestible and entertaining. I think we all need a unit test book like that :)

Alexander Shvets,

First, let me say your site and PDF are fantastic.  Like others on this forum, I would also pay top dollar for a printed hard copy to add to my book collection.  I sport your site every chance I get with new developers.  The concepts are solid and based on good programming theory.  The animations are the icing on the cake.  They resonate with an old guy like me down to my young kids.  Your work transcends.  

Concerning the unit testing, I think you should add the theory to your topics because part of having good code is the ability to refactor it without breaking it.  As you mentioned in your "Refactoring" section, a good refactor must have tests.  

Perhaps you would consider starting key concepts that every unit test should have.  Below are just a few suggestions for Unit Test Code Smells. =)

  1. Avoid testing implementation details.
  2. Avoid testing too many layers (AKA integration testing)
  3. Avoid testing multiple things.
  4. The Triple A(s) (Arrange, Act, Assert)

If you need help, I can volunteer my time.