FLUTTER ECOSYSTEM

full_coverage

A package script for allowing coverage test tool to see all Dart files.

Latest version
1.0.0
30-day downloads
11.4K
Likes
24
Pub points
155

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The full_coverage package is a script tool designed to ensure coverage testing tools can detect and analyze all Dart files in a Flutter project. It addresses common issues where certain files are excluded from coverage reports due to how the test runner discovers source files. By integrating this package, developers gain more accurate code coverage metrics across the entire codebase, improving testing reliability. It supports multiple platforms including Android, iOS, macOS, Windows, and Linux.

Use cases
  • Ensuring complete code coverage in CI/CD pipelines
  • Improving test reporting accuracy
  • Debugging missing coverage for specific files
  • Supporting comprehensive testing workflows
  • Integrating with coverage analysis tools
Key features
  • Automatically includes all Dart files in coverage scanning
  • Simple integration via Flutter pub add
  • Cross-platform compatibility
  • Enhances visibility of untested code
  • Works seamlessly with existing test suites
Suitable for
  • Flutter teams focused on high test coverage
  • CI/CD environments requiring reliable coverage data
  • Developers troubleshooting coverage gaps
  • Projects using coverage tools like `coverage` or `dart test --coverage`
  • Teams aiming for compliance with testing standards
Considerations
  • Requires proper configuration in test scripts
  • May need adjustments if custom file discovery is used
  • Not a standalone testing tool but a supplement
  • Best used alongside structured testing practices
  • Does not generate tests—only improves coverage visibility
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add full_coverage

Categories

Dependencies

Dependency list 2 items

Source repository

Related projects