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

RSpec

by SublimeText ST2/ST3

Sublime Text 2 / 3 plugin for RSpec BDD Framework

Details

  • 2 2014.11.25.09.54.52
    3 2.0.8
  • github.​com
  • github.​com
  • 1 year ago
  • 1 hour ago
  • 7 years ago

Installs

  • Total 39K
  • Win 5K
  • OS X 25K
  • Linux 10K
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 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4
Windows 0 1 1 0 0 0 1 0 0 1 0 0 4 0 0 0 0 1 1 0 1 1 0 1 0 0 0 0 1 0 1 3 0 2 0 0 0 0 0 1 0 0 0 0 1 0
OS X 3 2 7 5 2 0 6 5 4 9 7 1 4 4 1 2 6 4 4 2 8 8 1 5 2 2 2 1 5 1 5 5 2 0 4 5 7 5 5 1 4 8 4 4 7 3
Linux 5 3 3 1 3 2 2 2 2 2 2 0 1 1 1 4 3 2 0 1 1 3 0 2 0 2 1 0 1 1 3 4 2 3 3 5 3 3 1 0 1 0 0 0 1 2

Readme

Source
raw.​githubusercontent.​com

RSpec Package for Sublime Text 2/3

No longer actively maintained

If anyone is willing to keep improving this package, please file an issue

Description

RSpec is a BDD (Behavior-Driven Development) testing framework for Ruby. This package adds support to Sublime Text 2 and 3 for specifying and testing Ruby applications with RSpec. It contains extra syntax highlighting and many snippets.

Installation

Recommended: install via Package Control.

Alternative (especially if you want to develop the package further): Clone (your fork of) the repository into your Sublime Text Packages directory.

Features

  • RSpec.tmLanguage: syntax rules made specially for RSpec
    • RSpec plugin automatically uses RSpec language syntax when you are in a RSpec file
  • RSpec.sublime-build: executing unit tests for the active module via the Sublime Text Build command
    • it chooses RSpec as the build command automatically when RSpec syntax is applied to the file
  • Command to create a new module and the spec for the module at the same time
  • Command to go to the corresponding spec / source file (shortcut: ctrl/command + .)
  • Large amount of RSpec snippets