Skip to content

Instantly share code, notes, and snippets.

@davemfletcher
Created February 24, 2013 01:40
Show Gist options
  • Select an option

  • Save davemfletcher/5022218 to your computer and use it in GitHub Desktop.

Select an option

Save davemfletcher/5022218 to your computer and use it in GitHub Desktop.

Revisions

  1. davemfletcher created this gist Feb 24, 2013.
    12 changes: 12 additions & 0 deletions php: test
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    <snippet>
    <content><![CDATA[
    public function ${1:MethodName}_${2:StateUnderTest}_${3:ExpectedBehavior}()
    {
    ${4: // assertions}
    }
    ]]></content>
    <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
    <tabTrigger>test</tabTrigger>
    <!-- Optional: Set a scope to limit where the snippet will trigger -->
    <scope>source.php</scope>
    </snippet>