rtfeldman/node-test-runner/1.0.0

NOTE: this package is not compatible with Elm 0.19.1

node-test-runner Version Travis build Status AppVeyor build status

Runs elm-test suites from Node.js

Installation

npm install -g elm-test

Usage

elm-test init  # Adds the elm-test dependency and creates Main.elm and Tests.elm
elm-test tests/Main.elm  # Runs the tests

Then add your tests to Tests.elm.

Travis CI

If you want to run your tests on Travis CI, here's a good starter .travis.yml:

language: node_js
node_js:
  - "5"
install:
  - npm install -g elm
  - npm install -g elm-test
  - elm-package install -y
  - pushd tests && elm-package install -y && popd
script:
  - cd tests && elm-test Main.elm