Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sandro/specjour_rails_app

An example rails app for testing specjour
https://github.com/sandro/specjour_rails_app

Last synced: 12 days ago
JSON representation

An example rails app for testing specjour

Awesome Lists containing this project

README

        

# Welcome to Rails + [Specjour](https://github.com/sandro/specjour)

A very simple Rails app, containing very simple RSpec and Cucumber tests. This app gives the specjour community a sane playground where they can try out specjour, and recreate any bugs they encounter.

## Installation

bundle install

## Usage

Run the entire suite

specjour

Run only RSpec

specjour spec/

Run only Cucumber

specjour features/

Distribute all examples in one RSpec file

specjour spec/controllers/articles_controller_spec.rb

## Run against a local copy of specjour
Need to test against your forked version specjour? Simply point your Gemfile to the specjour system path, and remember to use `bundle exec specjour` instead of simply `specjour`.

Edit your Gemfile

gem 'specjour', path: '~/src/ruby/specjour'

Also, life will be easier if you use two separate terminal windows: one for the
listener, and one for the dispatcher. Make sure the listener only sets up one worker process to ensure usable debuggers.

Terminal 1

bundle exec specjour listen -w 1

Terminal 2

bundle exec specjour