skip to navigation
skip to content

Not Logged In

pytest_pyramid 0.1.1

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

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.1

  • make factories condition to check parameters against None

0.1.0

  • initial release
  • pyramid_config fixture factory and default fixture
  • pyramid_app fixture factory and default fixture
  • documentation
 
File Type Py Version Uploaded on Size
pytest_pyramid-0.1.1-py2.py3-none-any.whl (md5) Python Wheel 2.7 2014-01-20 6KB
pytest_pyramid-0.1.1.tar.gz (md5) Source 2014-01-20 10KB
  • Downloads (All Versions):
  • 8 downloads in the last day
  • 118 downloads in the last week
  • 780 downloads in the last month