Giter Club home page Giter Club logo

dummy-ruby-tests's Introduction

RSpec-guard-spork Boilerplate

A boilerplate project template for Ruby to kickstart behaviour-driven development using RSpec.

I prefer guard to autotest/autospec. It's file watcher is easily configured and very versatile. Running spork in the background speeds up the testing process even more.

Create a Project

You won't like to inherit this repository's revision history. Here's how to checkout the plain project files only.

You need to clone this repository on your machine before you proceed.

Copy via git-checkout-index

The following command will checkout the boilerplate to /full/path/to/new/project/. It'll overwrite existing files.

cd /path/to/rspec-guard-spork-boilerplate/
git checkout-index -f -a --prefix=/full/path/to/new/project/ 
#        the trailing slash is super important!  ----------^

This will copy all files from the boilerplate's index to the path specified for --prefix=. The destination path must end with a slash or else unexpected things will happen.

Archive and Extract Boilerplate Folder

You could also use git-archive and re-use the archive to kickstart projects:

git archive -o archive.tar HEAD

Shorthand for archiving and extracting at a destination of your choice:

git archive --format=tar --prefix=your-project-name/ HEAD | (cd your/projects/folder && tar xf -)

Test-Driving your Project

Just install the bundles:

bundle install

Simply type

guard

and there you are.

License

This code is in the Public Domain. See LICENSE unrelated feature-branch feature-master

dummy-ruby-tests's People

Contributors

filipesperandio 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.