Testing Plugin – Install plugin dependencies in enviroment
i have a problem with a unittest, mi plugin depends of the timber plugin for render twig template.
But a i have a problem when i need run the unittest with wordpress testing enviroment, i cant install adiccionals plugins, i think that mayby i can moked the calls to plugin (i dont found info of this) or mayby if i can install in the enviroments.
Has anyone had a similar problem and found a solution?
Soon I feel that I will find similar problems when verifying things about the template, but perhaps we are talking about tests more related to integration, do you know if wordpress proposes some mechanism for integration tests or does it have to be done by hand?
Leave an answer