unittes和developer

UnitTest对项目很重要,这是很多developer都明白的道理,可以真的让所有的developer对自己的代码写UnitTest,似乎是不可能的。

developer完全可以以已经有很多task要做,而把UnitTest写的马马虎虎,甚至于完全不写。

这种情况其实也怪不得developer,即当裁判,又当运动员,怎么可能呢。

所以,要把好test这道关,就只有要求vertical test或integration test了,比如Fitnesse test。

让tester或者supporter写Integration test的脚本,让developer来实现背后的逻辑,这样才能把住test这道关。

猜你喜欢

转载自www.cnblogs.com/mryux/p/11956072.html
今日推荐