mockable_filesystem 0.0.3 copy "mockable_filesystem: ^0.0.3" to clipboard
mockable_filesystem: ^0.0.3 copied to clipboard

Dart 1 only

Provides a FileSystem factory class for allocating File, Directory and Link objects, with two implementations - one which in turn returns the real objects from dart:io, and one which returns mock vers [...]

0
likes
20/ 140
pub points
2%
popularity

We analyzed this package 20 hours ago, and awarded it 20 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

failed
Provide documentation
0 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

Dependency resolution failed, unable to run dartdoc.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
0 / 20trigger folding of the section

0/20 points: Platform support detection failed

Could not determine supported platforms as package resolution failed.

Run dart pub get for more information.

failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

  • Running dart pub outdated failed with the following output:
The lower bound of "sdk: '>=1.0.0 <=3.3.4'" must be 2.12.0'
or higher to enable null safety.
failed
Support up-to-date dependencies
0 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

  • Sdk constraint doesn't support current Dart version 3.3.4. Cannot run dart pub outdated.

0/10 points: Package supports latest stable Dart and Flutter SDKs

Pubspec.yaml does not have an sdk version constraint.

Try adding an sdk constraint to your pubspec.yaml

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

0
likes
20
pub points
2%
popularity

Publisher

unverified uploader

Provides a FileSystem factory class for allocating File, Directory and Link objects, with two implementations - one which in turn returns the real objects from dart:io, and one which returns mock versions. This allows tests to be written that make use of files and directories without having to create them on disk. The mock File/Directory/Link classes are not complete, but have sufficient functionality to work in most cases. The ultimate aim is to have complete mock implementations, as well as the ability to mock Windows file systems on Linux/Mac and vice-versa, to help with testing code for cross-platform correctness.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

logging, path

More

Packages that depend on mockable_filesystem