FLUTTER ECOSYSTEM

Flutterando/full_coverage

सभी डार्ट फ़ाइलों को देखने के लिए कवरेज टेस्ट टूल को अनुमति देने वाला पैकेज स्क्रिप्ट

पूर्ण कवरेज प्रोजेक्ट कवर
Stars
7
Forks
1
अंतिम पुश (UTC)
1 जुल॰ 2023
प्रोजेक्ट स्थिति
सक्रिय
Flutterando GitHub avatar
GITHUB Organization

Flutterando ↗

The biggest and most active Flutter community in Latin America. Responsible for packages like flutter_modular and flutter_triple.

भाषाएँDart

इस रिपॉज़िटरी के पैकेज

उपयोग की गई निर्भरताएँ

निर्भरता सूची 4 आइटम
  • args^2.3.0
  • path^1.8.1
  • lintsडेवलपमेंट^2.0.1
  • testडेवलपमेंट^1.16.0

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

README खोलें / बंद करें

full_coverage

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.

How it works

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.

Install

Use this command:

dart pub global activate full_coverage

Execute

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

Other commands

-i, --ignore       Ignore files. ex (*_widget.dart,*_page.dart).
-h, --[no-]help    usage doc.

For more details Telegram Group Flutterando.