Hello there, I’m writing a plugin and I was wondering about the possibility to write tests in advance, before coding it for real.
I've found phpunit support inside core, there is
tests/ directory and
phpunit.xml file but running tests it warns about don't doing in a working site then hungs. (I'm running a github cloned copy ...)
Maybe I must delete
application/config.php? So that LS would think being a fresh uninstalled version?
BTW, I've tried to create a
tests/ directory inside my plugin, then adding a test class, extending
ls\tests\TestBaseClass is it correct?
Am I missing something else? Any help is appreciated!
Thanks in advance!