Overview of behave-django
mainbehave-django is a BDD (Behavior-Driven Development) integration for the Django web framework. It allows you to run behave scenarios against a Django application, providing features such as:
- Web browser automation ready: Integration suitable for end-to-end testing.
- Database transactions per scenario: Ensures test isolation by wrapping scenarios in transactions.
- Django Test Client: Access to Django's built-in test client for simulating requests.
- Assertion Support: Use of
unittestand Django's assertion library within steps. - Configuration: Full support for
behavecommand line arguments and configuration files. - Fixture Loading: Ability to load Django fixtures for test data setup.
- Page Objects: Support for the Page Object pattern to organize browser automation code.