package tezt

  1. Overview
  2. Docs
Test framework for unit tests, integration tests, and regression tests

Install

dune-project
 Dependency

Authors

Maintainers

Sources

tezt-4.3.0.tar.bz2
md5=15abf8d74a268d18dd42e539f894fbe8
sha512=fb30fc561a1e77f037a4ce7eb022345ef0620fa1ac3e16bd83b7f867ef3d0c0ff676255a967d3122e7ef25b22f4b0dc01fba9fe90fe1b486e68b268ba1e9a9c9

doc/tezt.core/Tezt_core/Cli/Selecting_tests/index.html

Module Cli.Selecting_testsSource

Command-line arguments that control the set of tests to run.

Sourceval files_to_run : string list

--file

Sourceval files_not_to_run : string list

--not-file

Sourceval patterns_to_run : Base.rex list

--match

Sourceval patterns_not_to_run : Base.rex list

--not-match

Sourceval tests_to_run : string list

--title, --test

Sourceval tests_not_to_run : string list

--not-title, --not-test

Sourceval job : (int * int) option

--job

Sourceval skip : int

--skip

Sourceval only : int option

--only

Sourceval tsl_expression : unit -> TSL_AST.t

Unnamed arguments are conditions expressed in the Test Selection Language.

This returns the conjunction of all such conditions.

This is a function because it should be called just before Clap.close, to follow Clap's rule that named arguments must be defined before unnamed ones (see Clap's readme).

Sourcetype on_empty_test_list =
  1. | Ignore
  2. | Warn
  3. | Fail

How to behave if the list of selected tests is empty.

Sourceval on_empty_test_list : on_empty_test_list

--on-empty-test-list