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

Redis.get_all_databases添加边界测试方法 #2574

Merged
merged 2 commits into from
Apr 11, 2024

Conversation

feiazifeiazi
Copy link
Contributor

  1. get_all_databases方法异常逻辑的地方 添加注释。
  2. 添加单元测试方法-测试边界返回值:test_get_all_databases_with_empty_return_value
  3. 添加单元测试方法-测试边界返回值:test_get_all_databases_with_less_than_15_dbs

Copy link

codecov bot commented Apr 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.89%. Comparing base (370d8c0) to head (6ab4e7a).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2574      +/-   ##
==========================================
+ Coverage   76.86%   76.89%   +0.03%     
==========================================
  Files         117      117              
  Lines       16084    16106      +22     
==========================================
+ Hits        12363    12385      +22     
  Misses       3721     3721              

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

@LeoQuote LeoQuote merged commit 57024f8 into hhyo:master Apr 11, 2024
10 checks passed
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.

2 participants