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

Test: increase spring autoconfigure module unit test coverage #6198

Open
wants to merge 13 commits into
base: 2.x
Choose a base branch
from

Conversation

l81893521
Copy link
Contributor

@l81893521 l81893521 commented Dec 22, 2023

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

Ⅱ. Does this pull request fix one issue?

fixes #6199

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@codecov-commenter
Copy link

codecov-commenter commented Dec 22, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3351fcf) 51.07% compared to head (18e3b50) 52.70%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##                2.x    #6198      +/-   ##
============================================
+ Coverage     51.07%   52.70%   +1.62%     
- Complexity     5097     5419     +322     
============================================
  Files           918      918              
  Lines         32031    32031              
  Branches       3865     3865              
============================================
+ Hits          16361    16882     +521     
+ Misses        14097    13582     -515     
+ Partials       1573     1567       -6     

see 52 files with indirect coverage changes

@l81893521 l81893521 force-pushed the test_incr_spring_autoconfigure_unit_test branch from 3ea9016 to 380c374 Compare January 1, 2024 16:17
@l81893521 l81893521 changed the title [WIP]Test: increase spring autoconfigure module unit test coverage Test: increase spring autoconfigure module unit test coverage Jan 6, 2024
@l81893521 l81893521 force-pushed the test_incr_spring_autoconfigure_unit_test branch from 4b8e119 to 18e3b50 Compare January 17, 2024 05:05
Copy link
Contributor

@funky-eyes funky-eyes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*PropertiesTest 我希望这些properties的get set的相关方法通过扫描包,解析类,进行反射将其中的method一次性处理掉,至于入参类型可以通过反射拿到参数类型,写一个switch等方式来处理。
*PropertiesTest I want the get set related methods of these properties to scan the package, parse the class, and do reflection to get rid of the method once and for all, and as for the input parameter type can be dealt with by getting the parameter type through reflection, writing a switch, etc.

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.

Increase the spring autoconfigure module unit test coverage
4 participants