PYTEST-BDD(1)

πŸ“¦ version 8.1.0, in fedora 43, fedora 44

πŸ’– PYTEST-BDD(1) πŸ’–

okay bestie, sit down, hydrate, and let me tell you about pytest-bdd β€” the BDD library for the pytest runner. yes, that's the whole vibe. it lives in the User Commands section of your friendly neighbourhood manual, and it's here to make your behaviour-driven tests actually make sense. πŸ¦‹


✨ NAME ✨

pytest-bdd β€” BDD library for the pytest runner. that's it. that's the name. no cap. πŸ’…


🌸 SYNOPSIS 🌸

pytest-bdd [-h] {generate,migrate} ...

so like, you run it, you optionally ask for help, and then you pick a {generate,migrate} subcommand. choose your own adventure, queen. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

πŸ’œ POSITIONAL ARGUMENTS

  • generate β€” bestie. this one generates test code with feature files. it just… does it. no notes. for the full tea, go read pytest-bdd-generate(1). 🧚
  • migrate β€” this is the glow-up subcommand: it migrates outdated tests to the most recent form. your old tests, but make it current. for the whole story, see pytest-bdd-migrate(1). ✨

πŸ’– OPTIONAL ARGUMENTS

  • -h, --help β€” shows a help message and exits. the classic. the icon. when in doubt, hit it. πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

like, literally go read those two. they're the main characters of this saga and I will not be taking questions. πŸ’€


and that's the page, babe. this lil writeup is straight out of the PYTEST-BDD(1) manual page, June 2025 edition β€” mwah, sending you off with a forehead kiss and a green test suite. πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from