hedgehogqa / hedgehogqa/haskell-hedgehog-classes

lawsCheck and lawsCheckOne: call exitFailure on failure?

Open
#24 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
57
Forks
19
PR merge metrics
No merged PRs in 30d

Description

lawsCheckMany does this. however, sometimes people will use the other two functions in test suites. failures there don't cause a test-suite failure. this could be fixed by making sure that all `lawsCheck` functions call `exitFailure` on a failed test.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the lawsCheck, lawsCheckOne, and lawsCheckMany entry points, then compare how lawsCheckMany handles failed tests with the other two functions. Confirm that each lawsCheck variant reports a failure through exitFailure and that failures cause the test suite to fail.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.