Classes and Tests (beta)
A smart-template-based file creator and test runner for PSR-0 name-spaced class and test files
File creation is governed by "Smart Templates." Variables set in the settings file get read, manipulated by a command defined in a
.variablesfile, and inserted into a template. Smart templates for projects using php in conjuction with phpUnit are provided.
(Templates for other languages might be added in future versions but could be created by the user for now.)
Create new PSR-0 namespaced classes and their corresponding tests with the help of "smart templates".
nto open the file creation panel and enter the new file name. Folders are created automatically. If your test files live in a separate directory tree that mirrors your source code directory tree, the test files are automatically placed in the correctdirectory-branch.
if /MyProject/library/ is your code base and /MyProjec/libraryTest/ is the root of all your test files, the test file for
/MyProject/library/aae/mvc/Controller.php will be
Easyly create tests while editing a class or vice versa by pressing
If both the test and the class file already exist,
tabtoggles back and forth between the two
Known issues: Currently only key-bindings for Mac exist.
I am a freelance software engineer, if this plugin is useful to you, please considder supporting me with a donation!