Runner
The Runner static class is the entry point for executing tests.
open type Scriptorium.Quill.RunnerRunner API
Section titled “Runner API”Runner.runTests
Section titled “Runner.runTests”Runner.runTests (tests: TestCase list) : intRunner.runTests (test: TestCase) : intRuns the test suite with default global configuration. Returns the exit code (0 = all passed, 1 = failures or CI guard triggered).
[<EntryPoint>]let main _ = Runner.runTests [ testList ("My suite", [ ... ]) ]Runner.runTestsWith
Section titled “Runner.runTestsWith”Runner.runTestsWith (configurer: TestConfig -> TestConfig, tests: TestCase list) : intRunner.runTestsWith (configurer: TestConfig -> TestConfig, test: TestCase) : intRuns with a custom global configuration. The configurer is applied to TestConfig.Default to produce the global config.
[<EntryPoint>]let main _ = Runner.runTestsWith (timeout 10_000 >> slowThreshold 500, [ testList ("My suite", [ ... ]) ])