TestCase class

Information about a test case created using a framework such as NUnit or Cucumber. A test case might be a unit test or a configuration test.

Constructors

TestCase({int? durationInNanoSeconds, DateTime? expired, String? message, String? name, String? prefix, String? reportArn, String? status, String? testRawDataPath})
TestCase.fromJson(Map<String, dynamic> json)
factory

Properties

durationInNanoSeconds → int?
The number of nanoseconds it took to run this test case.
final
expired → DateTime?
The date and time a test case expires. A test case expires 30 days after it is created. An expired test case is not available to view in CodeBuild.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String?
A message associated with a test case. For example, an error message or stack trace.
final
name → String?
The name of the test case.
final
prefix → String?
A string that is applied to a series of related test cases. CodeBuild generates the prefix. The prefix depends on the framework used to generate the tests.
final
reportArn → String?
The ARN of the report to which the test case belongs.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → String?
The status returned by the test case after it was run. Valid statuses are SUCCEEDED, FAILED, ERROR, SKIPPED, and UNKNOWN.
final
testRawDataPath → String?
The path to the raw data file that contains the test result.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited