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
This issue is specifically to add the first unit tests for the Package_PHP_Web class, which currently have no test coverage, focusing on the writeJsonIndex and processJsonIndex methods.
A follow-up issue should be created to address unit tests for the remaining methods.
The text was updated successfully, but these errors were encountered:
I declared these methods as private, which makes it a bit tricky to hook into them using the existing approach of extending classes (i.e. Test*.php classes in phpdotnet/phd).
Would it be okay to extract this JSON index behavior into a dedicated class and just test it directly? Or would you prefer that I find a way to maintain the current strategy of test subject extension?
This issue is specifically to add the first unit tests for the
Package_PHP_Web
class, which currently have no test coverage, focusing on thewriteJsonIndex
andprocessJsonIndex
methods.A follow-up issue should be created to address unit tests for the remaining methods.
The text was updated successfully, but these errors were encountered: