Additions to elm-test for use with the lobo test runner.
skippedTest : Test
skippedTest =
skip "ignore test" <|
test "skippedTest" <|
\() ->
Expect.fail "Never runs"
focusTest : Test
focusTest =
focus <|
test "Example passing test" <|
\() ->
Expect.passTo use this package you will need to use lobo with the "elm-test-extra" framework, and replace:
import Testwith
import ElmTest.ExtraFurther information on using lobo can be found here
The following elm-test functions are not available in elm-test-extra:
describeskipPrevent the running of tests with a reason for them to be skipped.
skippedTest : Test
skippedTest =
skip "ignore test" <|
test "skippedTest" <|
\() ->
Expect.fail "Never runs"This will cause the lobo runner to skip this test. skip can be applied to the following:
lobo 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
A test that evaluates an expectation. 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
Restrict the running of tests to only those that have
focus: unfocused tests.This will cause the lobo runner to ignore all other tests that don't have focus applied. focus can be applied to the following:
Focus cannot be used to force a skipped test to run.