Skip to main content

easy_mock_path_provider 0.1.1 copy "easy_mock_path_provider: ^0.1.1" to clipboard
easy_mock_path_provider: ^0.1.1 copied to clipboard

Readable test mock for the path_provider method channel, built on easy_mock_channel. Provides default directory paths and simple overrides with no dependency on path_provider.

0.1.1 #

  • Move default paths under /app_root. Temporary storage uses /app_root/tmp; external storage and cache use /app_root/external/files and /app_root/external/cache.
  • Custom path overrides still require caller-created directories.

0.1.0 #

  • Built on easy_mock_channel with no dependency on the real plugin.
  • Initial release with mockPathProvider.init() and defaults for every directory.
  • Override paths with set(...), including external storage directory lists.
  • Simulate delayed and failed lookups with delay(...) and throwError(...).
  • Remove the method-channel handler automatically after each test.
0
likes
150
points
293
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Readable test mock for the path_provider method channel, built on easy_mock_channel. Provides default directory paths and simple overrides with no dependency on path_provider.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

easy_mock_channel, flutter, flutter_test

More

Packages that depend on easy_mock_path_provider