xcherryio / xcherry

server and main repo of xCherry project
Apache License 2.0
26 stars 1 forks source link

Refactor SQL test #38

Closed longquanzheng closed 11 months ago

longquanzheng commented 11 months ago

Why make this pull request?

Refactor sql test to avoid long test function

What has changed

[Summarize what components of the repo is updated]

How to test this pull request?

Existing test

codecov[bot] commented 11 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (28aed23) 58.48% compared to head (95d6e7a) 57.29%.

:exclamation: Current head 95d6e7a differs from pull request most recent head 3651486. Consider uploading reports for the commit 3651486 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #38 +/- ## ========================================== - Coverage 58.48% 57.29% -1.19% ========================================== Files 38 38 Lines 2315 2288 -27 ========================================== - Hits 1354 1311 -43 - Misses 844 858 +14 - Partials 117 119 +2 ``` | [Files](https://app.codecov.io/gh/xdblab/xdb/pull/38?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab) | Coverage Δ | | |---|---|---| | [persistence/sql/base\_test\_sql.go](https://app.codecov.io/gh/xdblab/xdb/pull/38?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab#diff-cGVyc2lzdGVuY2Uvc3FsL2Jhc2VfdGVzdF9zcWwuZ28=) | `100.00% <100.00%> (ø)` | | ... and [4 files with indirect coverage changes](https://app.codecov.io/gh/xdblab/xdb/pull/38/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.