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

单元测试第四条正例 #943

Open
wangdiskater opened this issue Dec 8, 2022 · 0 comments
Open

单元测试第四条正例 #943

wangdiskater opened this issue Dec 8, 2022 · 0 comments

Comments

@wangdiskater
Copy link

规约原文

正例:为了不受外界环境影响,要求设计代码时就把SUT(Softwareunder test)的依赖改成注入,在测试时用Spring这样的DI框架注入一个本地(内存)实现或者Mock实现

问题描述

SUT的全称是System under test

修改建议

虽然也能表达一个意思吧

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

No branches or pull requests

1 participant