TestCase

class TestCase

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.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The number of nanoseconds it took to run this test case.

Link copied to clipboard

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.

Link copied to clipboard

A message associated with a test case. For example, an error message or stack trace.

Link copied to clipboard
val name: String?

The name of the test case.

Link copied to clipboard

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.

Link copied to clipboard

The ARN of the report to which the test case belongs.

Link copied to clipboard

The status returned by the test case after it was run. Valid statuses are SUCCEEDED, FAILED, ERROR, SKIPPED, and UNKNOWN.

Link copied to clipboard

The path to the raw data file that contains the test result.

Functions

Link copied to clipboard
inline fun copy(block: TestCase.Builder.() -> Unit = {}): TestCase
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String