Search code examples
phpunitphpstormphpstorm2017.3

How to automatically generate a test class name after selecting a fully-qualified class name to test?


I'm trying to create a new PHPUnit test class in PHPStorm. In the past when I've done this, when I fill in the Fully Qualified Name field with the class to test, the Test Class Name field would automatically update with "class name" + Test.

But now, for some reason the IDE is not prepending the class name. Is there a setting I need to turn on? I'm following this guide and it says right on there that the default behavior


Solution

  • It appears that there was an issue in PHPStorm 2017.3.1 because once I updated to 2017.3.6, I no longer have the issue.