test coverage thing
This commit is contained in:
parent
857775cf37
commit
680e11ed61
10
pubspec.lock
10
pubspec.lock
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
2
test.sh
2
test.sh
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue