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

feat: Added side-effect-free stubbing framework for SOFABoot applications #1224

Merged
merged 29 commits into from
Aug 25, 2023

Merge pull request #1 from HzjNeverStop/support_mock

7428693
Select commit
Loading
Failed to load commit list.
Merged

feat: Added side-effect-free stubbing framework for SOFABoot applications #1224

Merge pull request #1 from HzjNeverStop/support_mock
7428693
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Aug 25, 2023 in 0s

83.37% of diff hit (target 84.51%)

View this Pull Request on Codecov

83.37% of diff hit (target 84.51%)

Annotations

Check warning on line 197 in sofa-boot-project/sofa-boot-autoconfigure/src/main/java/com/alipay/sofa/boot/autoconfigure/runtime/SofaRuntimeProperties.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot-autoconfigure/src/main/java/com/alipay/sofa/boot/autoconfigure/runtime/SofaRuntimeProperties.java#L197

Added line #L197 was not covered by tests

Check warning on line 54 in sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/InjectorMockTestExecutionListener.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/InjectorMockTestExecutionListener.java#L54

Added line #L54 was not covered by tests

Check warning on line 86 in sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/InjectorMockTestExecutionListener.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/InjectorMockTestExecutionListener.java#L86

Added line #L86 was not covered by tests

Check warning on line 103 in sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/Definition.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/Definition.java#L103

Added line #L103 was not covered by tests

Check warning on line 106 in sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/Definition.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/Definition.java#L106

Added line #L106 was not covered by tests

Check warning on line 90 in sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/MockDefinition.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/MockDefinition.java#L90

Added line #L90 was not covered by tests

Check warning on line 93 in sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/MockDefinition.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/MockDefinition.java#L93

Added line #L93 was not covered by tests

Check warning on line 69 in sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/QualifierDefinition.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/QualifierDefinition.java#L69

Added line #L69 was not covered by tests

Check warning on line 59 in sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/SpyDefinition.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/SpyDefinition.java#L59

Added line #L59 was not covered by tests

Check warning on line 64 in sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/SpyDefinition.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/SpyDefinition.java#L63-L64

Added lines #L63 - L64 were not covered by tests

Check warning on line 69 in sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/SpyDefinition.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/SpyDefinition.java#L68-L69

Added lines #L68 - L69 were not covered by tests

Check warning on line 83 in sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/SpyDefinition.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/SpyDefinition.java#L83

Added line #L83 was not covered by tests

Check warning on line 86 in sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/SpyDefinition.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/SpyDefinition.java#L86

Added line #L86 was not covered by tests

Check warning on line 89 in sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/SpyDefinition.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/SpyDefinition.java#L88-L89

Added lines #L88 - L89 were not covered by tests

Check warning on line 91 in sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/SpyDefinition.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/SpyDefinition.java#L91

Added line #L91 was not covered by tests

Check warning on line 107 in sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/SpyDefinition.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/SpyDefinition.java#L103-L107

Added lines #L103 - L107 were not covered by tests

Check warning on line 120 in sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/SpyDefinition.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/definition/SpyDefinition.java#L119-L120

Added lines #L119 - L120 were not covered by tests

Check warning on line 183 in sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/resolver/BeanInjectorResolver.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/resolver/BeanInjectorResolver.java#L183

Added line #L183 was not covered by tests

Check warning on line 213 in sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/resolver/BeanInjectorResolver.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot-core/test-sofa-boot/src/main/java/com/alipay/sofa/test/mock/injector/resolver/BeanInjectorResolver.java#L212-L213

Added lines #L212 - L213 were not covered by tests

Check warning on line 40 in sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/compatibility/AbstractJarVersionVerifier.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/compatibility/AbstractJarVersionVerifier.java#L40

Added line #L40 was not covered by tests

Check warning on line 49 in sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/compatibility/AbstractSwitchableCompatibilityVerifier.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/compatibility/AbstractSwitchableCompatibilityVerifier.java#L49

Added line #L49 was not covered by tests

Check warning on line 75 in sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/compatibility/VerificationResult.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/compatibility/VerificationResult.java#L75

Added line #L75 was not covered by tests

Check warning on line 78 in sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/compatibility/VerificationResult.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/compatibility/VerificationResult.java#L78

Added line #L78 was not covered by tests

Check warning on line 85 in sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/compatibility/VerificationResult.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/compatibility/VerificationResult.java#L85

Added line #L85 was not covered by tests