Has anyone found an easy way to test plugins? Which mock framework are you using?
Testing plugins
guillermooo
#2
For what it’s worth, I’m now using Michael Foord’s mock library to test plugins and it works like a charm.
You can see an example here:
bitbucket.org/guillermooo/sublim … tip/tests/
I’m pretty new to testing, so I hope I’m not doing anything too wrong!
0 Likes
asmodai
#3
Your sublimeplugin.py has a typo:
class ApplicationCommadn(Plugin):
should be
class ApplicationCommand(Plugin):
0 Likes