0

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

Thelonias
  • 2,918
  • 3
  • 29
  • 63
  • If you invoke autocompletion while typing your class name, does PHPStorm suggest the class you're wanting to test? The only reason I can see that it wouldn't generate the test class' name automatically was if it didn't find the class somehow. – Jeto Mar 17 '18 at 10:10
  • PHPStorm correctly triggers the suggestions. Normally when I would select one, that's when it would populate the test class name for me. That's what's no longer working – Thelonias Mar 19 '18 at 01:53

1 Answers1

1

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.

Thelonias
  • 2,918
  • 3
  • 29
  • 63