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/TSL_AST/index.html

Module Tezt_core.TSL_ASTSource

Abstract Syntax Tree of the Test Selection Language.

Sourcetype string_var =
  1. | File
  2. | Title

Test properties that can be queried using string operators.

Sourcetype int_var =
  1. | Memory

Test properties that can be queried using integer comparison operators.

Sourcetype float_var =
  1. | Duration

Test properties that can be queried using float comparison operators.

Sourcetype string_operator =
  1. | Is of string
  2. | Matches of Base.rex

Comparison operators for strings.

Sourcetype numeric_operator =
  1. | EQ
  2. | NE
  3. | GT
  4. | GE
  5. | LT
  6. | LE

Comparison operators for numbers.

Sourcetype t =
  1. | True
  2. | False
  3. | String_predicate of string_var * string_operator
  4. | Int_predicate of int_var * numeric_operator * int
  5. | Float_predicate of float_var * numeric_operator * float
  6. | Has_tag of string
  7. | Not of t
  8. | And of t * t
  9. | Or of t * t

AST of TSL.