TestSuiteOverviewResponse class
A summary of a test suite result either parsed from XML or uploaded directly by a user. Note: the API related comments are for StepService only. This message is also being used in ExecutionService in a read only mode for the corresponding step.
Constructors
-
TestSuiteOverviewResponse({required Input<
DurationResponse> elapsedTime, required Input<int> errorCount, required Input<int> failureCount, required Input<int> flakyCount, required Input<String> name, required Input<int> skippedCount, required Input<int> totalCount, required Input<FileReferenceResponse> xmlSource}) -
Creates a new TestSuiteOverviewResponse.
elapsedTimeElapsed time of test suite.errorCountNumber of test cases in error, typically set by the service by parsing the xml_source. - In create/response: always set - In update request: neverfailureCountNumber of failed test cases, typically set by the service by parsing the xml_source. May also be set by the user. - In create/response: always set - In update request: neverflakyCountNumber of flaky test cases, set by the service by rolling up flaky test attempts. Present only for rollup test suite overview at environment level. A step cannot have flaky test cases.nameThe name of the test suite. - In create/response: always set - In update request: neverskippedCountNumber of test cases not run, typically set by the service by parsing the xml_source. - In create/response: always set - In update request: nevertotalCountNumber of test cases, typically set by the service by parsing the xml_source. - In create/response: always set - In update request: neverxmlSourceIf this test suite was parsed from XML, this is the URI where the original XML file is stored. Note: Multiple test suites can share the same xml_source Returns INVALID_ARGUMENT if the uri format is not supported. - In create/response: optional - In update request: neverconst -
TestSuiteOverviewResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
elapsedTime
→ Input<
DurationResponse> -
Elapsed time of test suite.
final
-
errorCount
→ Input<
int> -
Number of test cases in error, typically set by the service by parsing the xml_source. - In create/response: always set - In update request: never
final
-
failureCount
→ Input<
int> -
Number of failed test cases, typically set by the service by parsing the xml_source. May also be set by the user. - In create/response: always set - In update request: never
final
-
flakyCount
→ Input<
int> -
Number of flaky test cases, set by the service by rolling up flaky test attempts. Present only for rollup test suite overview at environment level. A step cannot have flaky test cases.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String> -
The name of the test suite. - In create/response: always set - In update request: never
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
skippedCount
→ Input<
int> -
Number of test cases not run, typically set by the service by parsing the xml_source. - In create/response: always set - In update request: never
final
-
totalCount
→ Input<
int> -
Number of test cases, typically set by the service by parsing the xml_source. - In create/response: always set - In update request: never
final
-
xmlSource
→ Input<
FileReferenceResponse> -
If this test suite was parsed from XML, this is the URI where the original XML file is stored. Note: Multiple test suites can share the same xml_source Returns INVALID_ARGUMENT if the uri format is not supported. - In create/response: optional - In update request: never
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited