image_test_utils 1.0.0
image_test_utils: ^1.0.0 copied to clipboard

Makes it easier to provide mocked responses for Image.network widgets in widget tests.

7
likes
70/ 130
pub points
78%
popularity

We analyzed this package on Oct 22, 2021, and awarded it 70 pub points (of a possible 130):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/README.md

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

  • 1 out of 10 API elements (10.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Support multiple platforms
10 / 20

10/20 points: Supports 1 of 2 possible platforms (native, js)

Consider supporting multiple platforms:

Package not compatible with runtime js

Because:

  • package:image_test_utils/image_test_utils.dart that imports:
  • dart:io
Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

lib/image_test_utils.dart doesn't match the Dart formatter.

To format your files run: dart format .

Support up-to-date dependencies
10 / 20

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

PackageConstraintCompatibleLatest
mockito^3.0.03.0.25.0.16
Transitive dependencies
PackageConstraintCompatibleLatest
_fe_analyzer_shared-30.0.030.0.0
analyzer-2.7.02.7.0
args-2.3.02.3.0
async-2.8.22.8.2
boolean_selector-2.1.02.1.0
charcode-1.3.11.3.1
cli_util-0.3.50.3.5
collection-1.15.01.15.0
convert-3.0.13.0.1
coverage-1.0.31.0.3
crypto-3.0.13.0.1
file-6.1.26.1.2
frontend_server_client-2.1.22.1.2
glob-2.0.22.0.2
http_multi_server-3.0.13.0.1
http_parser-4.0.04.0.0
io-1.0.31.0.3
js-0.6.30.6.3
logging-1.0.21.0.2
matcher-0.12.110.12.11
meta-1.7.01.7.0
mime-1.0.11.0.1
node_preamble-2.0.12.0.1
package_config-2.0.22.0.2
path-1.8.01.8.0
pool-1.5.01.5.0
pub_semver-2.1.02.1.0
shelf-1.2.01.2.0
shelf_packages_handler-3.0.03.0.0
shelf_static-1.1.01.1.0
shelf_web_socket-1.0.11.0.1
source_map_stack_trace-2.1.02.1.0
source_maps-0.10.100.10.10
source_span-1.8.11.8.1
stack_trace-1.10.01.10.0
stream_channel-2.1.02.1.0
string_scanner-1.1.01.1.0
term_glyph-1.2.01.2.0
test-1.19.11.19.1
test_api-0.4.60.4.6
test_core-0.4.70.4.7
typed_data-1.3.01.3.0
vm_service-7.3.07.3.0
watcher-1.0.11.0.1
web_socket_channel-2.1.02.1.0
webkit_inspection_protocol-1.0.01.0.0
yaml-3.1.03.1.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^3.0.0` on mockito does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions mockito to update the constraint.

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

Support sound null safety
0 / 20

0/20 points: Package does not opt in to null safety.

Package language version (indicated by the sdk constraint `>=2.0.0 <3.0.0`) is less than 2.12.

Consider migrating.

Analysed with Pana 0.21.3, Dart 2.14.3.

7
likes
70
pub points
78%
popularity

Publisher

iiro.dev

Makes it easier to provide mocked responses for Image.network widgets in widget tests.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (LICENSE)

Dependencies

mockito

More

Packages that depend on image_test_utils