Simon Hengel

Results 312 comments of Simon Hengel

@alexanderkjeldaas What do you suggest to do here? Do you want a way to register a postprocessor for `json` responses? E.g. ``` haskell tranformJSON :: (ByteString -> ByteString) -> ActionM...

> With a focus on ensuring that it is unlikely that an uprotected json response will be sent in a large application. What do you have in mind here? AFAIK,...

Please try something along the lines of: ```haskell -- file test/SpecHook.hs module SpecHook where import Test.Hspec import System.Timeout import Data.Functor hook :: Spec -> Spec hook = around_ $ void...

> I modified it so that it fails. > > ```haskell > hook = around_ $ maybe (fail "exceeded timeout") pure ``` Yeah, that's much better. > It seems useful...

> > It is a hack that works but I modified it so that it fails. > > hook = around_ $ maybe (fail "exceeded timeout") pure > It seems...

This is a duplicate of https://github.com/parsonsmatt/hspec-hedgehog/issues/9.

I have seen this many times with processes that start a (ghc compiled Haskell) subprocesses. I don't have all the details available right now, but from what I remember, this...

I think it's unlikely that this is a bug in `hapec` or `hspec-hedgehog`. @treeowl do you remember how you invoked your tests? If it was through `cabal test`, or something,...