Nette Tester plugin for PhpStorm: 2.0.0 and beyond

A few minutes ago, I have released a total rework of my intellij-nette-tester plugin that integrates Nette Tester into PhpStorm.

I haven't paid much attention to the plugin recently, I know. And I'm sorry. I just could not find time and/or motivation. But I am back, and so is the plugin. And it's one of a comeback indeed: I have released a beta.1 version of 2.0.0.

It's a big leap from the previous version. First of all, it lacks some features that were present before: it does not group tests into their TestCases; it doesn't let you navigate to the failed test or run/debug it directly; it doesn't tell you the duration of individual tests. I had to drop these features in order to make the plugin work with pretty much any version of Nette Tester. I believe it's worth it.

Besides, these features are not gone forever. Once the OutputHandler is refactored (which is apparently the last bit blocking the release of Tester 2.0), the plugin will be able to make use of the information provided to the output handler and the removed features will make it back.

To compensate for the missing features, the plugin introduces some new ones:

  • output stack traces are decorated with links to files (you need to set Tester\Dumper::$maxPathSegments to a high enough value in your test environment);
  • you can view the diff of comparison failures (Assert::same() and alike) right in the IDE;
  • you can right-click a directory and run the tests within it (yay!);
  • you can navigate between the class and its test, or create a test case for a class easily (based on convention and namespace mapping configured in the project settings).

I hope you will love this release. I've put a lot of work into it and I'm proud of it. But I'm also pretty sure I've left some bugs in there for you to catch, so please feel free to test the plugin and report any issues on Github.

Have you found a tpyo in the post? Please submit a pull request with a fix :)

Hello, I am Jiří Pudil

My photo

I am a full-stack web developer from Brno, Czech Republic. I contribute to open-source projects, write a technical blog, and speak at meetups and conferences.

Learn more about me
Content licensed under