Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

pytest plugin to test webapplications using the Ringo webframework

Project Description
# pytest-ringo
Helper fixtures to test web applications using the Ringo web framework

## Fixtures
This plugin provides the following fixtures:

1. **app** A *TestApp* instance from *webtest* of the application. Scope is "module".
1. **config** The config object used to configure route etc. Scope is "module".
1. **apprequest** A *DummyRequest* from *Pyramid* to be used to call views. No scope.

## Helpers
This plugin provides the following helper methods. Please consult the source
to see how to use the methods:

### Transactions
1. **transaction_begin** Begin a new transaction for a testcase
1. **transaction_rollback** Rollback the currently running transaction

### Usecases
1. **login** Login a given user

### Getting data
1. **get_data** A helper methods to get data from the application using the
1. **search_data** A helper methods to search for a specific item in the
database using the using the
1. **get_max_id** Get the max id of a table in the database (usefull to get
the id of the last insererted item) using the REST API.

## Invoke
You need to provide the URL to the .ini file when invoking the pytest command::

py-test --app-config="path/to/config.ini"
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pytest-ringo-0.2.3.tar.gz (4.2 kB) Copy SHA256 Checksum SHA256 Source Sep 27, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting