Skip to content

SublimeText/RSpec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

72be897 · Mar 14, 2018
Aug 10, 2012
Mar 14, 2018
Oct 5, 2015
Feb 13, 2012
Mar 29, 2015
Mar 29, 2015
Mar 29, 2015
Nov 4, 2014
Nov 25, 2014
Mar 14, 2018
Mar 29, 2015
Nov 22, 2014
Nov 4, 2014
Jan 17, 2015
Jan 17, 2015
Oct 5, 2015
Nov 5, 2014

Repository files navigation

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