Skip to main content

UNKNOWN

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-runner-1.1b1.zip (5.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page