Nette Tester

Compatible with: IntelliJ IDEA PhpStorm
1 784

This plugin integrates Nette Tester into PhpStorm IDE.

Download plugin

Recent change notes


After tens of hours of work, here comes a total rework of the plugin. This beta.1 release marks the feature freeze, now I'd like to focus on fixing bugs and releasing a stable version soon.

  • Most importantly, it no longer relies on a specific fork nette/tester. As of 2.0.0, the plugin supports all 1.* versions of Nette Tester. Hooray!
  • You can navigate between the class and its test, or create a test case for a class easily. The navigation is based on convention (class name + Test suffix), the creation assumes your tests reside in the same namespace as the code; if you use a different scheme, you can configure source to test namespace mapping in the project settings under PHP > Nette Tester.
  • The plugin ships with a run configuration producer for directories, so you can right-click a directory and run the tests within it. For this to be truly one-click action, you should configure the Tester executable in the Nette Tester default run configuration template.
  • You can view the diff of comparison failures (Assert::same() and alike) right in the test results window.
  • Output stack traces are decorated with links to files, provided you set Tester\Dumper::$maxPathSegments to a high enough value in your test environment.

To support a wide range of Tester versions, I had to drop a few features. However, they should, in some form or another, be back once OutputHandler refactoring is resolved.

  • The plugin no longer groups TestCase methods in the test results window.
  • The plugin no longer lets you navigate to the tests from the test results window, nor run or debug them directly.
  • Fixed compatibility with PhpStorm 2016.3.
  • Fixed compatibility with PhpStorm 2016.3.
  • Fixed compatibility with PhpStorm 2016.1.

Initial alpha version with basic capabilities:

  • Tester run configuration type and editor.
  • Displays results in the Test Runner window.