I’m thinking which one is the best way to create a good set of unit-tests. Let’s say I got a bunch of WindowCommand subclasses and I’d like to test them in a synchronous way. I know run_command is synchronous… but at the moment the plugins use quick_panel or input_panel they immediately become asynchronous and the problem here is I’m not sure how to guarantee a certain order {command1 > command2 > … > commandN}.
Any advice here so I can guarantee the tests will run in order? One partial solution of course would be the unittests testing only the synchronous code used by the plugins but I wonder if there would be a the option to run directly the commands in order instead.
Usually when I write pyqt apps I tend to test them using the QTest framework, something like this, so I was wondering if it would be possible to have something similar to this on SubimeText.
If not, I’d like to hear from you guys any good recomendation about how to test properly the plugins.
Thanks in advance.
