1## Testing - pytest
2
3Write and run tests with pytest.
4
5Django includes its own test runner and [unittest](https://docs.python.org/3/library/unittest.html#module-unittest) classes.
6But a lot of people (myself included) prefer [pytest](https://docs.pytest.org/en/latest/contents.html).
7
8In Plain I've removed the Django test runner and a lot of the implications that come with it.
9There are a few utilities that remain to make testing easier,
10and `plain test` is a wrapper around `pytest`.
11
12## Usage
13
14To run your tests with pytest, use the `plain test` command:
15
16```bash
17plain test
18```
19
20This will execute all your tests using pytest.