ecl-logo Documentation

EmeraldTest

EmeraldTest[association]test

represents the results of executing a single EmeraldTest.

Details

  • Properties can be accessed via EmeraldTest[...]["Property"]
  • Multiple Properties can be accessed via EmeraldTest[...][{"Property1","Property2"}]
  • Properties:
  • Name
    Description
    DescriptionThe description of the test which was run.
    ExpressionDeferred version of expression that was executed in the test.
    ExpectedValueExpected value from executing the test expression.
    CategoryA String or Symbol categorizing the test.
    SubCategoryA String or Symbol further categorizing the test.
    FatalFailureA Boolean used in a run of multiple tests to determine whether or not to halt further test execution on failure.
    IDA UUID uniquely identifying the test.
    TimeConstraintMaximum time in seconds that a test may take to execute.
  • Input
    Output

Examples

Basic Examples  (3)

Test returns an EmeraldTest:

Extract the Description from an EmeraldTest:

Extract multiple properties from an EmeraldTest: