Is there a way to automatically test sublimetext plugins?
I’m aware we can run a command using the command line:
subl --command <command_name> --background <file_path>
but I can’t see how to verify the output of the command from a bash script (it is only available from sublimetext GUI)
The only workaround I’ve found until now is to copy/paste into the console something like this:
window.open_file("<file_path>"); window.run_command("<command_name>")
that will prompt me if there is an error. But that can be difficult to read/maintain if I have 10 or more tests and I cannot not use it in a CI tool like travis.ci, codeship or circle.ci.
Is there any recommendation on that?