TestResult class
Constructors
-
TestResult.new({int? assignedToId, List<
int> ? attachmentIds, String? comment, int? createdBy, DateTime? createdOn, List<CustomStep> ? customStepResults, String? defects, String? elapsed, required int id, int? statusId, int? testId, String? version}) -
TestResult.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
asJson
→ Map<
String, dynamic> -
no setter
- assignedToId → int?
-
final
-
attachmentIds
→ List<
int> ? -
Not provided as response field in TestRail API documentation
final
- comment → String?
-
final
- createdBy → int?
-
final
- createdOn → DateTime?
-
final
-
customStepResults
→ List<
CustomStep> ? -
final
- defects → String?
-
final
- elapsed → String?
-
in
1m 38s
formatfinal - hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusId → int?
-
final
- testId → int?
-
final
- version → String?
-
final
Methods
-
addAttachment(
String path) → Future< TestAttachment> -
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
Static Methods
-
addRunResults(
int runId, {required List< TestStatus> addTestResults}) → Future<TestResults> -
addTestResult(
int testId, {int? limit, int? offset, int? statusId, int? version}) → Future< TestResult> -
getCaseResults(
int caseId, {required int runId, String? defectsFilter, int? limit, int? offset, Iterable< int> ? statusId}) → Future<TestResults> -
getRunResults(
int runId, {DateTime? createdAfter, DateTime? createdBefore, Iterable< int> ? createdBy, String? defectsFilter, int? limit, int? offset, Iterable<int> ? statusId}) → Future<TestResults> -
getTestResults(
int testId, {int? limit, int? offset}) → Future< TestResults>