gen_expects 0.1.5 icon indicating copy to clipboard operation
gen_expects: ^0.1.5 copied to clipboard

Code generator that walks the widget tree of the test app and outputs expect statements for widget tests.

3
likes
120/ 140
pub points
55%
popularity

We analyzed this package in the last hour, and awarded it 120 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: MIT.

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

10/10 points: Package has an example

0/10 points: Failed to run dartdoc

  • dartdoc failed with:
exitCode: 255
stdout: [2023-02-01T09:20:54.306260] Starting...
Documenting gen_expects...
Initialized dartdoc with 879 libraries
Generating docs for library gen_expects from package:gen_expects/gen_expects.dart...

stderr: Unhandled exception:
LateInitializationError: Field 'enclosingCombo' has not been initialized.
#0      Accessor.enclosingCombo (package:dartdoc/src/model/accessor.dart)
#1      CommentReferable._lookupViaScope (package:dartdoc/src/model/comment_refe[...]
#2      CommentReferable.referenceBy (package:dartdoc/src/model/comment_referabl[...]
#3      CommentReferable.referenceBy (package:dartdoc/src/model/comment_referabl[...]
#4      CommentReferable.referenceBy (package:dartdoc/src/model/comment_referabl[...]
#5      _getMatchingLinkElement (package:dartdoc/src/markdown_processor.dart:226:30)
#6      getMatchingLinkElement (package:dartdoc/src/markdown_processor.dart:238:16)
#7      MarkdownDocument._makeLinkNode (package:dartdoc/src/markdown_processor.d[...]
#8      new MarkdownDocument.withElementLinkResolver.<anonymous closure> (packag[...]
#9      LinkSyntax._resolveReferenceLink (package:markdown/src/inline_syntaxes/l[...]
#10     LinkSyntax._tryCreateReferenceLink (package:markdown/src/inline_syntaxes[...]
#11     LinkSyntax.close (package:markdown/src/inline_syntaxes/link_syntax.dart:89:12)
#12     InlineParser._linkOrImage (package:markdown/src/inline_parser.dart:158:31)
#13     InlineParser.parse (package:markdown/src/inline_parser.dart:114:9)
#14     MarkdownDocument._parseInlineContent (package:dartdoc/src/markdown_proce[...]
#15     MarkdownDocument._parseInlineContent (package:dartdoc/src/markdown_proce[...]
#16     MarkdownDocument.parseMarkdownText (package:dartdoc/src/markdown_process[...]
#17     Documentation._parseDocumentation (package:dartdoc/src/model/documentati[...]
#18     Documentation._renderDocumentation (package:dartdoc/src/model/documentat[...]
#19     Documentation.asOneLiner (package:dartdoc/src/model/documentation.dart:54:5)
#20     ModelElement.oneLineDoc (package:dartdoc/src/model/model_element.dart:816:49)
#21     GetterSetterCombo.oneLineDoc.<anonymous closure> (package:dartdoc/src/mo[...]
#22     GetterSetterCombo.oneLineDoc (package:dartdoc/src/model/getter_setter_co[...]
#23     GetterSetterCombo.oneLineDoc (package:dartdoc/src/model/getter_setter_combo.dart)
#24     __deduplicated_lib_templates_html__static_properties_html_partial_proper[...]
#25     _deduplicated_lib_templates_html__static_properties_html (package:dartdo[...]
#26     _renderExtension_partial_static_properties_9 (package:dartdoc/src/genera[...]
#27     renderExtension (package:dartdoc/src/generator/templates.aot_renderers_f[...]
#28     HtmlAotTemplates.renderExtension (package:dartdoc/src/generator/template[...]
#29     GeneratorBackendBase.generateExtension (package:dartdoc/src/generator/ge[...]
#30     GeneratorFrontEnd._generateDocs (package:dartdoc/src/generator/generator[...]
#31     GeneratorFrontEnd.generate (package:dartdoc/src/generator/generator_fron[...]
#32     Dartdoc.generateDocsBase (package:dartdoc/src/dartdoc.dart:178:21)
<asynchronous suspension>
#33     Dartdoc.generateDocs (package:dartdoc/src/dartdoc.dart:220:24)
<asynchronous suspension>
#34     pubDartDoc (package:pub_dartdoc/pub_dartdoc.dart:32:19)
<asynchronous suspension>
#35     main (file:///project/pkg/pub_dartdoc/bin/pub_dartdoc.dart:7:52)
<asynchronous suspension>


icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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:gen_expects/gen_expects.dart that imports:
  • dart:io
icon indicating section status
Pass static analysis
30 / 30icon to trigger folding of the section

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

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

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

PackageConstraintCompatibleLatest
analyzer^4.2.04.7.05.4.0
flutterflutter0.0.00.0.0
flutter_testflutter0.0.00.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
_fe_analyzer_shared-47.0.052.0.0
async-2.10.02.10.0
boolean_selector-2.1.12.1.1
characters-1.2.11.2.1
clock-1.1.11.1.1
collection-1.17.01.17.1
convert-3.1.13.1.1
crypto-3.0.23.0.2
fake_async-1.3.11.3.1
file-6.1.46.1.4
glob-2.1.12.1.1
js-0.6.50.6.7
matcher-0.12.130.12.14
material_color_utilities-0.2.00.2.0
meta-1.8.01.9.0
package_config-2.1.02.1.0
path-1.8.21.8.3
pub_semver-2.1.32.1.3
sky_engine-0.0.990.0.99
source_span-1.9.11.9.1
stack_trace-1.11.01.11.0
stream_channel-2.1.12.1.1
string_scanner-1.2.01.2.0
term_glyph-1.2.11.2.1
test_api-0.4.160.4.18
typed_data-1.3.11.3.1
vector_math-2.1.42.1.4
watcher-1.0.21.0.2
yaml-3.1.13.1.1

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

The constraint `^4.2.0` on analyzer does not support the stable version `5.0.0`.

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

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.25, Flutter 3.7.0, Dart 2.19.0.

3
likes
120
pub points
55%
popularity

Publisher

verified publisher iconrichardcoutts.com

Code generator that walks the widget tree of the test app and outputs expect statements for widget tests.

Repository (GitHub)
View/report issues

License

Icon for licenses.MIT (LICENSE)

Dependencies

analyzer, flutter, flutter_test

More

Packages that depend on gen_expects