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

Spock测试框架 #7

Open
ttsths opened this issue Oct 25, 2023 · 0 comments
Open

Spock测试框架 #7

ttsths opened this issue Oct 25, 2023 · 0 comments

Comments

@ttsths
Copy link
Owner

ttsths commented Oct 25, 2023

https://ttsths.github.io/spock/

为什么写单测
代码不写测试就像上了厕所不洗手……单元测试是对软件未来的一项必不可少的投资。

单元测试的好处:

更快的发现 BUG
使代码更加可维护,重构

虽然单测有很多的好处,在日常工作中我们的项目中还是有很多的单测或者集成测试是缺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant