On the PhpStorm blog (from JetBrains) Gary Hockin reflects on a post from Adam Wathan with tips for combining PHPUnit and PhpStorm for more effective debugging.
Community stalwart and Laravel aficionado Adam Wathan blogged on his PHPUnit workflow in Sublime text.
Gary then goes through the points in Adam's post and shows how they can (mostly) be accomplished directly in PhpStorm:
- Generating unit test boilerplate for a class
- Using "snippets" to create shortcuts for reusable code
- Running the tests in just one file directly from the IDE
Each section comes with a brief description and animated screen grabs showing the flow of the setup and use for each.