ecl-logo Documentation

EmeraldTestSummary

EmeraldTestSummary[association]summary

represents the results of executing a group of EmeraldTests.

Details

  • Properties can be accessed via EmeraldTestSummary[...]["Property"]
  • Multiple Properties can be accessed via EmeraldTestSummary[...][{"Property1","Property2"}]
  • Properties:
  • Name
    Description
    TestsForThe item this group of test results is related to.
    PassedTrue if all tests were run and all tests passed.
    SuccessRateRatio of successful results to total tests.
    RunTimeCummulative execution time of all tests for this run.
    TestsA list of the individual tests which were to be run.
    ResultsList of all the tests results for the tests which were run.
    SuccessesList of test results which had a 'Success' outcome.
    ResultFailuresList of test results which had a 'ResultFailure' outcome.
    TimeoutFailuresList of test results which had a 'TimeoutFailure' outcome.
    MessageFailuresList of test results which had a 'MessageFailure' outcome.
  • Input
    Output

Examples

Basic Examples  (3)

RunUnitTest returns an EmeraldTestSummary:

Extract the Pass/Fail boolean for an EmeraldTestSummary:

Extract multiple properties from an EmeraldTestSummary: