Module Values.TestCaseSource

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.

Sourcetype nonrec t = {
  1. reportArn : NonEmptyString.t option;
    (*

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

    *)
  2. testRawDataPath : String_.t option;
    (*

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

    *)
  3. prefix : String_.t option;
    (*

    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.

    *)
  4. name : String_.t option;
    (*

    The name of the test case.

    *)
  5. status : String_.t option;
    (*

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

    *)
  6. durationInNanoSeconds : WrapperLong.t option;
    (*

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

    *)
  7. message : String_.t option;
    (*

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

    *)
  8. expired : Timestamp.t option;
    (*

    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.

    *)
  9. testSuiteName : String_.t option;
    (*

    The name of the test suite that the test case is a part of.

    *)
}
Sourceval make : ?reportArn:??? -> ?testRawDataPath:??? -> ?prefix:??? -> ?name:??? -> ?status:??? -> ?durationInNanoSeconds:??? -> ?message:??? -> ?expired:??? -> ?testSuiteName:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of WrapperLong.t | `String of NonEmptyString.t | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t