package tezt

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

Install

Dune Dependency

Authors

Maintainers

Sources

tezt-4.2.0.tar.bz2
md5=7878acd788ae59f1a07d0392644f0fff
sha512=b9e8ce2576b0bc65870409380edf17b88656a985ceb9a438a84f479b51d6b30740acf7b035eccf7d122bf5227611bf15e888e607dcdbb1576b4383f12314dd49

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.