Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UT for mysql prohibition module. #1446

Merged

Conversation

daizhenyu
Copy link
Collaborator

@daizhenyu daizhenyu commented Feb 18, 2024

【Fix issue】#1422

[Modification] Added unit test for mysql database write-disabled module

[Use case description] Unit test

[Self-test situation] 1. Passed the local static check 2. Except for the declarer and helper parts, the UT coverage rate is 75%+

[Scope of influence] None

Copy link

codecov bot commented Feb 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (05df4e0) 43.12% compared to head (128c164) 43.95%.
Report is 18 commits behind head on develop.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #1446      +/-   ##
=============================================
+ Coverage      43.12%   43.95%   +0.82%     
- Complexity      3420     4668    +1248     
=============================================
  Files            847     1213     +366     
  Lines          18857    26130    +7273     
  Branches        2084     2745     +661     
=============================================
+ Hits            8133    11486    +3353     
- Misses          9706    13262    +3556     
- Partials        1018     1382     +364     
Flag Coverage Δ
unittests 43.95% <ø> (+0.82%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@daizhenyu daizhenyu force-pushed the develop-mysql-write-prohibition branch from 02715de to 128c164 Compare February 20, 2024 12:01
@Sherlockhan Sherlockhan merged commit 240ebc2 into sermant-io:develop Feb 22, 2024
4 checks passed
@kkf1 kkf1 changed the title mysql数据库禁写模块UT UT for mysql prohibition module. Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants