solo_test function

  1. @Deprecated('Dev only')
void solo_test(
  1. String description,
  2. dynamic body(), {
  3. String? testOn,
  4. Timeout? timeout,
  5. Object? skip,
  6. @Deprecated('Dev only') bool solo = false,
  7. Map<String, Object?>? onPlatform,
})

expect (see test.dart)

Run the test solo temporarily mark as deprecated so that you don't checkin such code

Implementation

//void expect(Object? actual, Object? matcher, {String? reason, Object? skip}) {
//  testImplementation.expect(actual, matcher, reason: reason, skip: skip);
//}

// Add-ons

///
/// Run the test solo temporarily
/// mark as deprecated so that you don't checkin such code
///
@Deprecated('Dev only')
void
// ignore: non_constant_identifier_names
solo_test(
  String description,
  dynamic Function() body, {
  String? testOn,
  Timeout? timeout,
  Object? skip,
  @Deprecated('Dev only') bool solo = false,
  Map<String, Object?>? onPlatform,
}) {
  testImplementation.test(
    description,
    body,
    testOn: testOn,
    timeout: timeout,
    skip: skip,
    onPlatform: onPlatform,
    // ignore: deprecated_member_use
    solo: true,
  );
}