We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
描述bug
在应用使用mockserver做单元测试时, 我们期望:
private static final Logger logger = LoggerFactory.getLogger(EmbeddedApollo.class);
这样如果项目里没有JUnit4的依赖,就无法运行(EmbeddedApollo的父类是JUnit4中的org.junit.rules.ExternalResource,这个rule机制JUnit5没有了)。
期望
如上
截图
The text was updated successfully, but these errors were encountered:
fixed apolloconfig#56 for JUnit5 integration
dbec2b2
fixed #56 for JUnit5 integration
1a16249
Successfully merging a pull request may close this issue.
描述bug
在应用使用mockserver做单元测试时,
我们期望:
假如我们是一个新项目,使用JUnit5,我们在项目里不期望依赖 JUnit4,但是使用方式2时,MockApolloExtension内部封装的 ApolloTestingServer 有一句代码依赖了EmbeddedApollo,从而引入JUnit4:
这样如果项目里没有JUnit4的依赖,就无法运行(EmbeddedApollo的父类是JUnit4中的org.junit.rules.ExternalResource,这个rule机制JUnit5没有了)。
期望
如上
截图
如上
额外的细节和日志
The text was updated successfully, but these errors were encountered: