alibaba / alibaba/testable-mock
求代码质量保障最佳实践
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 306
- PR merge metrics
- No merged PRs in 30d
Description
背景:最近看了不少关于单元测试的资料,都是在教如果使用工具来写单元测试,但是缺少关于最佳实践方面的案例,我看了TestableMock觉得的确很好用,相信TestableMock团队也一定深入研究过相关实践方案
问题:
1.想了解下在阿里是如何保障代码质量的呢,有最佳实践案例可以分享吗?
2.如何去衡量投产比的呢,代码覆盖的保障都是由开发去保障还是由开发、测试一起保障?
3.业务开发团队与中间件开发团队对于单元测试要求是否有差异?
4.业务代码编写时间与单元测试编写时间比例如何分配?
若能得到各位指点,将不胜感激
Contributor guide
No contributing guide indexed for this repository
Research direction
No files, tests, or entry points are named. Start by reviewing the repository context and the single existing comment, then determine whether maintainers want a documented testing-practices guide addressing the four questions. Done means a decided, project-specific response or documentation path rather than an open-ended request for advice.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100