Simple Django testing base classes and patterns
Django Testing Base provides base Test Case and mixin classes that encapsulate common testing operations and patterns. They do the “right” thing whether you’re testing individual units of code or entire live pages using selenium.
Read the official documentation.
- Generate test data
- Create and login users
- Common assertions
- Run selenium tests at different browser dimensions
- Base implementation of Page Object pattern
Install django-testing-base using pip:
pip install django-testing-base
The project is licensed under the MIT license.