mardi 3 février 2015

Unittesting - Doing it wrong for plugins?

I am unittesting my cakephp-plugins. However, I got this situation. My plugin-tests works well, but when I activate another plugin (who's fixtures (tables) are not loaded, my original tests won't work anymore!


How to 'fix' this? Is it the responsibility for the second plugin who let the other tests fail, or do I have to prepare myself in my main-plugin for situations like this?


Hopefully I described the situation clear...


Greetz


Aucun commentaire:

Enregistrer un commentaire