Simon Hengel

Results 120 issues of Simon Hengel

```haskell withSubject :: (a -> IO ()) -> SpecWith a -> SpecWith a withSubject action = beforeWith $ \ a -> action a >> return a ``` Example usage: ```haskell...

enhancement

e.g. `HSPEC_COLOR=yes` sets `--color`

documentation
post-2.10.0 🏁

Test cases: ```haskell let expected = "{\n \"age\": 23,\n \"name\": \"Joe\"\n}\n" actual = "{\n \"age\": 23,\n \"name\": \"Joe\"\n}" actual `shouldBe` expected ``` ```haskell let expected = "{\n \"age\": 23,\n \"name\":...

Alternative to #555. Original discussion at https://github.com/hspec/hspec/pull/527.

This is useful when you want to distribute a test run over multiple nodes. - `--number-of-jobs=n` will define the number of nodes. - `--job=n` will select a specific batch to...

enhancement

For CI use I want a flag that fails if there are any spec items that - are pending - are focused - have an empty description Maybe `--strict` or...

enhancement

This is trading correctness for fewer dependencies. One immediate benefit of this change is that we will get GHC 9.2.1 support right now. The new code uses getCurrentTime, which is...

non-breaking change

e.g. by tagging tests or something

breaking change