flutter_fixtures_dio 0.2.0 copy "flutter_fixtures_dio: ^0.2.0" to clipboard
flutter_fixtures_dio: ^0.2.0 copied to clipboard

Dio implementation for Flutter Fixtures

Changelog #

0.2.0 #

  • BREAKING: a selected fixture whose description does not start with a 3-digit status code now rejects with a clear error instead of throwing FormatException.
  • DioDataQuery accepts an assetLoader, making find testable without a Flutter asset bundle; fixture IO is delegated to core's FixtureSource.
  • A matched fixture file with malformed JSON now reports the parse error instead of "no fixture found".
  • Query-parameter candidate priority (exact → values → *{{key}}) is now documented.

0.1.3 #

  • Support JSON arrays as response data in DataQuery.

0.1.2 Response Delay #

  • Add dataSelectorDelay parameter to FixturesInterceptor to simulate response delays.

0.1.1 Mustache matching refinements #

  • Remove hardcoded mustache placeholder generation; placeholders now only match actual request query parameter keys (alphabetically sorted) when building candidates.
  • Keep candidate order: exact > value-appended > star-by-count > mustache-by-keys.
  • Update tests accordingly and minor internal cleanups.

0.1.0 First Minor Release #

  • Updated all packages to version 0.1.0
  • Renamed Fixture mixin to FixtureSelector for better clarity
  • Improved documentation across all packages
  • Added comprehensive CONTRIBUTING.md guide
  • Added MIT License
  • Updated GitHub repository references to brotoo25/flutter_fixtures

0.0.1 Initial Release #

  • Initial release of Flutter Fixtures
  • Restructured as a workspace with multiple packages:
    • flutter_fixtures_core: Core interfaces and domain models
    • flutter_fixtures_dio: Dio implementation
    • flutter_fixtures_ui: UI components
    • flutter_fixtures: Meta-package that depends on all the above
  • Support for Dio HTTP client
  • Three fixture selection modes: Random, Default, and Pick
  • Dialog-based UI for user selection
  • Example app demonstrating basic and advanced usage
1
likes
0
points
217
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

Dio implementation for Flutter Fixtures

Repository (GitHub)
View/report issues

Topics

#mock #http #testing #fixtures

License

unknown (license)

Dependencies

dio, flutter, flutter_fixtures_core

More

Packages that depend on flutter_fixtures_dio