blob: 4043614be81dce10db6fc30b62cc1c01af5c9281 [file] [log] [blame]
#!/bin/sh
# Generate `coverage/lcov.info` file
flutter test --coverage
# Generate HTML report
# Note: on macOS you need to have lcov installed on your system (`brew install lcov`) to use this:
genhtml coverage/lcov.info -o coverage/html
# Open the report
open coverage/html/index.html