-
Notifications
You must be signed in to change notification settings - Fork 0
Behaviour testing
Behaviour testing ("Behaviour-Driven Development", BDD), is part of a "Test-Driven Development" (TDD) paradigm. BDD provides you with a way to declare tests using a language that describes the software's behaviour a way that anyone can read, and execute.
A test (a feature) is a simple narrative that consists of Given, When, and Then statements.
Unfortunately behaviour tests rely on adapter code (Steps) that you write that translate the test language into specific actions against the application being tested. Implementing the step logic can require significant effort but, at the end you will be able to construct tests that non-developers can understand.
In Python the behave framework provides you with a Behaviour-Driven Development execution engine and an experimental set of tests were constructed in the fragalysis-stack-behaviour-tests repository.
Guidance
- Using non-xchem repositories
- Creating releases
- Declaring dependencies
- Merging to trunk
- Write tests
- Continuous integration
Advanced topics
Other ideas
Inspiration
Cheat-sheets