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

RSpec

by SublimeText ALL

Sublime Text 2 / 3 plugin for RSpec BDD Framework

Details

  • 2014.11.25.09.54.52
    2.0.8
  • github.​com
  • github.​com
  • 7 years ago
  • 32 minutes ago
  • 13 years ago

Installs

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

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