live_test_view 0.2.1 copy "live_test_view: ^0.2.1" to clipboard
live_test_view: ^0.2.1 copied to clipboard

Watch Flutter widget tests render live in your editor. Companion package for the Live Test View VS Code extension.

0.2.1 #

  • Fix: a font that fails to load from FontManifest.json no longer aborts the rest of the manifest — each family loads independently, and a failure emits a ##LTV## warning line naming it instead of silently rendering a placeholder box.
  • Document that google_fonts can't render in Live Test View (a structural conflict with flutter_test's HTTP mocking, not a bug) and the offline-asset workaround.

0.2.0 #

  • Fix bug where jank inital and final frames were rendering

0.1.0 #

Initial release.

  • liveTestView test-executable hook: activates frame capture only when LIVE_TEST_VIEW=1 is set, and is a byte-for-byte no-op otherwise.
  • Frame capture after every pumped frame, encoded as PNG and emitted as an ordered, gapless sequence of ##LTV##-prefixed JSON lines on stdout.
  • 500-frame cap per test run, with a warning line emitted once the cap is reached.
  • dart run live_test_view:install — writes test/flutter_test_config.dart, or prints manual wiring instructions if one already exists.
0
likes
150
points
115
downloads

Documentation

API reference

Publisher

verified publisheranirudhsingh.in

Weekly Downloads

Watch Flutter widget tests render live in your editor. Companion package for the Live Test View VS Code extension.

Repository

License

MIT (license)

Dependencies

flutter, flutter_test

More

Packages that depend on live_test_view