package tezt

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

Install

Dune Dependency

Authors

Maintainers

Sources

tezt-4.1.0.tar.bz2
md5=88c2d9d3da75ff554599bc34cbf5acbe
sha512=e60294514ecc4a989ce663ebb306e56f654dcfaffb7dbe5e3f05f5a13c9c2ff64dadde4a77b0d9a8567a76a6a7a2b25e0940ccd2a956ffcb85ff9300bfebe3bc

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

OCaml

Innovation. Community. Security.