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
  • 3 months ago
  • 39 minutes ago
  • 7 years ago

Installs

  • Total 37K
  • Win 4K
  • OS X 24K
  • Linux 9K
Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8
Windows 2 0 3 0 1 1 0 0 0 0 1 0 1 2 1 0 0 1 0 0 0 0 0 1 1 1 0 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 1 1 1
OS X 6 4 8 4 7 3 5 5 10 5 12 10 2 2 7 0 4 9 4 3 0 1 2 11 1 2 3 2 2 3 7 6 5 0 2 6 4 10 16 11 3 1 7 5 9 10
Linux 2 2 2 3 2 2 1 0 1 0 1 0 2 1 5 1 6 3 3 1 0 3 0 1 3 5 3 1 3 2 4 5 2 1 1 1 4 0 3 2 5 1 4 1 1 4

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