pajatopmr
04/19/2021, 9:23 PMpajatopmr
04/19/2021, 9:25 PMpajatopmr
04/19/2021, 9:28 PMjulian
04/20/2021, 5:43 PMjulian
04/20/2021, 6:07 PMpajatopmr
04/20/2021, 9:11 PMpajatopmr
04/21/2021, 7:30 AMjulian
04/21/2021, 6:40 PMThis chapter will take us toward a simple but powerful library for automated property-based testing. The general idea of such a library is to decouple the specification of program behavior from the creation of test cases. The programmer focuses on specifying the behavior of a program and giving high-level constraints on the test cases. The framework then automatically generates test cases that satisfy these constraints and runs tests to validate that the program behaves as specified.
julian
04/21/2021, 6:44 PMProperty-based testing and functional programming are friends, because they’re both motivated by Reasoning About Code. Functional programming is about keeping your functions data-in, data-out so that you can reason about them. Property-based testing is about expressing the conclusions of that reasoning as properties, then showing that they’re (probably) true by testing them with hundreds of different input values.
julian
04/21/2021, 6:54 PMjulian
04/21/2021, 6:56 PMpajatopmr
04/22/2021, 7:45 AMmarc0der
07/16/2021, 10:56 AMmarc0der
07/16/2021, 11:06 AM