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
  • 5 months ago
  • 1 minute ago
  • 7 years ago

Installs

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