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!

Test RAML API definition

Project Description

# `Ra`
[![Build Status](](

Ra is a test suite generator and helper library for testing APIs described
in [RAML](

Out of the box, Ra provides a basic, automated test suite to test the routes
declared in the RAML document. It provides test helpers for augmenting these
with custom tests to test application-specific logic, side effects, etc.

Ra is primarily designed to provide testing support for
[ramses]( and
[nefertari]( applications, but can
be used with any WSGI-conformant, RAML-described API.

It currently depends on pytest but may be adapted for other test frameworks
in the future. It works best using WebTest but doesn't require it.

## Name

Ra was the god of the sun, the most important god in ancient Egypt.

## Try it (dev)

Run the test suite:

$ pip install -r requirements.txt
$ py.test

Check out the example:

$ cd examples/ramses-test
$ pip install -r requirements.txt
$ py.test

The example RAML at `examples/ramses-test/api.raml` and the test file
`examples/ramses-test/tests/` should be helpful to reference.

See the docs in `docs/`, and the `api.raml` and `tests/` in

Release History

This version
History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(14.0 kB) Copy SHA256 Hash SHA256
Source None May 17, 2016

Supported By

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 Google Google Cloud Servers DreamHost DreamHost Log Hosting