New issue 491: docs: how to add runtests.py to distribution https://bitbucket.org/hpk42/pytest/issue/491/docs-how-to-add-runtestspy-to-distribution
Thomas Güttler: thank you for the great documentation. I found something that could be improved: Please explain how to integrate the runtests.py file into a distribution: http://pytest.org/latest/goodpractises.html#integrating-with-distutils-python-setup-py-test {{{ Integrating with distutils / python setup.py test You can integrate test runs into your distutils or setuptools based project. Use the genscript method to generate a standalone pytest script: py.test --genscript=runtests.py }}} _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit