Move tests around
This commit is contained in:
@@ -21,24 +21,18 @@ elm-live Main.elm --open --output=elm.js
|
||||
|
||||
## Running Tests
|
||||
|
||||
First do this:
|
||||
|
||||
```bash
|
||||
cd test
|
||||
elm-package install
|
||||
```
|
||||
|
||||
Then do either (or both!) of the following:
|
||||
Do either (or both!) of the following:
|
||||
|
||||
#### Running tests on the command line
|
||||
|
||||
```bash
|
||||
elm-test NodeRunner.elm
|
||||
elm-test
|
||||
```
|
||||
|
||||
#### Running tests in a browser
|
||||
|
||||
```bash
|
||||
cd tests
|
||||
elm-reactor
|
||||
```
|
||||
|
||||
|
||||
@@ -7,11 +7,10 @@ import Json.Decode exposing (Value)
|
||||
|
||||
-- To run this:
|
||||
--
|
||||
-- cd into part8/test
|
||||
-- elm-test NodeRunner.elm
|
||||
-- elm-test
|
||||
|
||||
|
||||
main : Program Never
|
||||
main : Program Value
|
||||
main =
|
||||
Runner.run emit Tests.all
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
"exposed-modules": [],
|
||||
"dependencies": {
|
||||
"NoRedInk/elm-decode-pipeline": "1.1.2 <= v < 2.0.0",
|
||||
"elm-community/elm-test": "2.0.1 <= v < 3.0.0",
|
||||
"elm-lang/core": "4.0.1 <= v < 5.0.0",
|
||||
"elm-lang/html": "1.0.0 <= v < 2.0.0",
|
||||
"evancz/elm-http": "3.0.1 <= v < 4.0.0",
|
||||
"project-fuzzball/node": "1.0.2 <= v < 2.0.0",
|
||||
"project-fuzzball/test": "1.0.1 <= v < 2.0.0",
|
||||
"project-fuzzball/test-runner": "1.0.1 <= v < 2.0.0"
|
||||
"rtfeldman/html-test-runner": "1.0.0 <= v < 2.0.0",
|
||||
"rtfeldman/node-test-runner": "2.0.0 <= v < 3.0.0"
|
||||
},
|
||||
"elm-version": "0.17.0 <= v < 0.18.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user