Reputation: 12564
We might be interested in starting to incorporate a unit test suite to our project, which is coded in Python (and it uses Redis, PostgreSQL and some third-party libraries, if that bears into the solution). The benefits we want to achieve are:
What are good tools / libraries that can help us do this, and, most importantly, what are good ways to incorporate BDD into a Python project?
Thank you very much! Any suggestions are appreciated.
Upvotes: 4
Views: 539
Reputation: 1983
I searched high and low for something small, literate, and non-magical to do testing in Python, and could find nothing, so I came up with https://github.com/kislyuk/ensure.
You'll need to use another test framework to structure your tests around it (personally, I'm quite content with unittest), and it doesn't have github integration, which I think you're better off using Travis for.
Upvotes: 1
Reputation: 1213
I quite liked:
You may find more by searching:
pip search bdd
Upvotes: 4