diff --git a/pubspec.lock b/pubspec.lock index 7f54f84..e243c74 100644 --- a/pubspec.lock +++ b/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: diff --git a/pubspec.yaml b/pubspec.yaml index 1fb7673..91cd574 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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 \ No newline at end of file + moor_ffi: ^0.5.0 diff --git a/test.sh b/test.sh index 5efc157..6cc1c7b 100644 --- a/test.sh +++ b/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