pytest-bdd automation testing framework index.

Test More In Less Time

Run Automation Testing In Parallel On The LambdaTest Cloud

Start for free

Description

BDD library for the py.test runner

Support and updates

  • pytest-bdd has 1042 stars, 176 forks.
  • It has 1 major releases in the past 6 months.
  • It has 12 commits and there are 26 open pull requests.
  • It has 127 open issues and 169 have been closed.

Code statistics

  • pytest-bdd has 74 methods.

Blogs

Check out the latest blogs from LambdaTest on this topic:

Fluent Interface Design Pattern in Automation Testing

Recently, I was going through some of the design patterns in Java by reading the book Head First Design Patterns by Eric Freeman, Elisabeth Robson, Bert Bates, and Kathy Sierra.

April 2020 Platform Updates: New Browser, Better Performance & Much Much More!

Howdy testers! If you’re reading this article I suggest you keep a diary & a pen handy because we’ve added numerous exciting features to our cross browser testing cloud and I am about to share them with you right away!

How To Identify Locators In Appium [With Examples]

Nowadays, automation is becoming integral to the overall quality of the products being developed. Especially for mobile applications, it’s even more important to implement automation robustly.

Feeding your QA Career – Developing Instinctive & Practical Skills

The QA testing profession requires both educational and long-term or experience-based learning. One can learn the basics from certification courses and exams, boot camp courses, and college-level courses where available. However, developing instinctive and practical skills works best when built with work experience.

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

License

pytest-bdd is lincensed under the MIT License

LambdaTest Community Discussions

Test case code snippets

General webpage functionality - Test page text justification

Description:

Page text should be left-justified.

API Testing - Check locale-based representation

Description:

Verify that the API response contains the correct resource representation based on the specified locale (e.g. en-US, fr-FR).

API Testing - Check CORS preflight

Description:

Verify that the API correctly handles CORS preflight requests and returns the correct HTTP status code and error message.

General webpage functionality - Test broken links check

Description:

Check all pages for broken links.

Downloads

pytest-bdd can be downloaded from it’s GitHub repository - https://github.com/pytest-dev/pytest-bdd

Other similar frameworks

Nose2

Nose2 is the successor to nose. Nose2's purpose is to extend unittest to make testing nicer and easier to understand. Can be considered as unittest with plugins.

grail

Grail is a library which allows test script creation based on steps. It helps to structure your tests and get rid of additional test documentation for your code.

robotframework-faker

Robot Framework keyword library wrapper for faker

Kiwi

Test management system

toolium

Wrapper tool of Selenium and Appium libraries to test web and mobile applications in a single project

Frameworks to try

Vcr_ruby

Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests

Nunit

NUnit is a unit-testing framework for all .NET languages. Is completely rewritten with many new features and support for a wide range of .NET platforms.

Webtau

Testing API and framework for end-to-end integration and unit tests

Quick

Quick is a behavior-driven development framework for Swift and Objective-C. Inspired by RSpec, Specta, and Ginkgo. Quick comes together with Nimble

Behat

Behat is an open source BDD framework for PHP. Tool for delivering software that matters through continuous communication, deliberate discovery and automation.

Run pytest-bdd scripts on 3000+ browsers online

Perform automation testing with pytest-bdd on LambdaTest, the most powerful, fastest, and secure cloud-based platform to accelerate test execution speed.

Test Now