Skip to main content

pytest pyramid providing basic fixtures for testing pyramid applications with pytest test suite

Project description

Tests for RandomWords Coverage Status Requirements Status

pytest_pyramid provides basic fixtures for testing pyramid applications with pytest test suite.

By default, pytest_pyramid will create two fixtures: pyramid_config, which creates configurator based on config.ini file, and pyramid_app, which creates TestApp based on Configurator returned by pyramid_config.

Command line options

  • –pc - pyramid configuration file based on which pytest_pyramid will create test app

Documentation

http://pytest-pyramid.readthedocs.org/en/latest/

TODO

This goal should make it in to 1.0 major release.

  1. provide a pyramid_proc fixture that will start pyramid app process using summon_process

Tests

To run tests run this command:

py.test –pc tests/pyramid.test.ini

CHANGES

0.1.0

  • initial release

  • pyramid_config fixture factory and default fixture

  • pyramid_app fixture factory and default fixture

  • documentation

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_pyramid-0.1.0.tar.gz (11.0 kB view details)

Uploaded Source

Built Distributions

pytest_pyramid-0.1.0-py2.py3-none-any.whl (6.7 kB view details)

Uploaded Python 2 Python 3

pytest_pyramid-0.1.0-py2.7.egg (7.7 kB view details)

Uploaded Source

File details

Details for the file pytest_pyramid-0.1.0.tar.gz.

File metadata

File hashes

Hashes for pytest_pyramid-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4aeaa90170b01f1f7739c42ec964e4a9887eb447ea46c21ab82a965de550e943
MD5 a17ed061a46466b6536f36870ded457b
BLAKE2b-256 e307b77dfe25f1cf2dea3bc2529e1b5987d9ba7191ba216b4d30d4e30ef3b40d

See more details on using hashes here.

File details

Details for the file pytest_pyramid-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_pyramid-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7469273a2b72535fd8b65b384aca5531ea49ef4296f3fa83ee4773298352e42e
MD5 81c29d07f7de6b83c1fa4a7bd349ae60
BLAKE2b-256 35f9cb99ee3da6cb873a20c5fd5555adf642784e81085de2000af5966e6ff959

See more details on using hashes here.

File details

Details for the file pytest_pyramid-0.1.0-py2.7.egg.

File metadata

File hashes

Hashes for pytest_pyramid-0.1.0-py2.7.egg
Algorithm Hash digest
SHA256 b2a256290e248527e616fc0f572fced771cc855adfcc805f90bf7f279e9306d6
MD5 18008a98c0cc587509c7314dd5b4a4b8
BLAKE2b-256 4513bb62dac432ffbcc6880cef8c8b8e895491b0daff185ba60ff9125b0b610d

See more details on using hashes here.

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