Trial

This is the Trial documentation. If you want to go to the main website, press here

Module list

trial.attributes

A module containing the attributes used to add metadata to your tests

trial.coverage

A module containing the logic for parsing and analysing the code coverage

trial.discovery.code
trial.discovery.spec

A module containing the discovery logic for spec tests

trial.discovery.testclass

A module containing the discovery logic for classes annodated with @Test

trial.discovery.unit

A module containing the default test discovery logic

trial.executor.parallel

A module containing the parallel test runner

trial.executor.single

A module containing the single threaded runner

trial.interfaces

A module containing the interfaces used for extending the test runner

trial.reporters.allure

A module containing the AllureReporter

trial.reporters.dotmatrix

A module containing the DotMatrixReporter

trial.reporters.html

A module containing the HtmlReporter

trial.reporters.landing

A module containing the LandingReporter

trial.reporters.list

A module containing the ListReporter

trial.reporters.progress

A module containing the ProgressReporter

trial.reporters.result

A module containing the ResultReporter

trial.reporters.spec

A module containing the SpecReporter

trial.reporters.specprogress

A module containing the SpecProgressReporter

trial.reporters.specsteps

A module containing the SpecStepsReporter

trial.reporters.stats

A module containing the StatsReporter

trial.reporters.tap

A module containing the TAP13 reporter https://testanything.org/

trial.reporters.visualtrial

A module containing the Visual Trial reporter used to send data to the Visual Studio Code plugin

trial.reporters.writer

A module containing utilities for presenting information to the user

trial.reporters.xunit

A module containing the XUnitReporter

trial.runner

The main runner logic. You can find here some LifeCycle logic and test runner initalization

trial.settings

Settings parser and structures

trial.stackresult

A module containing custom exceptions for display convenience

trial.step

When you run complex tests, or tests that take a lot of time, it helps to mark certain areas as steps, to ease the debug or to improve the report.

trial.terminal

Module for interacting with the user's terminal, including color output, cursor manipulation, and full-featured real-time mouse and keyboard input. Also includes high-level convenience methods, like [Terminal.getline], which gives the user a line editor with history, completion, etc. See the [#examples].