dartproptest 0.1.0 copy "dartproptest: ^0.1.0" to clipboard
dartproptest: ^0.1.0 copied to clipboard

A property-based testing framework for Dart, inspired by QuickCheck and Hypothesis. Ported from jsproptest.

140/ 160
pub points
--
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Documentation URL doesn't exist.

At the time of the analysis https://github.com/kindone/dartproptest/blob/main/docs/index.md was unreachable. Make sure that the website is reachable via HEAD requests.

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: BSD-3-Clause.

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

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

266 out of 299 API elements (89.0 %) have documentation comments.

Some symbols that are missing documentation: dartproptest.Action.func, dartproptest.Action.name, dartproptest.Generator.Generator.new, dartproptest.JSONStringify.JSONStringify.new, dartproptest.PreconditionError.PreconditionError.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 26 issues. Showing the first 2:

INFO: Angle brackets will be interpreted as HTML.

lib/src/combinator/elementof.dart:70:80

   ╷
70 │ /// [values] An array containing either plain values of type T or WeightedValue<T> objects.
   │                                                                                ^^^
   ╵

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

INFO: The variable name 'Left' isn't a lowerCamelCase identifier.

lib/src/either.dart:137:14

    ╷
137 │ Either<L, R> Left<L, R>(L left) {
    │              ^^^^
    ╵

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

No dependencies.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Dart 3.9.3.

Check the analysis log for details.

0
likes
140
points
--
downloads

Publisher

unverified uploader

A property-based testing framework for Dart, inspired by QuickCheck and Hypothesis. Ported from jsproptest.

Repository (GitHub)
View/report issues
Contributing

Topics

#testing #property-based-testing #quickcheck #bdd #tdd

Documentation

Documentation
API reference

License

BSD-3-Clause (license)

More

Packages that depend on dartproptest