Module Commands/Tests

This module is undocumented. This is a list of its definitions.

allTests :: <Proc> [Test]

All tests contributed to the running platform, sorted by name. The list is collected anew on every call.

list :: <Proc> ()

Prints the name of every test of the running platform.

nameOf :: Test -> String

The name of the test.

run :: Test -> <Proc> ()

Runs the test, printing its name as a header first. A failing test throws the exception that made it fail, so the tests after it are not run.

runAll :: <Proc> ()

Runs every test of the running platform in name order. The first failing test stops the run.

runByName :: String -> <Proc> ()

Runs every test whose name is exactly the given one.

runByPattern :: String -> <Proc> ()

Runs every test whose name matches the given regular expression in full. The pattern syntax is that of String.compile.

runSilent :: Test -> <Proc> ()

Runs the test without printing anything about it. A failing test throws the exception that made it fail.

validateModules :: <Proc> ()

Tries to compile all modules in SCLOsgi context and prints all compilation errors related to the modules.