Skip to content

How to run coverage for multiple packages in a mono_repo #525

Open
@dcharkes

Description

@dcharkes

Sometimes I want to gather coverage for multiple packages in a mono_repo.

I tried to be smart, and run things in parallel, but that doesn't work:

$ (cd ../native_assets_cli/ && dart pub global run coverage:test_with_coverage) & (cd ../native_assets_builder/ && dart pub global run coverage:test_with_coverage) & (cd ../native_toolchain_c/ && dart pub global run coverage:test_with_coverage) && wait
[1] 88093
[2] 88094
The Dart VM service is listening on http://127.0.0.1:8181/
Could not start the VM service: localhost:8181 is already in use.
Could not start the VM service: localhost:8181 is already in use.

Maybe there is a better way to gather coverage for multiple packages.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions