TestResult

TestResult

I represent all the possible results for a test, that can be:

  • success: means that all the assertions on a test were successful
  • failure: one of the test assertions failed, or the user triggered an explicit failure
  • error: an unexpected exception occurred during the execution of the test
  • pending: the user marked the test as such
  • skipped: the test was not executed in the current run
  • explicitly skipped: the user chose not to run the test