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

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


Release history Release notifications

History Node

0.3.0

History Node

0.2.0

History Node

0.1.1

This version
History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pytest_pyramid-0.1.0-py2.7.egg (7.7 kB) Copy SHA256 hash SHA256 Egg 2.7 Jan 12, 2014
pytest_pyramid-0.1.0-py2.py3-none-any.whl (6.7 kB) Copy SHA256 hash SHA256 Wheel 2.7 Jan 14, 2014
pytest_pyramid-0.1.0.tar.gz (11.0 kB) Copy SHA256 hash SHA256 Source None Jan 12, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page