带软件功能测试项目的过程中,发现很多人对这两个概念很困惑,并且试图通过圈定KDT与DDT的各自边界来分离它们,结果纠结成了一团麻线。我们从它们的名称及说明来理一理。
KDT(Keyword-driven testing), also known as table-driven testing or action word based testing, it separates the documentation of test case - include the data to use - from the prescription of the way the test cases are executed.(维基百科是个好东西)
DDT(Data-driven testing) is a term used in the testing of computer software to describe testing done using a table conditions directly as test inputs and verifiable outputs as well as the process where test environment setting and control are not hard-code.