LandRegistry/service-tests-alpha

Name: service-tests-alpha

Owner: HM Land Registry

Description: API testing with Cucumber

Created: 2014-07-30 14:18:32.0

Updated: 2015-01-28 07:42:01.0

Pushed: 2014-10-22 16:15:18.0

Homepage: null

Size: 345

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Build Status

Service Tests

Tests for Land Registry microservices.

Installing

Install all dependencies with Bundler:

bundle install

Running the tests

Export the necessary BasicAuth credentials to your environment before you start:

export HTTPBASICAUTH_USERNAME='redacted'
export HTTPBASICAUTH_PASSWORD='redacted'

Run the test tasks with Rake:

rake # defaults to 'local'
rake features:local
rake features:devenv
rake features:heroku

Or to run a specific feature:

cucumber features/sample.feature
Fixtures

You can add fixtures to fixtures, or pull it from the web.

Add your fixture mappings to the fixture mapping configuration.

Example run output

screenshot


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.