elm-ui/tests
2018-12-29 11:46:16 -05:00
..
automation a stylish new design toolkit 2018-08-28 19:41:08 -04:00
src Reorganize tests for easier running. 2018-12-29 11:46:16 -05:00
suite Reorganize tests for easier running. 2018-12-29 11:46:16 -05:00
Tests Reorganize tests for easier running. 2018-12-29 11:46:16 -05:00
elm.json update manual test runner to 0.19 2018-09-17 12:16:11 -04:00
gather-styles.html isVisible test 2018-09-17 16:52:51 -04:00
live.sh a stylish new design toolkit 2018-08-28 19:41:08 -04:00
README.md Reorganize tests for easier running. 2018-12-29 11:46:16 -05:00

Elm UI Test Suite

There are two types of tests for Elm UI. The normal kind, which are located in tests/suite/

These can be run using elm-test and can be run via

elm-test

at the elm-ui root.

Layout Testing

elm-ui also needs to ensure that all layouts work as expected on all browsers.

In order to do this, we need a different testing environment.

So, the tests in elm-ui/tests/Tests will render output, then harvest bounding boxes form the browser, and run the test on the resulting data.

In order to run the test locally, compile

elm make Tests/Run.elm --output elm.js

and then open gather-styles.html