Home Download Buy Blog Forum Support

UnitTest framework for Sublime Text

UnitTest framework for Sublime Text

Postby randy3k on Tue Mar 04, 2014 1:45 am

There are at least 3 testing frameworks for Sublime Text in town. They are

https://github.com/guillermooo/AAAPT
https://bitbucket.org/klorenz/sublimepl ... estharness
https://github.com/twolfson/sublime-plugin-tests
AAAPT and pluginunittestharness work natively in Sublime, but they are ST3 only and do not work with travis-ci. On the other hard, sublime-plugin-tests supports travis-ci, however tests are not natively ran in Sublime and it creates a lot of confusion. After playing 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 an getting start example, https://github.com/randy3k/UnitTesting-example/.

Note: The tests in this repo are written to test this testing plugin and they are not helping in regular situations. Go to the getting start example instead.

Image It works with travis-ci!

Github: https://github.com/randy3k/UnitTesting
Last edited by randy3k on Sun Aug 03, 2014 10:22 pm, edited 2 times in total.
randy3k
 
Posts: 47
Joined: Sun Nov 18, 2012 5:16 am

Re: UnitTest framework for Sublime Text

Postby randy3k on Sat Aug 02, 2014 7:18 pm

I have just updated the framework, it now supports travis-ci OS X build.
Image
randy3k
 
Posts: 47
Joined: Sun Nov 18, 2012 5:16 am

Re: UnitTest framework for Sublime Text

Postby randy3k on Sun Aug 03, 2014 10:17 pm

With the effort of @guillermooo, I have also add support of appveyor.com for windows platform.

Build Status for Windows Platform: Image
randy3k
 
Posts: 47
Joined: Sun Nov 18, 2012 5:16 am


Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 14 guests