profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/sol/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

snoyberg/yaml 140

Support for serialising Haskell to and from Yaml.

sol/aeson-qq 72

JSON quasiquoter for Haskell

basvandijk/case-insensitive 24

Case insensitive string comparison

fujimura/wai-hspec-example 16

Example for wai + hspec

hspec/hspec-subject 12

Support for RSpec-style `subject` and one-liner it-blocks

hspec/hspec-expectations-lifted 7

A version of hspec-expectations generalized to MonadIO

assertible/go-heroku-example 5

Create an automated smoke-testing pipeline with Go, Heroku Review Apps, and Assertible

kazu-yamamoto/hs-sympo-2012 5

Our paper to Haskell Symposium 2012

delete branch hspec/hspec-wai

delete branch : server

delete time in a month

PR closed hspec/hspec-wai

added Test.Hspec.Wai.Server

This commit adds a helper function that allows to test wai Applications over a real port. This is very different from the approach in Test.Hspec.Wai but I still think this is the best place for this helper function.

+126 -2

9 comments

4 changed files

soenkehahn

pr closed time in a month

pull request commenthspec/hspec-wai

added Test.Hspec.Wai.Server

This is part of warp by now. Closing.

soenkehahn

comment created time in a month

push eventhspec/hspec

Simon Hengel

commit sha 171aaec06945e732b0e013011bef073a6f08a39d

Improve highlighting of spaces for multi-line diffs

view details

push time in a month

PR opened hspec/hspec

Show multi-line diffs for string literals when it is safe to do so
+33 -4

0 comment

4 changed files

pr created time in a month

create barnchhspec/hspec

branch : pretty-diff

created branch time in a month

push eventhspec/hspec

Simon Hengel

commit sha 1370d65c8eebdf134c7711669955f8d7a5f7c8a5

Update to ubuntu-18.04 on ci

view details

push time in 2 months

delete branch hspec/hspec

delete branch : ci

delete time in 2 months

PR merged hspec/hspec

Update to ubuntu-18.04 on ci
+1 -10

0 comment

1 changed file

sol

pr closed time in 2 months

push eventhspec/hspec

Simon Hengel

commit sha 5e203bd85469d2c7f8f6e5d0cb97e259c8e6a5bd

Re-export `aroundAll_` from `Test.Hspec`

view details

Simon Hengel

commit sha a2e026aad6e33e5a3448e854bf947a00211dc06a

Add documentation for spec hooks

view details

Simon Hengel

commit sha 62afd673dd8fa069580eb79450b045176b9e1e44

Release 2.8.3

view details

Simon Hengel

commit sha 4f723bfb86f05697d39c5aa9df6403708614f7fb

Update to ubuntu-18.04 on ci

view details

push time in 2 months

push eventhspec/hspec

Simon Hengel

commit sha a2e026aad6e33e5a3448e854bf947a00211dc06a

Add documentation for spec hooks

view details

Simon Hengel

commit sha 62afd673dd8fa069580eb79450b045176b9e1e44

Release 2.8.3

view details

push time in 2 months

delete branch hspec/hspec

delete branch : release-2.8.3

delete time in 2 months

PR merged hspec/hspec

Release 2.8.3
+59 -7

0 comment

6 changed files

sol

pr closed time in 2 months

push eventhspec/hspec.github.io

Simon Hengel

commit sha e81cc58cc6afc41b745214e3a1c419570e840319

update

view details

push time in 2 months

push eventhspec/hspec

Simon Hengel

commit sha 695f27e170f15889fac26d7d4b05f60921284dec

Add documentation for spec hooks

view details

Simon Hengel

commit sha 6b9354027d2336409dd83acbb6c68bd35920e516

Release 2.8.3

view details

push time in 2 months

push eventhspec/hspec.github.io

Simon Hengel

commit sha 7731c526bb208450e4ce0f76683ec700f43a1ddd

update

view details

push time in 2 months

push eventhspec/hspec

Simon Hengel

commit sha 917285f1a540b1c0f9b5e7fd96bc05e8f4c0cf95

Add documentatino for spec hooks

view details

Simon Hengel

commit sha 8b7fe5d143a0a10cc3c68d9a1a564f3f14a6720d

Release 2.8.3

view details

push time in 2 months

PR opened hspec/hspec

Release 2.8.3
+63 -7

0 comment

6 changed files

pr created time in 2 months

create barnchhspec/hspec

branch : release-2.8.3

created branch time in 2 months

push eventhspec/hspec.github.io

Simon Hengel

commit sha a69c829111b7307a7d0d6abc466eb9be4f8d491c

update

view details

push time in 2 months

PR merged hspec/hspec

Re-export `aroundAll_` from `Test.Hspec`
+3 -1

0 comment

2 changed files

sol

pr closed time in 2 months

push eventhspec/hspec

Simon Hengel

commit sha 5e203bd85469d2c7f8f6e5d0cb97e259c8e6a5bd

Re-export `aroundAll_` from `Test.Hspec`

view details

push time in 2 months

delete branch hspec/hspec

delete branch : re-export-aroundAll_

delete time in 2 months

PR opened hspec/hspec

Re-export `aroundAll_` from `Test.Hspec`
+3 -1

0 comment

2 changed files

pr created time in 2 months

create barnchhspec/hspec

branch : re-export-aroundAll_

created branch time in 2 months

issue closedhspec/hspec

How to run some tests sequentially?

The following example uses H.sequential within a test suite:

import           Test.Hspec
import qualified Test.Hspec.Core.Spec    as H

spec :: Spec
spec =
    describe "foo" $ do

        H.sequential $ it "thirtyTwo" $ do
            30 + 2 `shouldBe` 32

        H.sequential $ it "thirtyFive" $ do
            40 - 5 `shouldBe` 35

However, I can observe that thirtyTwo and thirtyFive run concurrently.

Am I missing something here? How can we make sure that thirtyFive runs only when thirtyTwo has already completed?

closed time in 2 months

JivanRoquet

issue commenthspec/hspec

How to run some tests sequentially?

However, I can observe that thirtyTwo and thirtyFive run concurrently.

How exactly did you observe this?

Without using parallel anywhere is your test suit, hspec will not run any tests in parallel. If you still observe something unexpected, can you please provide an example that reproduces the issue?

JivanRoquet

comment created time in 2 months

issue commenthspec/hspec

Background threads don't die when test suite killed

@treeowl can you provide exact steps on how to reproduce the issue.

If it is reproducible using hspec alone then I'm happy to provide a fix, otherwise it might make sense to open an issue against hspec-hedgehog.

treeowl

comment created time in 2 months

Pull request review commentsol/hpack

Update links referring to master branch in README

 at the Singapore Haskell meetup: http://typeful.net/talks/hpack  ## Examples - * Given this [package.yaml](https://github.com/sol/hpack/blob/master/package.yaml) running `hpack` will generate [hpack.cabal](https://github.com/sol/hpack/blob/master/hpack.cabal)- * Given this [package.yaml](https://github.com/zalora/getopt-generics/blob/master/package.yaml) running `hpack` will generate [getopt-generics.cabal](https://github.com/zalora/getopt-generics/blob/master/getopt-generics.cabal)- * Given this [package.yaml](https://github.com/hspec/sensei/blob/master/package.yaml) running `hpack` will generate [sensei.cabal](https://github.com/hspec/sensei/blob/master/sensei.cabal)- * Given this [package.yaml](https://github.com/haskell-compat/base-orphans/blob/master/package.yaml) running `hpack` will generate [base-orphans.cabal](https://github.com/haskell-compat/base-orphans/blob/master/base-orphans.cabal)+ * Given this [package.yaml](https://github.com/sol/hpack/blob/main/package.yaml) running `hpack` will generate [hpack.cabal](https://github.com/sol/hpack/blob/main/hpack.cabal)+ * Given this [package.yaml](https://github.com/zalora/getopt-generics/blob/main/package.yaml) running `hpack` will generate [getopt-generics.cabal](https://github.com/zalora/getopt-generics/blob/main/getopt-generics.cabal)

This repo still uses master, albeit the repo itself mas moved to https://github.com/soenkehahn/getopt-generics/.

rzyns

comment created time in 2 months

PullRequestReviewEvent