Home > Software engineering >  How to test specific hSpec property using `--match` and cabal
How to test specific hSpec property using `--match` and cabal

Time:05-14

I have a bunch of test modules and I can run a specific one using cabal test.

cabal test Module.Name.Here

The module contains many tests and one of them fails and it gives the following message.

  To rerun use: --match "/Module.Name.Here/hspecDescribeString/hspecPropName/"

How do I use this match string? I've tried various combinations none of them works

  • Related