Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

Project details


Release history Release notifications

This version

0.1

Download files

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

Files for rebecca.testing, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size rebecca.testing-0.1.zip (5.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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