Move tests around

This commit is contained in:
Richard Feldman
2016-08-19 04:54:08 -07:00
parent 2b5049f438
commit 43eede09ed
6 changed files with 9 additions and 16 deletions

View File

@@ -21,24 +21,18 @@ elm-live Main.elm --open --output=elm.js
## Running Tests ## Running Tests
First do this: Do either (or both!) of the following:
```bash
cd test
elm-package install
```
Then do either (or both!) of the following:
#### Running tests on the command line #### Running tests on the command line
```bash ```bash
elm-test NodeRunner.elm elm-test
``` ```
#### Running tests in a browser #### Running tests in a browser
```bash ```bash
cd tests
elm-reactor elm-reactor
``` ```

View File

@@ -7,11 +7,10 @@ import Json.Decode exposing (Value)
-- To run this: -- To run this:
-- --
-- cd into part8/test -- elm-test
-- elm-test NodeRunner.elm
main : Program Never main : Program Value
main = main =
Runner.run emit Tests.all Runner.run emit Tests.all

View File

@@ -10,12 +10,12 @@
"exposed-modules": [], "exposed-modules": [],
"dependencies": { "dependencies": {
"NoRedInk/elm-decode-pipeline": "1.1.2 <= v < 2.0.0", "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/core": "4.0.1 <= v < 5.0.0",
"elm-lang/html": "1.0.0 <= v < 2.0.0", "elm-lang/html": "1.0.0 <= v < 2.0.0",
"evancz/elm-http": "3.0.1 <= v < 4.0.0", "evancz/elm-http": "3.0.1 <= v < 4.0.0",
"project-fuzzball/node": "1.0.2 <= v < 2.0.0", "rtfeldman/html-test-runner": "1.0.0 <= v < 2.0.0",
"project-fuzzball/test": "1.0.1 <= v < 2.0.0", "rtfeldman/node-test-runner": "2.0.0 <= v < 3.0.0"
"project-fuzzball/test-runner": "1.0.1 <= v < 2.0.0"
}, },
"elm-version": "0.17.0 <= v < 0.18.0" "elm-version": "0.17.0 <= v < 0.18.0"
} }