gen_expects 0.1.5
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):
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
.
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>
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
30/30 points: code has no errors, warnings, lints, or formatting issues
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
analyzer | ^4.2.0 | 4.7.0 | 5.4.0 |
flutter | flutter | 0.0.0 | 0.0.0 |
flutter_test | flutter | 0.0.0 | 0.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_fe_analyzer_shared | - | 47.0.0 | 52.0.0 |
async | - | 2.10.0 | 2.10.0 |
boolean_selector | - | 2.1.1 | 2.1.1 |
characters | - | 1.2.1 | 1.2.1 |
clock | - | 1.1.1 | 1.1.1 |
collection | - | 1.17.0 | 1.17.1 |
convert | - | 3.1.1 | 3.1.1 |
crypto | - | 3.0.2 | 3.0.2 |
fake_async | - | 1.3.1 | 1.3.1 |
file | - | 6.1.4 | 6.1.4 |
glob | - | 2.1.1 | 2.1.1 |
js | - | 0.6.5 | 0.6.7 |
matcher | - | 0.12.13 | 0.12.14 |
material_color_utilities | - | 0.2.0 | 0.2.0 |
meta | - | 1.8.0 | 1.9.0 |
package_config | - | 2.1.0 | 2.1.0 |
path | - | 1.8.2 | 1.8.3 |
pub_semver | - | 2.1.3 | 2.1.3 |
sky_engine | - | 0.0.99 | 0.0.99 |
source_span | - | 1.9.1 | 1.9.1 |
stack_trace | - | 1.11.0 | 1.11.0 |
stream_channel | - | 2.1.1 | 2.1.1 |
string_scanner | - | 1.2.0 | 1.2.0 |
term_glyph | - | 1.2.1 | 1.2.1 |
test_api | - | 0.4.16 | 0.4.18 |
typed_data | - | 1.3.1 | 1.3.1 |
vector_math | - | 2.1.4 | 2.1.4 |
watcher | - | 1.0.2 | 1.0.2 |
yaml | - | 3.1.1 | 3.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
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
.