-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
leak-tracker: Support pure Dart package #257
Comments
Thanks for filing it! How about design discussion? I sent you message in Twitter to schedule. |
Relevant issue: flutter/flutter#161132 |
Question: can you add dev dependency on flutter_test and use 'testWidgets' instead of 'test' to get leak tracking for your tests? |
It should be possible but it require to reconfigure the project from pure dart to flutter as we also need to import the flutter sdk. |
Currently I'm using a monorepo with all logics and tests relying on dart then another flutter project build on the logic. To use flutter test on logic would mean to import Flutter sdk which is not an option for later build purpose. Flutter projects would not cover the same testing surface thus a case to check for memory leaks first on a pure dart project and then later on widgets. |
Makes sense. Then next step is a one-page design doc to enable leak tracking in dart |
Hi,
leak-tracker is an important tool in the dart world as the language is moving from being mainly front to also model rich world logic.
I'm working on a large package that would greatly benefits from memory insights while dealing with deep data structures and operations.
Thanks!
The text was updated successfully, but these errors were encountered: