skip to navigation
skip to content

Not Logged In

pytest-runner 1.1

Latest Version: 2.0

Setup scripts can use pytest-runner to add setup.py test support for pytest runner.

Alternate usage

  • Include the file ptr.py in your repo.

  • Add these lines to your setup.py:

    execfile('ptr.py')
    setup_params = PyTest.install(dict(...))
    setuptools.setup(**setup_params)
    

    Where '...' are your normal keyword parameters to setup().

  • Invoke your tests with setup.py test.

Changes

1.1

  • Added support for --addopts to pass any arguments through to py.test.
  • Deprecated support for --junitxml. Use --addopts instead. --junitxml will be removed in 2.0.

1.0

Initial implementation.

 
File Type Py Version Uploaded on Size
pytest-runner-1.1.zip (md5) Source 2012-09-07 4KB
  • Downloads (All Versions):
  • 628 downloads in the last day
  • 1627 downloads in the last week
  • 6711 downloads in the last month