Excellent Talk,David Evans。我听过地最好的讲怎么写测试的演讲,受益匪浅。Our industry will be better if all the developer knows how to run their code with proper test, it is as simple as that.

http://yowconference.com.au/slides/yow2013/Evans-SettingAGoodExample.pdf
https://prezi.com/ne8kmwwmpc6o/setting-a-good-example/#

图片描述

Important Point #1

A specification declares what to test, now how to test it

Important Point #2

SBE, BDD and ATDD artefacts are more than just tests...
Now: it is specification
Soon: it will become test
Later: it lives as documentation

Important Point #3

Short Lived: Story, Change
Long Lived: Specification, Effect

Important Point #4

Test slow down development just as passengers slow down the bus.

Important Point #5

The effort it is worth spending on tests depends on the value we give to them.


taowen
4.1k 声望1.4k 粉丝

Go开发者们请加入我们,滴滴出行平台技术部 taowen@didichuxing.com


引用和评论

0 条评论