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
nunomaduro
changed the title
Creating helpers ( previous private methods in PHPUnit )
Creating helpers — previous private methods in PHPUnit
May 13, 2020
I personally like this approach a lot. Especially for use case 2. This could also solve some of the issues until a phpstorm plugin is released with autocompletion and static code analysis.
Just committed something kind of experimental to the
dev-master
.Feature added: The
test
helper called without any arguments resolves the current test instance.Use Case 1: Creation of helpers that depend of the current test instance. I think this is dope.
Use Case 2: Solves some IDE issues ( see #5):
Any thoughts on this? You can try it out doing:
The text was updated successfully, but these errors were encountered: