Skip to content

Instantly share code, notes, and snippets.

@gmorel
Created February 5, 2015 13:10
Show Gist options
  • Save gmorel/888364b5315f4cac2bfb to your computer and use it in GitHub Desktop.
Save gmorel/888364b5315f4cac2bfb to your computer and use it in GitHub Desktop.
Lead PHPStorm to open the incriminated file when an Atoum test has failed. Add this snippet into your `.atoum.php` file in your project root.
$stdOutWriter = new atoum\writers\std\out();
$cliReport = new atoum\reports\realtime\cli();
$cliReport->addWriter($stdOutWriter);
$cliReport
->addField(
new atoum\report\fields\runner\failures\execute\unix\phpstorm('/home/gmorel/Tools/PhpStorm-138.2001.2328/bin/phpstorm.sh')
)
;
$runner->addReport($cliReport);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment