advancedtelematic / quickcheck-state-machine

Test monadic programs using state machine based models
Other
203 stars 25 forks source link

Show which exception was thrown #341

Closed kderme closed 5 years ago

kderme commented 5 years ago

Signed-off-by: kderme k.dermenz@gmail.com Related issue: https://github.com/advancedtelematic/quickcheck-state-machine/issues/340 I have found this quite useful while debugging. It prints exactly which exception was thrown while running the semantics: ExceptionThrown "\"user error (failed)\"" /= Ok instead of ExceptionThrown /= Ok