Skip to content

Run coverage command does not work if project is on different disk than VSCode #12

@centy

Description

@centy

This part of code runs coverage,
cp.exec(cd ${rootProjectPath} && flutter test --coverage, (err, out) => {

When e.g. sources are located on disk d: on windows and VSCode is on disk c: then flutter test --coverage is not able to find test folder.

For test purpouses I changed it to:
cp.exec(d: && cd ${rootProjectPath} && flutter test --coverage, (err, out) => {

and it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions