test coverage thing

This commit is contained in:
Sorunome 2020-06-05 15:24:40 +02:00
parent 857775cf37
commit 680e11ed61
No known key found for this signature in database
GPG key ID: B19471D07FC9BE9C
3 changed files with 13 additions and 7 deletions

View file

@ -596,10 +596,12 @@ packages:
test_coverage:
dependency: "direct dev"
description:
name: test_coverage
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.1"
path: "."
ref: "6831abb314cc05e32b5d9140324e84069484b2eb"
resolved-ref: "6831abb314cc05e32b5d9140324e84069484b2eb"
url: "https://github.com/pulyaevskiy/test-coverage.git"
source: git
version: "0.4.2"
timing:
dependency: transitive
description:

View file

@ -29,8 +29,12 @@ dependencies:
dev_dependencies:
test: ^1.0.0
test_coverage: ^0.4.1
test_coverage:
git:
url: https://github.com/pulyaevskiy/test-coverage.git
ref: 6831abb314cc05e32b5d9140324e84069484b2eb
# test_coverage: ^0.4.1
moor_generator: ^3.0.0
build_runner: ^1.5.2
pedantic: ^1.9.0
moor_ffi: ^0.5.0
moor_ffi: ^0.5.0

View file

@ -1,6 +1,6 @@
#!/bin/sh -e
pub run test -p vm
pub run test_coverage
pub run test_coverage --print-test-output
pub global activate remove_from_coverage
pub global run remove_from_coverage:remove_from_coverage -f coverage/lcov.info -r '.g.dart$'
genhtml -o coverage coverage/lcov.info || true