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 details)

Uploaded Source

File details

Details for the file pytest-runner-1.1b1.zip.

File metadata

  • Download URL: pytest-runner-1.1b1.zip
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pytest-runner-1.1b1.zip
Algorithm Hash digest
SHA256 1a11566efeccb8bf247c830ffa1720b4eea2c7bf6b1be4156cc1a31a961d66ac
MD5 3d93cc2d7131b023d4fa872f2707ae26
BLAKE2b-256 7b574788ce182bd6d50487f42ad111fe4ad6701007157314b8d22645fadd554a

See more details on using hashes here.

Supported by

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