Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.3 KB

TESTING.md

File metadata and controls

25 lines (17 loc) · 1.3 KB

Testing Elm-mdl

This is only relevant for developers and contributors to Elm-mdl

Tests are located in a separate "tests" folder and does not affect elm-mdl.

Prerequisite: To be able to run tests from your terminal - install node-test-runner by running:

npm install -g elm-test

Run all tests by executing this command in the root folder:

elm-test

The travis.yml file has been configured to run elm-test when any branch is pushed to GitHub

NOTE

One primary reason to include elm-test now, is to improve the speed of Travis build. Currently, there are no actual tests implemented. The Material components and Demo components are imported by the testrunner and only verifies that building those modules does not fail.

We should look at other projects to see how to implement tests in Elm-mdl.