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

Project details


Release history Release notifications | RSS feed

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.

Source Distribution

rebecca.testing-0.1.zip (5.8 kB view details)

Uploaded Source

File details

Details for the file rebecca.testing-0.1.zip.

File metadata

  • Download URL: rebecca.testing-0.1.zip
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rebecca.testing-0.1.zip
Algorithm Hash digest
SHA256 2a37789fb5d6599c958c94464e3d0c86fc68175265b850be1dea57027180bbc4
MD5 7daa862ba5099479c9836254b829afb2
BLAKE2b-256 61c12ed0650384eaf4db40b485061f7c17a822ef11f332e365a440bf41dd0495

See more details on using hashes here.

Supported by

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