Skip to content

Commit

Permalink
added snippets for skipped and incomplete tests and testWith annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
ldgit committed Jun 4, 2016
1 parent 4122c3f commit 62974b5
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
8 changes: 8 additions & 0 deletions snippets/incomplete_test.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<snippet>
<content><![CDATA[
\$this->markTestIncomplete('${1}');
]]></content>
<tabTrigger>minc</tabTrigger>
<scope>source.php</scope>
<description>Mark test as incomplete</description>
</snippet>
8 changes: 8 additions & 0 deletions snippets/skipped_test.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<snippet>
<content><![CDATA[
\$this->markTestSkipped('${1}');
]]></content>
<tabTrigger>mskip</tabTrigger>
<scope>source.php</scope>
<description>Mark test skipped</description>
</snippet>
11 changes: 11 additions & 0 deletions snippets/testwith.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<snippet>
<content><![CDATA[
/**
* @testWith []
* []
*/
]]></content>
<tabTrigger>atwith</tabTrigger>
<scope>source.php</scope>
<description>create @testWith annotation</description>
</snippet>

0 comments on commit 62974b5

Please sign in to comment.