Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

feat: log coverage when is a valid build#189

Merged
felangel merged 3 commits into
VeryGoodOpenSource:mainfrom
jamesblasco:feat/display-message-with-coverage
Nov 14, 2022
Merged

feat: log coverage when is a valid build#189
felangel merged 3 commits into
VeryGoodOpenSource:mainfrom
jamesblasco:feat/display-message-with-coverage

Conversation

@jamesblasco

Copy link
Copy Markdown
Contributor

Description

Adds log message displaying coverage when this is above the min coverage.

If coverage is 100% it will be displayed like:

    Coverage: 100%.

If coverage is below 100% but still above min_coverage, it will be displayed as:

    Coverage: 95%.
    Coverage is more than min_coverage 80.
    
    Lines not covered:
      - /Users/felix/Development/github.com/felangel/bloc/packages/bloc/lib/src/bloc_observer.dart: 20, 27, 36, 43, 51

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

Comment thread index.js Outdated
Comment thread index.test.js Outdated
@felangel felangel merged commit e7f28f5 into VeryGoodOpenSource:main Nov 14, 2022
@felangel felangel linked an issue Nov 14, 2022 that may be closed by this pull request
@github-actions github-actions Bot added the feature A new feature or request label Feb 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

feature A new feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Display current coverage percentage *Always*

2 participants