mogen_integration_tests 1.0.10 copy "mogen_integration_tests: ^1.0.10" to clipboard
mogen_integration_tests: ^1.0.10 copied to clipboard

Scans datasource GET endpoints and auto-generates integration test scaffolding.

example/example.dart

// ignore_for_file: avoid_print

/// Example usage for mogen_integration_tests.
///
/// Place your datasource files under:
///
/// ```
/// lib/
/// └── features/
///     └── auth/
///         └── data/
///             └── datasources/
///                 └── auth_remote_datasource.dart
/// ```
///
/// Then from the project root run:
///
/// ```
/// dart run mogen_integration_tests
/// ```
///
/// To generate tests for a single feature:
///
/// ```
/// dart run mogen_integration_tests --feature auth
/// ```
///
/// Generated tests are written to:
///
/// ```
/// test/integration/features/auth/
/// ```
library;

void main() {
  print(
      'Run `dart run mogen_integration_tests` from your Flutter project root.');
}
1
likes
0
points
245
downloads

Publisher

unverified uploader

Weekly Downloads

Scans datasource GET endpoints and auto-generates integration test scaffolding.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, args, dart_style, dio, glob, lints, path, yaml

More

Packages that depend on mogen_integration_tests