タグ

ブックマーク / jessitron.com (1)

  • Property-based testing: what is it?

    Writing tests first forces you to think about the problem you’re solving. Writing property-based tests forces you to think way harder. — Jessica Kerr (@jessitron) April 25, 2013 What is this property-based thing? Property-based tests make statements about the output of your code based on the input, and these statements are verified for many different possible inputs. A property-based testing frame

    Property-based testing: what is it?
    zbih
    zbih 2013/08/07
    Also, it's fun to write one test and see "100 assertions passed" in the output.
  • 1