full_coverage
Ein Paketskript, das dem Abdeckungstestwerkzeug ermöglicht, alle Dart-Dateien zu sehen.
Ein Paketskript, das dem Abdeckungstest-Tool ermöglicht, alle Dart-Dateien zu sehen
Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.
Coverage tools like codecov only see the files that were actually triggered by tests. This means that a coverage of 100% can easily be a lie, e.g. you can just write a dummy test that does not import any files and a coverage tool will ignore all the code base.
Luckily, this package resolves this problem.
The full_coverage package harvests the power of Bash to find all files in specified directory, by default it is lib directory, where all Flutter files are. It then creates a dummy test file test/full_coverage_test.dart that imports all the Dart files that were found and has an empty void main() {} function so that it actually starts.
Use this command:
dart pub global activate full_coverage
Use the command:
dart pub global run full_coverage
Or add the cache-system to your PATH environment variable for run directly. Check documentation for more;
full_coverage
-i, --ignore Ignore files. ex (*_widget.dart,*_page.dart).
-h, --[no-]help usage doc.
For more details Telegram Group Flutterando.
Nach Anwendungsfall filtern, Aktivität vergleichen und vor der Nutzung das Originalprojekt prüfen.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗