You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What about add variables for template which contains path to tested class and full class name? When you make unit tests right, you should need only class which you test and don't use autoloaders. Am I right?
tbh it doesn't make that much sense to me, usually you want to mock dependencies or the tested class may use other classes internally etc. Using a configured autoloader seems far more convenient. That's why I don't feel like changing the template.
I can add the variables though so that people can use them in a customized template.
What about add variables for template which contains path to tested class and full class name? When you make unit tests right, you should need only class which you test and don't use autoloaders. Am I right?
so template like this:
will generate test class like this one
Do you think it's good for something?
The text was updated successfully, but these errors were encountered: