Gourmet
This plugin aims to help CakePHP developers using the Gourmet suite of plugins.
Details
Installs
- Total 136
- Win 79
- Mac 35
- Linux 22
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 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Sublime Gourmet
This plugin aims to help CakePHP developers using the Gourmet suite of plugins.
Installation
Use Sublime Text 2's Package Control (Preferences -> Package Control -> Install Package -> Gourmet) to install this plugin.
Configuration
@todo Write up.
Commands
This plugin adds support for running tests (or any CakePHP shell command) from inside Sublime Text 2.
Right-click in the editor to:
- Open the associated test file (i.e. Model/User.php -> Model/UserTest.php)
- Run all tests in the current file
- Run select method unit test - TODO
- Run all unit tests - TODO
Right-click in the side-bar to:
- Open the associated test file (i.e. Model/User.php -> Model/UserTest.php)
- Run all tests in the current file
Go to the Tools menu (Tools -> Gourmet] to:
- Open the associated test file (i.e. Model/User.php -> Model/UserTest.php)
- Run all tests in the current file
- Run select method unit test - TODO
- Run all unit tests - TODO
You can also open up the Command Palette (CMD + SHIFT + P on OSX), and type 'Gourmet' to see what you can do with Gourmet in the currently open file.
Snippets
We add the following snippets to speed up writing PHP test code.
To use any of the snippets, simply type the name of the snippet, then press the key. Sublime Text 2 will insert the snippet, and you can then use the key to move through any placeholders that you need to replace.
- gourmet-addTest: Stubs test method
- gourmet-newCommonTestCase: Stubs class TestCase that extends
Common.TestSuite/CommonTestCase
- gourmet-addBeforeSave: Stubs the
Model::beforeSave()
method
Patches & Features
- Fork
- Mod, fix
- Commit - do not mess with license, todo, version, etc. (if you do change any, bump them into commits of their own that I can ignore when I pull)
- Pull request - bonus point for topic branches
Bugs & Feedback
http://github.com/gourmet/sublime/issues
License
Copyright 2014, Jad Bitar
Licensed under The MIT License Redistributions of files must retain the above copyright notice.