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