| Linux & OSX | Windows |
|---|---|
This is a unittest framework for Sublime Text 2 and 3. It helps in running Sublime Text plugins' tests on local machines or via CI services such as travis-ci and appveyor. It also supports testing syntax_test files for the new sublime-syntax format.
If you like it, you could send me some tips via paypal or gratipay.
There are at least 3 testing frameworks for Sublime Text in town. For example,
- https://github.com/guillermooo/AAAPT
- https://bitbucket.org/klorenz/sublimepluginunittestharness
- https://github.com/twolfson/sublime-plugin-tests
While AAAPT and pluginunittestharness work natively in Sublime, they are only for Sublime Text 3 and do not work with travis-ci. On the other hand, sublime-plugin-tests supports travis-ci. But it requires nosetest and creates a lot of confusions. Given my disappointment with all these frameworks, I decide to write my own framework.
It is hard to explain the usage without an example, so I have created UnitTesting-example. The tests in this repo are written to test this plugin and they do not help in regular use case. Go to the getting started sample instead.
Thanks guillermooo and philippotto for their efforts in AppVeyor and Travis OSX support.