16
Property-Based Testing
Testing is an important aspect of software quality assurance. It exercises the software to expose bugs, ideally early on in the development process where they can be mitigated relatively cheaply. Unfortunately, there are several negative stereotypes associated with testing: it is seen as tedious, time-consuming, and costly. For these reasons, testing is often looked down upon and neglected.
This negative perception is likely due to a particular testing approach: unit testing. Unit testing is rather labor intensive as individual test inputs and expected outputs have to be devised one by one. Typically, a large suite of such unit tests is needed to test the software thoroughly. Some cleverness can go into choosing appropriate ...
Get Soar with Haskell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.