Additions to elm-test for use with the lobo test runner.
skippedTest : Test
skippedTest =
skip "ignore test" <|
test "skippedTest" <|
\() ->
Expect.fail "Never runs"To use this package you will need to use lobo with the "elm-test-extra" framework, and replace:
import Testwith
import ElmTest.ExtraIt is recommended that you give each describe / test a meaningful description. However, lobo does not enforce any uniqueness constraints on these descriptions.
Further information on using lobo can be found here
The following elm-test functions are not available in elm-test-extra:
describelobo compatible declarations of the elm-test Test API. In the first instance please see the original elm-test documentation
A test which has yet to be evaluated. For further help see the original elm-test documentation
Restrict the running of tests to only those that have only:
onlyTest : Test
onlyTest =
only <|
test "Example passing test" <|
\() ->
Expect.passThis will cause the lobo runner to ignore all other tests that don't have only applied. Only cannot be used to force a skipped test to run. For further help see elm-test documentation
A test that evaluates an expectation. For further help see the original elm-test documentation
A temporary placeholder for a test that always fails. For further help see the original elm-test documentation
Group a set of tests with a description. For further help see the original elm-test documentation
Run a test with random input provided by the fuzzer. For further help see the original elm-test documentation
Run a test with 2 random inputs provided by the fuzzers. For further help see the original elm-test documentation
Run a test with 3 random inputs provided by the fuzzers. For further help see the original elm-test documentation
Run a test with 4 random inputs provided by the fuzzers. For further help see the original elm-test documentation
Run a test with 5 random inputs provided by the fuzzers. For further help see the original elm-test documentation
Run a test with random input provide by a fuzzer using the supplied options. For further help see the original elm-test documentation
Prevent the running of tests with a reason for them to be skipped.
This will cause the lobo runner to skip this test. For further help see elm-test documentation