AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Inheritance Hierarchy

System.Object
  Amazon.CodeBuild.Model.TestCase

Namespace: Amazon.CodeBuild.Model
Assembly: AWSSDK.CodeBuild.dll
Version: 3.x.y.z

Syntax

C#
public class TestCase

The TestCase type exposes the following members

Constructors

NameDescription
Public Method TestCase()

Properties

NameTypeDescription
Public Property DurationInNanoSeconds System.Int64

Gets and sets the property DurationInNanoSeconds.

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

Public Property Expired System.DateTime

Gets and sets the property Expired.

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.

Public Property Message System.String

Gets and sets the property Message.

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

Public Property Name System.String

Gets and sets the property Name.

The name of the test case.

Public Property Prefix System.String

Gets and sets the property Prefix.

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.

Public Property ReportArn System.String

Gets and sets the property ReportArn.

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

Public Property Status System.String

Gets and sets the property Status.

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

Public Property TestRawDataPath System.String

Gets and sets the property TestRawDataPath.

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

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5