package b0

  1. Overview
  2. Docs
Software construction and deployment kit

Install

dune-project
 Dependency

Authors

Maintainers

Sources

b0-0.0.6.tbz
sha512=e9aa779e66c08fc763019f16d4706f465d16c05d6400b58fbd0313317ef33ddea51952e2b058db28e65f7ddb7012f328c8bf02d8f1da17bb543348541a2587f0

doc/b0.kit/B0_expect/Outcome/index.html

Module B0_expect.OutcomeSource

Expectation outcomes.

Represents the result of an expectation test.

Outcomes

Sourcetype status = [
  1. | `Corrected
    (*

    The outcome has changed but has been corrected.

    *)
  2. | `Expected
    (*

    The outcome is expected.

    *)
  3. | `New
    (*

    The expecation test is new.

    *)
  4. | `Unexpected
    (*

    The outcome is unexpected.

    *)
  5. | `Unknown
    (*

    The outcome is unknown.

    *)
]

The type for outcome statuses.

Sourcetype test =
  1. | File of {
    1. file : B0_std.Fpath.t;
    2. diff : bool;
    }
    (*

    The type for kinds of tests.

    *)
Sourcetype t

The type for test outcomes.

Sourceval status : t -> status

status o is the status of o.

Sourceval test : t -> test

test o is the test of o.

On This Page
  1. Outcomes