Gourmet
This plugin aims to help CakePHP developers using the Gourmet suite of plugins.
Details
Installs
- Total 147
- Win 87
- Mac 37
- Linux 23
Jun 17 | Jun 16 | Jun 15 | Jun 14 | Jun 13 | Jun 12 | Jun 11 | Jun 10 | Jun 9 | Jun 8 | Jun 7 | Jun 6 | Jun 5 | Jun 4 | Jun 3 | Jun 2 | Jun 1 | May 31 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | May 20 | May 19 | May 18 | May 17 | May 16 | May 15 | May 14 | May 13 | May 12 | May 11 | May 10 | May 9 | May 8 | May 7 | May 6 | May 5 | May 4 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 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 | 1 | 0 | 0 | 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.