matcher 0.12.13 icon indicating copy to clipboard operation
matcher: ^0.12.13 copied to clipboard

Support for specifying test expectations via an extensible Matcher class. Also includes a number of built-in Matcher implementations for common cases.

35
likes
80/ 140
pub points
100%
popularity

We analyzed this package 3 days ago, and awarded it 80 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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.

icon indicating section status
Provide documentation
10 / 20icon to trigger folding of the section

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 98 out of 105 API elements (93.3 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS
  • ✓ Web
icon indicating section status
Pass static analysis
0 / 30icon to trigger folding of the section

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

ERROR: The name 'CyclicInitializationError' isn't a type, so it can't be used as a type argument.

lib/src/error_matchers.dart:19:49

   ╷
19 │ const isCyclicInitializationError = TypeMatcher<CyclicInitializationError>();
   │                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/error_matchers.dart

ERROR: The name 'NullThrownError' isn't a type, so it can't be used as a type argument.

lib/src/error_matchers.dart:31:39

   ╷
31 │ const isNullThrownError = TypeMatcher<NullThrownError>();
   │                                       ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/error_matchers.dart

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

Package Constraint Compatible Latest
meta ^1.8.0 1.9.1 1.9.1
stack_trace ^1.10.0 1.11.0 1.11.0
Transitive dependencies
Package Constraint Compatible Latest
path - 1.8.3 1.8.3

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

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

icon indicating section status
Dart 3 compatibility
0 / 20icon to trigger folding of the section

0/20 points: Dart 3 compatibility has one or more issues.

ERROR: The name 'CyclicInitializationError' isn't a type, so it can't be used as a type argument.

lib/src/error_matchers.dart:19:49

   ╷
19 │ const isCyclicInitializationError = TypeMatcher<CyclicInitializationError>();
   │                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using Dart 3 and run dart analyze lib/src/error_matchers.dart

ERROR: The name 'NullThrownError' isn't a type, so it can't be used as a type argument.

lib/src/error_matchers.dart:31:39

   ╷
31 │ const isNullThrownError = TypeMatcher<NullThrownError>();
   │                                       ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using Dart 3 and run dart analyze lib/src/error_matchers.dart

Analysed with Pana 0.21.32, Dart 3.0.0.

35
likes
80
pub points
100%
popularity

Publisher

verified publisher icondart.dev

Support for specifying test expectations via an extensible Matcher class. Also includes a number of built-in Matcher implementations for common cases.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

meta, stack_trace

More

Packages that depend on matcher