Gourmet
This plugin aims to help CakePHP developers using the Gourmet suite of plugins.
Details
Installs
- Total 137
- Win 80
- Mac 35
- Linux 22
Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 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 | 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 | 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.