createIdFromReport static method

String createIdFromReport(
  1. TestReport report
)

Implementation

static String createIdFromReport(TestReport report) {
  final suiteName = report.suiteName;
  final testName = report.name;
  final deviceInfo = report.deviceInfo;

  return createId(
    deviceInfo: deviceInfo ?? TestDeviceInfo.unknown(),
    suiteName: suiteName,
    testName: testName ?? 'unknown',
  );
}