Skip to content

Add an option to skip unreachable SDK libraries #2912

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

Merged
merged 1 commit into from
Jan 20, 2022

Conversation

srawlins
Copy link
Member

This option should only be used in tests, but it can speed up tests a lot. Using this in dartdoc_test.dart speeds up the test by 60 seconds.

This option will allow us to write more unit tests that build a package graph each go (many tests require the package graph to be built up with elements in order to assert on them), and convert end-to-end tests to unit tests.

@srawlins srawlins requested a review from scheglov January 20, 2022 22:54
@srawlins srawlins merged commit ddbfaa5 into dart-lang:master Jan 20, 2022
@srawlins srawlins deleted the skip-unreachable branch January 20, 2022 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants