DoChaoing opened a new pull request, #7995:
URL: https://github.com/apache/incubator-seata/pull/7995

   ## What this PR does
   Improves the test coverage of `seata-spring-boot-starter` module to **96%** 
instruction coverage, addressing #6505.
   
   ## Changes
   - **pom.xml**: Added `spring-test` dependency (test scope)
   - **SeataAutoConfigurationTest**: 7 tests (bean creation, disabled scenario, 
properties defaults/setters)
   - **SeataDataSourceAutoConfigurationTest**: 9 tests (proxy creator, disabled 
states, JDK/CGLIB proxy, excludes)
   - **SeataHttpAutoConfigurationTest**: 7 tests (web/non-web context, 
interceptor toggle, jakarta/javax fallback)
   - **SeataSagaAutoConfigurationTest**: 4 tests (state machine config/engine, 
async thread pool)
   
   ## Coverage Results
   | Metric | Value |
   |--------|-------|
   | Instruction Coverage | **96%** |
   | Method Coverage | **100%** |
   | Class Coverage | **100%** |
   | Total Tests | **28** |
   
   Closes #6505


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to