Skip to content

Flexible Coverage API #1151

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 2 commits into from
Jan 23, 2020
Merged

Flexible Coverage API #1151

merged 2 commits into from
Jan 23, 2020

Conversation

grouma
Copy link
Member

@grouma grouma commented Jan 22, 2020

Towards #36

Update deserializeSuite to take an optional callback for coverage collection. Note that each platform e.g. VM, Browser etc. makes use of this helper. This sets the foundation for per platform custom coverage collection logic.

String coveragePath, LiveSuiteController controller) async {
var suite = controller.liveSuite.suite;
var coverage = await controller.liveSuite.suite.gatherCoverage();
final outfile = File(p.join('$coveragePath',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

coveragePath is already a string, skip the '$'.

@grouma grouma merged commit 93c1ad0 into master Jan 23, 2020
@grouma grouma deleted the coverage-api branch January 23, 2020 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants