project-fuzzball-test

Run elm-test suites.

Usage no npm install needed!

<script type="module">
  import projectFuzzballTest from 'https://cdn.skypack.dev/project-fuzzball-test';
</script>

README

node-elm-test 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 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_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 TestRunner.elm