node-elm-test
Runs elm-test suites from Node.js
Installation
npm install -g elm-test
Usage
elm-test init # Adds the Elm-Test dependency and creates TestRunner.elm and Tests.elm elm-test tests/TestRunner.elm # Runs the tests
Then add your tests to Tests.elm.
Also check out elm-check
for property-based testing via elm-test
!
Travis CI
If you want to run your tests on Travis CI, here's a good starter .travis.yml
:
language: node_jsnode_js: - "5"install: - npm install -g elm - npm install -g elm-test - elm-package install -y - pushd tests && elm-package install -y && popdscript: - cd tests && elm-test TestRunner.elm