Simon Hengel
Simon Hengel
```haskell withSubject :: (a -> IO ()) -> SpecWith a -> SpecWith a withSubject action = beforeWith $ \ a -> action a >> return a ``` Example usage: ```haskell...
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...
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...
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...
e.g. by tagging tests or something