Closed fanchengwen closed 5 years ago
@fanchengwen Great, may I ask you to document at https://github.com/yodaos-project/yodart/tree/master/test, too?
Wondering if the coverage data could be combined after all tests ran. Some of the test suites expected to be ran in a separate context.
the function run_local will generate the coverage date at the end of the unit test, so it contains all coverage information about this test.
Merging #747 into master will decrease coverage by
1.2%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## master #747 +/- ##
==========================================
- Coverage 67.67% 66.46% -1.21%
==========================================
Files 18 23 +5
Lines 863 1136 +273
==========================================
+ Hits 584 755 +171
- Misses 279 381 +102
Impacted Files | Coverage Δ | |
---|---|---|
packages/@yoda/battery/index.js | 25% <0%> (ø) |
|
packages/@yoda/property/index.js | 48.71% <0%> (ø) |
|
apps/battery/battery.js | 78.5% <0%> (ø) |
|
apps/battery/app.js | 39.36% <0%> (ø) |
|
packages/@yoda/manifest/index.js | 70.58% <0%> (ø) |
|
packages/logger/index.js | 92.68% <0%> (+2.43%) |
:arrow_up: |
runtime/lib/component/app-loader.js | 72.09% <0%> (+8.13%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update b2ec665...1a20a6a. Read the comment docs.
optimize the way to run unittest that can generate coverage data just in a file when run test-local
Checklist
npm test
passes