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
一个服务内部依赖外部服务的时候一定要提供注入点(构造器或者setter方法),这样可以方便用例中进行mock
每个接口各种场景都要测试到位,至少本系统内部逻辑是符合预期的
TDD,提测之前要有测试用例,因为事后补的话会发现有些接口设计不合理,或者缺少一些注入点。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
一个服务内部依赖外部服务的时候一定要提供注入点(构造器或者setter方法),这样可以方便用例中进行mock
每个接口各种场景都要测试到位,至少本系统内部逻辑是符合预期的
TDD,提测之前要有测试用例,因为事后补的话会发现有些接口设计不合理,或者缺少一些注入点。
The text was updated successfully, but these errors were encountered: