package tezt

  1. Overview
  2. Docs

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

OCaml

Innovation. Community. Security.