Hi, All. Anyone tried writing automated tests for sublime plugins?
I’ve never done unit testing in python, and so I’m not sure quite how to go about it. What I’d like to do is something like this;
- be able to develop the files as normal, dropping python into package folders.
- also embed tests, which only run when you press ‘F7’
I assume I’m going to need some mock objects representing Sublime views, windows, etc. Anyone tried anything like this, and have some pointers?