Skip to content


Repository files navigation

Eclipse Plugin that converts a phrase intro a PHPUnit test method.

The update site for the plugin can be accessed via the following url:

The url is visible only from Eclipse. Please add the url from: Help > Install New Software ... > Add or drag the install button to your running Eclipse workspace

Drag to your running Eclipse workspace to install TestNameGenerator(PHP)


Move the cursor to the line that you want to convert into a test method and press the keybind.

The default key bind is Ctrl+Shift+8
If you want to change the key bindings, open Window / Preferences / General / Editors / Keys, search for "PHPUnit Generate Test Method using phrase" and change the keybind.


The plugin only generates PHPUnit syntax for now.

Also, check out the Sublime Text version and PhpStorm for more information about the testNameGenerator project.


Pull requests are welcome.

with-Eclipse logo