leak_tracker_testing 1.0.4 copy "leak_tracker_testing: ^1.0.4" to clipboard
leak_tracker_testing: ^1.0.4 copied to clipboard

unlisted

Leak tracking code intended for usage in tests.

pub package package publisher

Coming soon! See https://github.com/flutter/devtools/issues/3951.

What is this? #

This is helper for testing leak_tracker.

They are separated from leak_tracker to make sure testing code is not used in production.

How to use the helpers? #

To test for leaks with descriptive messages, use isLeakFree against a Leaks instance:

final leaks = await LeakTracking.collectLeaks();
expect(leaks, isLeakFree);

See more examples in end_to_end_test.dart.

0
likes
0
pub points
96%
popularity

Publisher

verified publishertools.dart.dev

Leak tracking code intended for usage in tests.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

leak_tracker, test

More

Packages that depend on leak_tracker_testing