Using Behave framework for Selenium BDD testing

Click for: original source

An article by Dzmitry Ihnatsyeu published by guys from BlazeMeter about automating the testing of an application. There are many ways of testing – like unit testing, test-driven development, keyword-driven development, behavior-driven development and so on. In this article, autho talks about one of the most popular approaches to test automation – BDD or behavior-driven development.

Behavior tests come from specification and business requirements. Business stakeholders, QA engineers, analysts, application and test developers work together to identify the correct flow and test it.

In the article you will find:

  • What is BDD
  • BDD scenarios in Gherkin
  • Automation with Selenium and Behave
  • Browser initialization with fixtures (and info when to use them)
  • How to implement parameterized steps

More technical article for Python programmers requiring a certain degree of experimentation. Overall very good!

[Read More]

Tags tdd software browsers agile python code-refactoring cicd learning