theAverageDev
  • about
avatar

theAverageDev

Better than yesterday.

PHPSpec PHPStorm live template

November 3, 2014

I've been playing around with phpspec lately and am very much enjoying the design principles its limitations impose.
Being a PhpStorm user I've created an handy template to speed up spec writing.
Here it is the live template

/**
  * it $description$
  */
public function it_$method$() 
{ 
    $END$
}

and here is the screenshot to deal with the its automation [phpspec live template](http://theaveragedev.local/wordpress/wp-content/uploads/2014/11/2014-11-03-at-21.36.png)

© 2024 theAverageDev