This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

pytest-param is a plugin for py.test that makes it easy to test all, first, last or random params.

Requirements

You will need the following prerequisites to use pytest-param:

  • Python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5, PyPy or PyPy3
  • py.test 2.6 or newer

Installation

To install pytest-param:

$ pip install pytest-param

Testing a param

Given test_file.py with this test:

import pytest
@pytest.mark.parametrize("params", [True, False])
def test_param(params):
    pass

Use the --param=first command line option to test the True param:

$ py.test --param=first test_file.py

Use --param=last to test the False param:

$ py.test --param=last test_file.py

Use --param=random to test one of the params at random.

Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pytest_param-0.1.1-py2.py3-none-any.whl (4.5 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Sep 11, 2016
pytest-param-0.1.1.tar.gz (5.3 kB) Copy SHA256 Checksum SHA256 Source Sep 11, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting