penlight

Run tests. Illuminate coverage. Discover public zero-argument functions ending in _test under test/. Run with gleam run -m penlight -- --help.

Values

pub fn main() -> Nil

Run discovered tests and generate terminal and HTML line coverage. Call this from the main function in test/<package_name>_test.gleam to use Penlight with gleam test. Adding the dependency alone does not change the test runner. JavaScript consumers must enable source maps.

✨ Search Document