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