DEV Community

Tim Yao
Tim Yao

Posted on

Data-driven, keyword Driven Testing Framework

Concept

What is Data-driven testing framework

https://www.browserstack.com/guide/data-driven-framework-in-selenium

What is keyword driven testing framework

https://www.browserstack.com/guide/keyword-driven-framework-in-selenium

Hybird testing framework

https://www.browserstack.com/guide/hybrid-framework-in-selenium

Thoughts

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.

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay