TGTGInsighttelegram intelligenceLIVE / telegram public index
← djangoproject
djangoproject avatar

TGINSIGHT POST

Post #552

@djangoproject

djangoproject

Views224Post view count
PostedJan 2301/23/2018, 04:33 PM
Post content

Post content

https://pypi.python.org/pypi/pytest-bdd #BDD library for the py.test runner #pytest-bdd implements a subset of Gherkin language for the automation of the project requirements testing and easier behavioral driven development. Unlike many other BDD tools it doesn’t require a separate runner and benefits from the power and flexibility of the #pytest. It allows to unify your unit and functional #tests, easier continuous integration server configuration and maximal reuse of the tests setup. Pytest fixtures written for the #unit_test s can be reused for the setup and actions mentioned in the feature steps with dependency injection, which allows a true BDD just-enough specification of the requirements without maintaining any context object containing the side effects of the Gherkin. imperative declarations.