Skip to content

luszak/pytest_pyramid

 
 

Repository files navigation

pytest_pyramid

Latest PyPI version

Documentation Status

Wheel Status

Supported Python Versions

License

Package status

Tests

Coverage 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.io/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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%