approval_tests_flutter 1.3.1 copy "approval_tests_flutter: ^1.3.1" to clipboard
approval_tests_flutter: ^1.3.1 copied to clipboard

Approval Tests implementation in Dart (Flutter). Inspired by ApprovalTests.

50/ 160
pub points
84
downloads

We analyzed this package 4 days ago, and awarded it 50 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

Dependency resolution failed, unable to run dartdoc.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Platform support detection failed

Could not determine supported platforms as package resolution failed.

Run flutter pub get for more information.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

  • Running flutter pub outdated failed with the following output:
Note: matcher is pinned to version 0.12.18 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

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

  • Could not run flutter pub outdated: flutter pub get failed:
OUT:
Resolving dependencies...
ERR:
Note: matcher is pinned to version 0.12.18 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.


Because test >=1.24.3 <1.25.13 depends on matcher >=0.12.16 <0.12.17 and test >=1.25.13 <1.28.0 depends on matcher >=0.12.16 <0.12.18, test >=1.24.3 <1.28.0 requires matcher >=0.12.16 <0.12.18.
And because every version of flutter_test from sdk depends on matcher 0.12.18, flutter_test from sdk is incompatible with test >=1.24.3 <1.28.0.
And because test >=1.29.0 depends on analyzer >=8.0.0 <11.0.0 and test >=1.27.0 <1.29.0 depends on analyzer >=8.0.0 <10.0.0, if flutter_test from sdk and test >=1.24.3 then analyzer >=8.0.0 <11.0.0.
And because approval_tests >=1.3.3 depends on test ^1.25.0 and approval_tests_flutter depends on analyzer ^7.7.1, flutter_test from sdk is incompatible with approval_tests >=1.3.3.
So, because approval_tests_flutter depends on both approval_tests ^1.3.6 and flutter_test from sdk, version solving failed.

[3 more lines]

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

flutter pub downgrade failed with:

OUT:
Resolving dependencies...
ERR:
Note: matcher is pinned to version 0.12.18 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.


Because test >=1.24.3 <1.25.13 depends on matcher >=0.12.16 <0.12.17 and test >=1.25.13 <1.28.0 depends on matcher >=0.12.16 <0.12.18, test >=1.24.3 <1.28.0 requires matcher >=0.12.16 <0.12.18.
And because every version of flutter_test from sdk depends on matcher 0.12.18, flutter_test from sdk is incompatible with test >=1.24.3 <1.28.0.
And because test >=1.27.0 <1.29.0 depends on analyzer >=8.0.0 <10.0.0 and test >=1.29.0 depends on analyzer >=8.0.0 <11.0.0, if flutter_test from sdk and test >=1.24.3 then analyzer >=8.0.0 <11.0.0.
And because approval_tests >=1.3.3 depends on test ^1.25.0 and approval_tests_flutter depends on analyzer ^7.7.1, flutter_test from sdk is incompatible with approval_tests >=1.3.3.
So, because approval_tests_flutter depends on both approval_tests ^1.3.6 and flutter_test from sdk, version solving failed.

[3 more lines]

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.10, Flutter 3.41.2, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
5
likes
50
points
84
downloads

Publisher

verified publishershodev.live

Weekly Downloads

Approval Tests implementation in Dart (Flutter). Inspired by ApprovalTests.

Repository (GitHub)
View/report issues
Contributing

Topics

#testing #approval #approvals #tests #approval-tests

License

Apache-2.0 (license)

Dependencies

analyzer, approval_tests, flutter, flutter_test, match

More

Packages that depend on approval_tests_flutter