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
  • 1 hour ago
  • 11 years ago

Installs

  • Total 203
  • Win 61
  • Mac 100
  • Linux 42
May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29
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