diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fa3af2..bf62246 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ | Version | Notes | | ------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------- | +| [**2.2.0**](https://github.com/elm-explorations/test/tree/2.2.0) | `Fuzz`: Add `Fuzz.filterMap` | [**2.1.2**](https://github.com/elm-explorations/test/tree/2.1.2) | `Fuzz`: Remove arbitrary limit on amount of randomness drawn | [**2.1.1**](https://github.com/elm-explorations/test/tree/2.1.1) | `Test.Html.Query`: Change how boolean attributes are rendered | [**2.1.0**](https://github.com/elm-explorations/test/tree/2.1.0) | Add `Test.Html.Selector.exactText` | diff --git a/README.md b/README.md index a3d7e2a..e9505e9 100644 --- a/README.md +++ b/README.md @@ -44,10 +44,10 @@ suite = This code uses a few common functions: -* [`describe`](https://package.elm-lang.org/packages/elm-explorations/test/2.1.1/Test/#describe) to add a description string to a list of tests -* [`test`](https://package.elm-lang.org/packages/elm-explorations/test/2.1.1/Test/#test) to write a unit test -* [`Expect`](https://package.elm-lang.org/packages/elm-explorations/test/2.1.1/Expect/) to determine if a test should pass or fail -* [`fuzz`](https://package.elm-lang.org/packages/elm-explorations/test/2.1.1/Test/#fuzz) to run a function that produces a test several times with randomly-generated inputs +* [`describe`](https://package.elm-lang.org/packages/elm-explorations/test/2.2.0/Test/#describe) to add a description string to a list of tests +* [`test`](https://package.elm-lang.org/packages/elm-explorations/test/2.2.0/Test/#test) to write a unit test +* [`Expect`](https://package.elm-lang.org/packages/elm-explorations/test/2.2.0/Expect/) to determine if a test should pass or fail +* [`fuzz`](https://package.elm-lang.org/packages/elm-explorations/test/2.2.0/Test/#fuzz) to run a function that produces a test several times with randomly-generated inputs Check out [a large real-world test suite](https://github.com/rtfeldman/elm-css/tree/master/tests) for more. @@ -55,7 +55,7 @@ Tip! Run [elm-test init](https://github.com/rtfeldman/node-test-runner#init) to ### Running tests -This package lets you define tests ([Test](https://package.elm-lang.org/packages/elm-explorations/test/2.1.1/Test/#Test) values). +This package lets you define tests ([Test](https://package.elm-lang.org/packages/elm-explorations/test/2.2.0/Test/#Test) values). To execute your tests and see if they pass you need a program that can consume your tests, run them and report the results. diff --git a/elm.json b/elm.json index e146a0e..eae4915 100644 --- a/elm.json +++ b/elm.json @@ -3,7 +3,7 @@ "name": "elm-explorations/test", "summary": "Write unit and fuzz tests for Elm code.", "license": "BSD-3-Clause", - "version": "2.1.2", + "version": "2.2.0", "exposed-modules": [ "Test", "Test.Runner", diff --git a/package.json b/package.json index a152d84..da95c05 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "test": "bash tests/run-tests.sh", "test:random": "RANDOMIZED=1 bash tests/run-tests.sh", "format": "elm-format --validate src tests/src benchmarks", - "install-local": "rm -rf ~/.elm/0.19.1/packages/elm-explorations/test/2.1.1/ && mkdir -p ~/.elm/0.19.1/packages/elm-explorations/test/2.1.1/ && cp -r ./{src,elm.json,LICENSE,README.md} ~/.elm/0.19.1/packages/elm-explorations/test/2.1.1/" + "install-local": "rm -rf ~/.elm/0.19.1/packages/elm-explorations/test/2.2.0/ && mkdir -p ~/.elm/0.19.1/packages/elm-explorations/test/2.2.0/ && cp -r ./{src,elm.json,LICENSE,README.md} ~/.elm/0.19.1/packages/elm-explorations/test/2.2.0/" }, "author": "Richard Feldman", "license": "BSD-3-Clause" diff --git a/tests/elm.json b/tests/elm.json index 785c5be..4e6dc3b 100644 --- a/tests/elm.json +++ b/tests/elm.json @@ -17,7 +17,7 @@ "elm/virtual-dom": "1.0.2", "elm-explorations/linear-algebra": "1.0.3", "elm-explorations/markdown": "1.0.0", - "elm-explorations/test": "2.1.2", + "elm-explorations/test": "2.2.0", "elm-explorations/webgl": "1.1.2", "jinjor/elm-diff": "1.0.6" },