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
Faker_ integration with the pytest_ test runner
==========================================

.. image:: http://img.shields.io/travis/pytest-dev/pytest-faker.svg
:target: https://travis-ci.org/pytest-dev/pytest-faker
.. image:: https://img.shields.io/pypi/pyversions/pytest-qt.svg
:target: https://pypi.python.org/pypi/pytest-qt/
.. image:: http://img.shields.io/pypi/v/pytest-faker.svg
:target: https://pypi.python.org/pypi/pytest-faker
.. image:: http://img.shields.io/coveralls/pytest-dev/pytest-faker.svg
:target: https://coveralls.io/r/pytest-dev/pytest-faker
.. image:: https://readthedocs.org/projects/pytest-faker/badge/?version=latest
:target: https://readthedocs.org/projects/pytest-faker/?badge=latest
:alt: Documentation Status

pytest-faker adds Faker fixtures_ for easy use of Faker_ for your tests under pytest_ runner.

.. _Faker: https://faker.readthedocs.io/
.. _pytest: http://pytest.org/
.. _fixtures: https://pytest.org/latest/fixture.html

Install pytest-faker
-------------------------

::

pip install pytest-faker

Example
-------

An example of Faker_ and pytest_ integration.


tests/test_faker.py:

.. code-block:: python

from faker.generator import Generator

def test_faker(faker):
"""Faker factory is a fixture."""
assert isinstance(faker, Generator)
assert isinstance(faker.name(), str)


License
-------

This software is licensed under the `MIT license <http: en.wikipedia.org="" wiki="" mit_license="">`_.

© 2015 Anatoly Bubenkov, Oleg Pidsadnyi and others

Authors
=======

`Anatoly Bubenkov <bubenkoff@gmail.com>`_
original idea and implementation

These people have contributed to `pytest-faker`, in alphabetical order:

* `Jeff Widman <jeff@jeffwidman.com>`_
* `Oleg Pidsadnyi <oleg.pidsadnyi@gmail.com>`_

Changelog
=========

2.0.0
-----

- Switch to a recent Faker (jeffwidman, bubenkoff)

1.1.0
-----

- Switch to a session scoped fixture (bubenkoff, thedrow)

1.0.0
-----

- initial release (bubenkoff)
Release History

Release History

2.0.0

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

1.1.0

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

1.0.0

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-faker-2.0.0.tar.gz (2.8 kB) Copy SHA256 Checksum SHA256 Source Dec 19, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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