goldens 0.0.7 goldens: ^0.0.7 copied to clipboard
A utility package to make golden file testing easier
We analyzed this package 24 hours ago, and awarded it 50 pub points (of a possible 140):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
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
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting goldens... Discovering libraries... ERR: dartdoc 8.0.8 (/tmp/analyzerZGHGIB/pub-cache/global_packages/dartdoc/bin/dartdoc.dart-3.3.3.snapshot) failed: fatal error: unable to locate the input directory at '/tmp/analyzerZGHGIB/pub-cache/h[...] #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:215:7) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:202:27) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:80:55) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:205:32) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:304:22)
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:goldens/goldens.dart
that imports:package:golden_toolkit/golden_toolkit.dart
that imports:package:golden_toolkit/src/widget_tester_extensions.dart
that imports:package:golden_toolkit/src/configuration.dart
that imports:package:flutter_test/flutter_test.dart
that imports:package:flutter_test/src/widget_tester.dart
that imports:package:flutter_test/src/test_text_input.dart
that imports:package:flutter_test/src/test_text_input_key_handler.dart
that imports:package:flutter_test/src/binding.dart
that imports:package:flutter_test/src/platform.dart
that imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 11 issues. Showing the first 2:
ERROR: Target of URI doesn't exist: 'package:test_api/src/expect/async_matcher.dart'.
lib/goldens.dart:11:8
╷
11 │ import 'package:test_api/src/expect/async_matcher.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/goldens.dart
ERROR: Classes can only extend other classes.
lib/goldens.dart:341:34
╷
341 │ class GoldenInputMatcher extends AsyncMatcher {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/goldens.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_test |
flutter |
0.0.0 | 0.0.0 |
golden_toolkit |
^0.9.0 |
0.9.0 | 0.15.0 |
path |
^1.6.4 |
1.9.0 | 1.9.0 |
test_api |
any |
0.6.1 | 0.7.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
boolean_selector |
- | 2.1.1 | 2.1.1 |
characters |
- | 1.3.0 | 1.3.0 |
clock |
- | 1.1.1 | 1.1.1 |
collection |
- | 1.18.0 | 1.18.0 |
fake_async |
- | 1.3.1 | 1.3.1 |
leak_tracker |
- | 10.0.0 | 10.0.5 |
leak_tracker_flutter_testing |
- | 2.0.1 | 3.0.5 |
leak_tracker_testing |
- | 2.0.1 | 3.0.1 |
matcher |
- | 0.12.16+1 | 0.12.16+1 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.11.0 | 1.14.0 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.11.1 | 1.11.1 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
vector_math |
- | 2.1.4 | 2.1.4 |
vm_service |
- | 13.0.0 | 14.2.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.9.0` on golden_toolkit does not support the stable version `0.10.0`.
Try running dart pub upgrade --major-versions golden_toolkit
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Flutter 3.19.5
, Dart 3.3.3
.
Check the analysis log for details.