1 |
Getting started with pytest and pytest-django |
text |
2 |
Configuring Django settings |
text |
3 |
Managing the Python path |
text |
4 |
Usage and invocations |
text |
5 |
Database creation/re-use |
text |
6 |
Django helpers |
text |
7 |
FAQ |
text |
8 |
Contributing to pytest-django |
text |
9 |
Changelog |
text |
10 |
pytest-django |
text |
11 |
Docs |
text |
12 |
¶ |
text |
13 |
¶ |
text |
14 |
Configuring Django settings |
text |
15 |
My tests are not being found. Why? |
text |
16 |
¶ |
text |
17 |
¶ |
text |
18 |
¶ |
text |
19 |
Getting started with pytest and pytest-django |
text |
20 |
Introduction |
text |
21 |
Talks, articles and blog posts |
text |
22 |
Step 1: Installation |
text |
23 |
Step 2: Point pytest to your Django settings |
text |
24 |
Step 3: Run your test suite |
text |
25 |
Next steps |
text |
26 |
Stuck? Need help? |
text |
27 |
Configuring Django settings |
text |
28 |
The environment variable DJANGO_SETTINGS_MODULE |
text |
29 |
Command line option --ds=SETTINGS |
text |
30 |
pytest.ini settings |
text |
31 |
Order of choosing settings |
text |
32 |
Using django-configurations |
text |
33 |
Using django.conf.settings.configure() |
text |
34 |
Changing your app before Django gets set up |
text |
35 |
Managing the Python path |
text |
36 |
Automatic looking for of Django projects |
text |
37 |
Managing the Python path explicitly |
text |
38 |
Managing your project with virtualenv, pip and editable mode |
text |
39 |
Using pytest-pythonpath |
text |
40 |
Usage and invocations |
text |
41 |
Basic usage |
text |
42 |
Additional command line options |
text |
43 |
--fail-on-template-vars - fail for invalid variables in templates |
text |
44 |
Running tests in parallel with pytest-xdist |
text |
45 |
Database creation/re-use |
text |
46 |
Enabling database access in tests |
text |
47 |
Testing transactions |
text |
48 |
Tests requiring multiple databases |
text |
49 |
--reuse-db - reuse the testing database between test runs |
text |
50 |
--create-db - force re creation of the test database |
text |