ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Guard​Helpers

by kassi ST2

Commands for daily use of rspec

Details

  • 2013.07.03.20.07.21
  • github.​com
  • github.​com
  • 11 years ago
  • 28 minutes ago
  • 11 years ago

Installs

  • Total 203
  • Win 61
  • Mac 100
  • Linux 42
Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

GuardHelpers

Commands for daily use of guard.

Prerequisites

You need to have a rails app set up to use guard. The current implementation works only with rspec results.

Installation

You have 3 options for installing GuardHelpers Plugin: using Package Control, using Git, or just downloading it.

Package Control

Inside Sublime Text 2, open your command pallete (⌘ + ⇧ + P on OS X), and select “Package Control: Install Package”.

After this, search for “GuardHelpers” and install it!

Git

Open your terminal application and go to your Packages directory, whose location depends on your operating system:

  • OS X

    cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
    
  • Linux

    cd ~/.Sublime\ Text 2/Packages/
    
  • Windows

    cd %APPDATA%/Sublime Text 2/Packages/
    

After this, you just need to clone this repository:

git clone git://github.com/kassi/sublime-text-2-guard-helpers.git GuardHelpers

Download

Click on the nice cloud icon above and download the zip file containing this plugin.

Then unzip the file and move the resulting folder to your Packages directory.

Usage

guard_open_failing_tests

After your guard running rspec specs encountered a failing spec, run the command Guard: Open Failing Tests from your command pallete (⌘ + ⇧ + P on OS X).

Select the failure from the list.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Author

Karsten Silkenbäumer