Giter Site home page Giter Site logo

rales_engine_spec_harness's Introduction

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:

git clone https://github.com/turingschool/rales_engine_spec_harness.git
cd rales_engine_spec_harness
bundle

Usage

Run the tests with rake:

worace ➸ rake
/usr/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"
Run options: --seed 16687

# Running:

..

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

2 runs, 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:

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

rales_engine_spec_harness's People

Contributors

allpurposename avatar novohispano avatar mikedao avatar jmejia avatar kate-v2 avatar joshcass avatar bendelonlee avatar levthedev avatar ryan-mcneil avatar worace avatar alex-tideman avatar laurenfazah avatar saltybigmac avatar plapicola avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.