I mean, we have rSpec, cucumber in the ruby world. But do we have similar tools in python? How about robot framework? Can we use it as a story based BDD test tool?
I'm asking because I'm kind of buying the BDD, story based test stuffs.
Java Prime PackBehave is a tool used for Behaviour driven development (BDD) in Python programming language. In an Agile development framework, BDD creates a culture where testers, developers, business analysts, and other stakeholders of the project can contribute towards the software development.
pytest-bdd is a behavior-driven (BDD) test framework that is very similar to behave, Cucumber and SpecFlow. BDD frameworks are very different from more traditional frameworks like unittest and pytest. Test scenarios are written in Gherkin “. feature” files using plain language.
Robot Framework is a Python-based, extensible keyword-driven automation framework for acceptance testing, acceptance test driven development (ATDD), behavior driven development (BDD) and robotic process automation (RPA).
Lettuce is another Python port of Cucumber. It works well and the documentation describes, among the usual usages, Django usage as well.
http://lettuce.it/index.html
And here's another blog post that describes BDD with Lettuce and Splinter:
http://cilliano.com/blog/2011/02/07/django-bdd-with-lettuce-and-splinter/
Python freshen is a python port of cucumber, implemented as nose plugin.
You might also want to take a look at Behave. It's built from the ground up to do BDD style testing as opposed to either an "add-on" to nose or a port from another framework.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With