How to edit the template used to Generate PHPUnit Test?

The results from Generate PHPUnit Test are great, but we need to be able to customize the template because:

  1. We use a different coding style than the generated template (we use tabs instead of spaces, and we don't put { on newlines).  If the template is auto generated should it not respect our style specifications in the Phpstorm settings?
  2. We want to be able to include our own specialised code in the test class and the setUp()/tearDown() functions
  3. We want to do some custom includes at the top of th efile.


Is there any way to achieve this?

Please sign in to leave a comment.