Skip to content

No Coverage Generated #516

Open
Open
@MelbourneDeveloper

Description

@MelbourneDeveloper

I have a simple shelf server app. I have six tests. They run correctly, but the tool doesn't generate any code coverage.

[✓] Flutter (Channel stable, 3.10.1, on macOS 13.3.1 22E772610a darwin-arm64, locale en-AU)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.78.2)
[✓] Connected device (2 available)
[✓] Network resources

Package version: 1.6.3

I installed with:

dart pub global activate coverage

I run this command:

dart pub global run coverage:test_with_coverage

This is the terminal output
image

coverage.json

{"type":"CodeCoverage","coverage":[]}

lcov.info is blank.

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