Skip to content

Commit

Permalink
Alter testing routine
Browse files Browse the repository at this point in the history
  • Loading branch information
w2sv committed Sep 14, 2022
1 parent d1b6fe3 commit b9495fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ SHELL=/bin/bash
test-and-show-coverage: run-tests coverage-html

run-tests:
dart pub global activate coverage
dart pub global run coverage:test_with_coverage
@dart run test --coverage=./coverage --chain-stack-traces
@echo "Converting to lcov.info"
@dart pub global activate coverage > /dev/null
@dart pub global run coverage:format_coverage --packages=.dart_tool/package_config.json --report-on=lib --lcov -o ./coverage/lcov.info -i ./coverage

coverage-html:
genhtml coverage/lcov.info -o coverage/html
Expand Down

0 comments on commit b9495fe

Please sign in to comment.