hedgehogqa / haskell-hedgehog

Release with confidence, state-of-the-art property testing for Haskell.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test suite hangs during shrinking?

saurabhnanda opened this issue · comments

Are there any known cases where property tests written in the following structure would hang during shrinking:

property $ do
  x1 <- forAll $ ...
  x2 <- forAll $ ...
  test $ do
    res <- liftIO $ someAction x1 x2
    res === value

My test suite hangs quite often during the shrinking phase and I'm trying to get to the bottom of it, but haven't been able to come-up with a minimal example to reproduce this.

We're almost certainly going to have to have more to go on than that. Are you certain it's actually shrinking, and not just constantly rerunning your test but not failing?