turingschool/rales_engine_spec_harness

Name: rales_engine_spec_harness

Owner: Turing School of Software & Design

Description: null

Created: 2015-07-23 17:50:43.0

Updated: 2017-04-20 15:00:56.0

Pushed: 2018-01-22 22:44:51.0

Homepage: null

Size: 94

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

RalesEngine Spec Harness

This gem contains an http-based spec harness for validating functionality on student implementations of the RalesEngine project at Turing.

Installation

To use this repository, simply clone it onto your machine and bundle:

clone https://github.com/turingschool/rales_engine_spec_harness.git
ales_engine_spec_harness
le
Usage

Run the tests with rake:

ce ? rake
/local/var/rbenv/versions/2.1.1/bin/ruby -I"lib:test" -I"/usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib" "/usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/rake_test_loader.rb" "test/merchants_test.rb"
options: --seed 16687

nning:



shed in 0.255902s, 7.8155 runs/s, 437.6670 assertions/s.

ns, 112 assertions, 0 failures, 0 errors, 0 skips

Configuring App Host

By default, the specs assume your application is running locally at http://localhost:3000. If you would like to test against a server running at a different location, you can override this by passing a BASE_URL environment variable:

_URL=http://my-app-url.com rake

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.