pytest pyramid providing basic fixtures for testing pyramid applications with pytest test suite
Project description
pytest_pyramid
Package 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
TODO
This goal should make it in to 1.0 major release.
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.3.3
add additiona_fixtures to factories.pyramid_app
0.3.2
add pyramid_config ini option
0.3.1
fixed pytest deprecation warning
0.3.0
[feature] changed pyramid_config fixture scope to session.
0.2.0
[feature] support pyramid’s config inheritance with use = config:other.file.ini - Thanks Eric Hulser
[feature] dropped support for python 3.2, added support for python 3.4 and 3.5
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pytest_pyramid-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1b1a4f35605180505ff0310cf9f4e67403a4b1cea51189099d33c4fc64389b9 |
|
MD5 | 41068bb4b945928bceb9c223e99a1cf2 |
|
BLAKE2b-256 | 1fb488aa7e40984a8cc53c854f47477810e58c472e739c85107fd6d46d8870c6 |