1. 6
  1.  

  2. 1

    The unit tests prescribed are good in a pinch, but would be much more powerful in both maintainability and coverage of cyclomatic complexity as property based tests instead.

    Another lovely benefit is you also no longer need to ask how many unit tests is “enough” to be effective, and instead get to ask the question you are really seeking to answer. Have i accurately accounted for all the types my property defines as legitimate?

    All in all, great article though.