[DPTN-1307] Adding e2e and ut combined coverage checking scripts#2754
[DPTN-1307] Adding e2e and ut combined coverage checking scripts#2754
Conversation
61993be to
aaabe42
Compare
b350310 to
2b2dd5a
Compare
felipemadero
left a comment
There was a problem hiding this comment.
If possible, please add a way to check coverage only for given files or directories.
This is to check partial improvements over a given feature.
9c3de16 to
4ba6784
Compare
tests/e2e/utils/helpers.go
Outdated
| return path.Join(usr.HomeDir, constants.APMDir) | ||
| } | ||
|
|
||
| func GetSnapshotsDir() string { |
There was a problem hiding this comment.
Seems that this is not part of this PR? Is this PR meant to be on top of the stop local network PR? If so lets base this PR on top of the stop local network PR
There was a problem hiding this comment.
yea i accidentally checked in the commits i cherry-picked. reverted.
|
How is e2e coverage calculation done? Unit test can be done with go test, but e2e? |
4ba6784 to
c5ce264
Compare
|
ginkgo can be treated as a wrapper to
|
Why this should be merged
Now e2e and unit test coverage data are merged and the combined coverage percentage is being checked in a script.
NEXT to add in GitHub action to invoke it.
How this works
borrowing part from https://github.com/ava-labs/avalanche-cli/blob/main/scripts/check_coverage_unit_test.sh
How this was tested
How is this documented