Closed adamgundry closed 1 year ago
Why doesn't this run through CI?
I'm not sure if it is to do with my having opened a branch from a fork? Or is it perhaps that Travis CI now requires applying for credits for open source projects?
Yeah, Travis is dead, but there is a GHA CI now: https://github.com/UnkindPartition/tasty/blob/16289a77495eb8279c5e544886ef52503becd148/.github/workflows/ci.yaml
Maybe it is misconfigured, it says on: [push]
where I usually see on: [push, pull_request]
or some refinement of this.
Ping @UnkindPartition.
@adamgundry : I updated the CI triggers. Can you please rebase this onto master
and force-push, to see if CI runs now?
Thanks @andreasabel, looks like it is indeed running now.
@andreasabel @VictorCMiraldo @martijnbastiaan this looks good to me, any more opinions?
I've updated changelogs, rebased and merged. Thanks, @adamgundry!
In case anyone else runs into this: if the exception is raised in a QuickCheck test, the exception is shown in QuickCheck
itself, and not in tasty
or tasty-quickcheck
. I've opened a similar PR for QuickCheck itself at https://github.com/nick8325/quickcheck/pull/417 .
Here's my proposed resolution to #327. By calling
displayException
instead ofshow
we get prettier exception output for any exception type that implementsdisplayException
, includingtasty
's version ofHUnitFailure
. (UnfortuntatelyHUnit
's version ofHUnitFailure
doesn't currently implementdisplayException
, but that's aHUnit
issue.)