cdsmith / HMock

Mock framework for testing in Haskell
BSD 3-Clause "New" or "Revised" License
23 stars 4 forks source link

Document configurable error severity #9

Closed cdsmith closed 3 years ago

cdsmith commented 3 years ago

There are now a collection of actions that change how seriously HMock takes certain classes of errors:

The behavior of these should be explained clearly in a section of the README file. In particular, the distinction between "unexpected" and "uninteresting" is a common pitfall in gMock where I took the idea from, and it should be articulated. (See http://google.github.io/googletest/gmock_cook_book.html#uninteresting-vs-unexpected for gMock's explanation.)