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
  • 11 months ago
  • 2 hours ago
  • 7 years ago

Installs

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