pytest-runner

Invoke py.test as distutils command with dependency resolution

Here are some articles that you may find helpful