critical_test 4.0.0 copy "critical_test: ^4.0.0" to clipboard
critical_test: ^4.0.0 copied to clipboard

outdated

Critical Test is a cli tool designed to simplify the process of fixing broken unit tests in Dart.

100/ 160
pub points
164
downloads

We analyzed this package 3 days ago, and awarded it 100 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

Homepage URL doesn't exist.

At the time of the analysis https://www.noojee.dev was unreachable. Make sure that the website is reachable via HEAD requests.

Documentation URL doesn't exist.

At the time of the analysis https://criticaltest.noojee.dev 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: MIT.

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

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

5 out of 45 API elements (11.1 %) 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.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: critical_test, critical_test.Counts, critical_test.Counts.Counts.copyFrom, critical_test.Counts.Counts.new, critical_test.Counts.Counts.withValues.

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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:critical_test/critical_test.dart that imports:
  • package:critical_test/src/process_output.dart that imports:
  • package:critical_test/src/util/counts.dart that imports:
  • package:dcli/dcli.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:critical_test/critical_test.dart that imports:
  • package:critical_test/src/process_output.dart that imports:
  • package:critical_test/src/util/counts.dart that imports:
  • package:dcli/dcli.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Web`.

Because:

  • package:critical_test/critical_test.dart that imports:
  • package:critical_test/src/process_output.dart that imports:
  • package:critical_test/src/util/counts.dart that imports:
  • package:dcli/dcli.dart that declares support for platforms: Windows, Linux, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Linux`.

Because:

  • package:critical_test/critical_test.dart that imports:
  • package:critical_test/src/process_output.dart that imports:
  • package:critical_test/src/util/counts.dart that imports:
  • package:dcli/dcli.dart that imports:
  • package:dcli/src/util/terminal.dart that imports:
  • package:dart_console2/dart_console2.dart that imports:
  • package:dart_console2/src/console.dart that imports:
  • package:dart_console2/src/ffi/win/termlib_win.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:critical_test/critical_test.dart that imports:
  • package:critical_test/src/process_output.dart that imports:
  • package:critical_test/src/util/counts.dart that imports:
  • package:dcli/dcli.dart that imports:
  • package:dcli/src/util/terminal.dart that imports:
  • package:dart_console2/dart_console2.dart that imports:
  • package:dart_console2/src/console.dart that imports:
  • package:dart_console2/src/ffi/win/termlib_win.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
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 3 issues. Showing the first 2:

INFO: The import of 'package:args/args.dart' is unnecessary because all of the used elements are also provided by the import of 'package:dcli/dcli.dart'.

lib/src/main.dart:3:8

  ╷
3 │ import 'package:args/args.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: Angle brackets will be interpreted as HTML.

lib/src/unit_tests/unit_test.dart:14:5

   ╷
14 │ /// <group name> <test name>
   │     ^^^^^^^^^^^^
   ╵

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

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

Package Constraint Compatible Latest Notes
args ^2.0.0 2.7.0 2.7.0
cli_script ^0.2.0 0.2.6 1.0.0
dcli ^1.5.7 1.36.2 8.4.2
json_annotation ^4.1.0 4.11.0 4.11.0
meta ^1.0.0 1.18.2 1.18.2
path ^1.8.0 1.9.1 1.9.1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.9
async - 2.13.1 2.13.1
basic_utils - 3.9.4 5.8.2
boolean_selector - 2.1.2 2.1.2
characters - 1.4.1 1.4.1
charcode - 1.4.0 1.4.0
chunked_stream - 1.4.2 1.4.2
circular_buffer - 0.11.0 0.13.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
csv - 5.1.1 8.0.0
dart_console2 - 2.0.1 3.1.1 Discontinued
dcli_core - 1.36.2 8.4.2
equatable - 2.0.8 2.0.8
ffi - 2.2.0 2.2.0
file - 6.1.4 7.0.1
file_utils - 1.0.1 1.0.1 Discontinued
functional_data - 1.2.0 1.2.0
glob - 2.1.3 2.1.3
globbing - 1.0.0 1.0.0 Discontinued
http - 0.13.6 1.6.0
http_parser - 4.1.2 4.1.2
ini - 2.1.0 2.1.0
intl - 0.17.0 0.20.2
js - 0.7.2 0.7.2 Discontinued
json2yaml - 3.0.1 3.0.1
logging - 1.3.0 1.3.0
matcher - 0.12.20 0.12.20
mime - 1.0.6 2.0.0
pointycastle - 3.9.1 4.0.0
posix - 4.1.0 6.5.0
pub_semver - 2.2.0 2.2.0
pubspec2 - 2.4.2 4.0.0 Discontinued
pubspec_lock - 3.0.2 3.0.2
quiver - 3.2.2 3.2.2
random_string - 2.3.1 2.3.1
scope - 3.0.0 5.1.0
settings_yaml - 4.0.1 8.3.1
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
stacktrace_impl - 2.3.0 2.3.0 Discontinued
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
sum_types - 0.3.5 0.4.0
system_info2 - 2.0.4 4.1.0
term_glyph - 1.2.2 1.2.2
test_api - 0.7.12 0.7.12
tuple - 2.0.2 2.0.2
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.3
validators2 - 3.0.0 5.1.0
vin_decoder - 0.2.1-nullsafety 0.2.1-nullsafety
win32 - 3.1.4 6.1.0
yaml - 3.1.3 3.1.3

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

The constraint `^0.2.0` on cli_script does not support the stable version `0.3.0`.

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

The constraint `^1.5.7` on dcli does not support the stable version `2.0.1`.

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

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

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

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_METHOD - lib/src/process_output.dart:269:26 - The method 'limitString' isn't defined for the type 'Format'.
  • UNDEFINED_METHOD - lib/src/unit_tests/unit_test.dart:62:46 - The method 'toParagraph' isn't defined for the type 'Progress'.

Run dart pub downgrade and then dart 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.12, Dart 3.11.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
100
points
164
downloads

Documentation

Documentation
API reference

Publisher

verified publisheronepub.dev

Weekly Downloads

Critical Test is a cli tool designed to simplify the process of fixing broken unit tests in Dart.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, cli_script, dcli, json_annotation, meta, path

More

Packages that depend on critical_test