nick8325 / quickcheck

Automatic testing of Haskell programs.
Other
713 stars 119 forks source link

within does not stop test execution #278

Closed BebeSparkelSparkel closed 5 months ago

BebeSparkelSparkel commented 4 years ago

I am attempting to test a function that processes part of infiniteList. I would like to have a time limit on this because it sometimes tries to consume the whole list. within does not seem to stop execution of a log running test. Is there a way for within to stop execution of a long running test?

BebeSparkelSparkel commented 4 years ago

ioProperty . timeout 100 seems to stop a long running function.

MaximilianAlgehed commented 5 months ago

Could you provide a minimal failing example here that I can try to better understand what you mean?

BebeSparkelSparkel commented 5 months ago

Great question but I do not remember the problem.