This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Opinionated browser testing in elm
version 2.0.0
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 2.0.1
Committed At 2017-02-23 23:02:37 UTC
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.1.1 <= v < 6.0.0 5.1.1
elm-community/maybe-extra 3.1.0 <= v < 4.0.0 3.1.0

Modules

README

elm-driveby

opinionated browser testing in elm - experimental work in progress, but usable

Why?

  1. light touch - just depends on phantomjs and embedded driveby.js
  2. implicit waiting
  3. parallel execution

Setup

  1. elm-package install alltonp/elm-driveby
  2. download a phantomjs executable
  3. That's it!

Running example scripts

(1) cd elm-stuff/packages/alltonp/elm-driveby/x.x.x

(2) build some example apps (slightly tweaked from https://github.com/evancz/elm-architecture-tutorial/)

elm-make examples/src/01-button.elm --output examples/build/01-button.html
elm-make examples/src/02-field.elm --output examples/build/02-field.html

(3) build the tests

elm-make examples/test/*.elm --output tests.js

(4) run the tests

{path-to-phantom}/phantomjs driveby.js