Skip to main content

UNKNOWN

Project description

https://travis-ci.org/rebeccaframework/rebecca.testing.png?branch=master

Getting Started

rebecca.testing provides test fixtures for pyramid application using pytest.

install

install with pip basically:

$ pip install rebecca.testing

Usage

config fixture

config fixture provides dummy config with automatic setup and teardown:

from pyramid import testing
from rebecca.testing import config

def test_it(config):
    config.include('your.app')
    from your.app.views import ClassUnderTheTest
    request = testing.DummyRequest()
    result = ClassUnserTheTest(request)

Contributors

  • Atsushi Odagiri, Original Author

Changelog

0.1 (2013-08-28)

  • first release

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page