Skip to content

Commit

Permalink
Print coverage report after run
Browse files Browse the repository at this point in the history
  • Loading branch information
passsy committed Dec 6, 2018
1 parent 74b61c1 commit ee32a2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tool/run_coverage_locally.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
pub global run coverage:collect_coverage --port=8111 -o out/coverage/coverage.json --resume-isolates --wait-paused &
dart --observe=8111 test/dart_kollection_test.dart
pub global run coverage:format_coverage --packages=.packages --report-on lib --in out/coverage/coverage.json --out out/coverage/lcov.info --lcov
genhtml -o out/coverage/html out/coverage/lcov.info
genhtml -o out/coverage/html out/coverage/lcov.info
echo "open coverage report $PWD/out/coverage/html/index.html"

0 comments on commit ee32a2c

Please sign in to comment.