Last active
December 20, 2015 14:05
-
-
Save alenabdula/4e6591bb25f0e9dae4e2 to your computer and use it in GitHub Desktop.
Sublime Text snippet to automate process of creating a PHPUnit test case
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content> | |
<![CDATA[ | |
/** @test */ | |
function ${1/\s/_/g}() | |
{ | |
${0:// ${1:type method name with spaces when done press tab}} | |
} | |
]]> | |
</content> | |
<tabTrigger>test@</tabTrigger> | |
<scope>source.php</scope> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do i use this?
.php
filetest@
and hit TAB_
(underscores)