blink(1) integration with Hspec
Haskell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/Test/Hspec
.gitignore
LICENSE
Setup.hs
hspec-blink1.cabal
readme.md
stack.yaml

readme.md

Video

Usage

Given a spec:

example :: Spec
example = do
  describe "hspec" $ do
    it "runs a spec" $ do
      liftIO $ threadDelay 2000000
      1 `shouldBe` 1

With blink1-tool in your PATH (and a blink(1) device plugged into your computer ಠ_ಠ):

blink1 example