An extensive test suite is included to test the library behavior and several examples. Library tests can be found in
the [tests folder](https://github.com/huggingface/diffusers/tree/main/tests).  
We like `pytest` and `pytest-xdist` because it's faster. From the root of the
repository, here's how to run tests with `pytest` for the library:  
```bash
$ python -m pytest -n auto --dist=loadfile -s -v ./tests/
```  
In fact, that's how `make test` is implemented!  
You can specify a smaller set of tests in order to test only the feature
you're working on.  
By default, slow tests are skipped. Set the `RUN_SLOW` environment variable to
`yes` to run them. This will download many gigabytes of models — make sure you
have enough disk space and a good Internet connection, or a lot of patience!  
```bash
$ RUN_SLOW=yes python -m pytest -n auto --dist=loadfile -s -v ./tests/
```  
`unittest` is fully supported, here's how to run tests with it:  
```bash
$ python -m unittest discover -s tests -t . -v
$ python -m unittest discover -s examples -t examples -v
```
/Users/nielsrogge/Documents/python_projecten/diffusers/docs/source/en/conceptual/contribution.md