DEV Community

Tim Yao
Tim Yao

Posted on

Data-driven, keyword Driven Testing Framework


What is Data-driven testing framework

What is keyword driven testing framework

Hybird testing framework


Keyword driven test framework

It sounds hard to do in a large scale project. If we need to make the tester write test cases by providing keywords only, that will require a considerable amount of time to create and maintain those scripts.
I am using Cucumber, and it is BDD(Behaviour-driven development), so the Keyword test framework won't be something I will look at anyway.

Data-driven test framework

It is good to provide a separation of test data and test cases. And to do it in the best practice, we should split the test data from test cases into external files instead of using Gherkin arguments. Using a data table is still not a good way as we cannot replace it.

Top comments (0)