-
It looks like `SpecTree`s, when converted to `TestTree`s, run in parallel. AFAIK there's nothing we can do about that, but sometimes it **is** surprising -- we might expect that the tests under hspec'…
-
There is TreatPendingAs option, which per my understanding is roughly an equivalent to `--fail-on=pending` option of `hspec`. Is it possible to have an equivalent for `--fail-on=focused`?
More gene…
-
It would be nice if `hedgehog-classes` could be integrated with other tasting frameworks, e.g. `hspec`.
Currently, when I run `lawsCheck` inside the `hspec` test suite, I see the following slightly…
-
I'm trying to use hspec-discover with HSpec.Wai. The top-level `spec` items in my `FooSpec.hs` files are of type `spec :: SpecWith (st, Application)`. I want to use my own `Main` module and driver, so…
-
**Describe the feature request**
I have a feature request in Hspec to make it easier to run specific tests with Cabal: https://github.com/hspec/hspec/issues/862
Hspec needs to know if it is run by…
-
I've started work on a [hspec-hedgehog wrapper](https://github.com/erikd/hspec-hedgehog).
Its going to need some supporting functionality in Hedgehog.
erikd updated
4 years ago
-
In `FrontendSpec`, we say, after several other tests and after the `before` and `after` wrapper:
``` haskell
-- (this is a separate top-level test case because it changes the DB
-- state and gets…
-
Rather than requiring conflicting imports from both `Test.Hspec` and `Test.Hspec.Wai`, `Test.Hspec.Wai` could export all of `Test.Hspec`, replacing the functions that need lifting, such as `render` or…
-
For example:
```haskell
let hook act = do
putStrLn "before"
act
putStrLn "after"
around_ hook $ it "xxx" $ do
let shr = \case
2 -> [1, 0]
…
-
Currently there is hspec 2.7.10 in Stackage LTS and tests pass fine with that. Maybe you can loosen the bound downward a bit?