ITeye博客

unit test 是软件开发业界的强迫症

jXee · 2015-06-11 12:59 · 莫斯科(misc) · 非技术 · Markdown

Unit tests helped me find bugs about 3 times in my whole career.

--what a waste of time ... and energy, especially when you think about "continuous integration" and the bullshit unit tests get run again and again every day, every hour, every minute... What a waste of electricity!

Easy mock, mockito, power mock, shitmock. If a test has external dependency, it's simply not a unit test.

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。