RSpec
Sublime Text plugin for RSpec BDD Framework
Details
Installs
- Total 43K
- Win 5K
- Mac 27K
- Linux 11K
| Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 |
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
RSpec Package for Sublime Text
Description
RSpec is a BDD (Behavior-Driven Development) testing framework for Ruby. This package adds support to Sublime Text 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.
Key Bindings
RSpec does not define default key bindings to avoid conflicts with other packages. To add your own, open the Command Palette and execute “Preferences: RSpec Key Bindings”.
Features
- Syntax rules made specially for RSpec
- RSpec plugin automatically uses RSpec language syntax when you are in a RSpec file
- RSpec (open spec).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
- RSpec (all specs).sublime-build: executing all unit tests for the active project via the Sublime Text Build command
- Command to run the currently selected line only (supports multiple selections)
- 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 (available in the Command Palette, can be configured to a keyboard shortcut)
- Large amount of RSpec snippets
- Symbol support: use Goto Symbol… inside an RSpec file and you will get a menu with the specification as you've defined it
- You can also generate a structured document of a spec file with the “RSpec: Generate specification” command