Skip to content

Instantly share code, notes, and snippets.

View mohamedzakaria974's full-sized avatar

Mohamed Zakaria mohamedzakaria974

View GitHub Profile
@mohamedzakaria974
mohamedzakaria974 / tests_with_coverage.sh
Created January 2, 2024 22:55 — forked from adavis/tests_with_coverage.sh
Script for running all Flutter unit and widget tests with code coverage and then displaying the HTML report.
#!/usr/bin/env bash
red=$(tput setaf 1)
none=$(tput sgr0)
show_help() {
printf "usage: $0 [--help] [--report] [--test] [<path to package>]
Script for running all unit and widget tests with code coverage.
(run from root of repo)