peridot-php / peridot

Event driven BDD test framework for PHP
http://peridot-php.github.io/
MIT License
328 stars 27 forks source link

PHPUnit output? #163

Closed mnapoli closed 9 years ago

mnapoli commented 9 years ago

I'm wondering if it's possible to make Peridot work with PhpStorm. A way to do that might be to run Peridot as "PHPUnit" (i.e. set up to use Peridot's binary instead of PHPUnit), the only thing would be that the output should be similar to PHPUnit so that PhpStorm can parse it. Is there a way to achieve that out of the box?

brianium commented 9 years ago

I'm not altogether familiar with how PHPUnit output is parsed by PhpStorm. Does it use a format like junit.xml or tap?

brianium commented 9 years ago

Those outputs are not supported out of the box by Peridot, but it should be pretty simple to implement a plugin that accomplishes that

mnapoli commented 9 years ago

I understand. From what I've understood of the docs, it should be a custom "reporter" is that right?

(closing the issue, my question has been answered thanks)