getRunResults static method
Implementation
static Future<TestResults> getRunResults(
int runId, {
DateTime? createdAfter,
DateTime? createdBefore,
Iterable<int>? createdBy,
String? defectsFilter,
int? limit,
int? offset,
Iterable<int>? statusId,
}) async {
final url = '/get_results_for_run/$runId';
final queryParameters = <String, dynamic>{
'created_after': createdAfter?.millisecondsSinceEpoch,
'created_before': createdBefore?.millisecondsSinceEpoch,
'created_by': createdBy,
'defects_filter': defectsFilter,
'limit': limit,
'offset': offset,
'status_id': statusId?.join(',')
};
return _performRequest(
requestUrl: url,
queryParameters: queryParameters,
);
}