A unit testing framework for Elm.
A basic function to create a Test. Takes a name and an Assertion.
Create a Test with a default name automatically chosen based on the inputs.
For example, defaultTest (assertEqual 5 5) will be named "5 == 5".
Create a Test which asserts equality between two expressions.
For example, (7 + 10) equals (1 + 16) will create a Test which tests for
equality between the statements (7 + 10) and (1 + 16).
Convert a list of Tests to a test suite. Test suites are used to group
tests into logical units, simplifying the management and running of many tests.
Takes a name and a list of Tests. Since suites are also of type Test, they
can contain other suites, allowing for a more complex tree structure.
The basic unit of testability.
Basic function to assert that some expression is True
Basic function to assert that two expressions are equal in value.
Basic function to assser that two expressions are not equal.
A lazy version of assert. Delays execution of the expression until tests
are run.
Given a list of values and another list of expected values, generates a list of assertions that these values are equal.
An assertion that always passes. This is useful when you have test results from another library but want to use ElmTest runners.
Create an assertion that always fails, for reasons described by the given string.
Run a test or a test suite with laszlopandy/elm-console and return an
IO () action which outputs the test results to console.
Run a test or a test suite and return the results as a String. Mostly
useful if you want to implement a different type of output for your test
results. If you aren't sure whether or not to use this function, you should
probably use either elementRunner or consoleRunner.
run a suite as a program
Run a suite as program with Html output.
The core unit representing a runnable test, or a group of tests called a suite.