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 (unittest) frameworks for Sublime Text in town:

https://github.com/guillermooo/AAAPT
https://bitbucket.org/klorenz/sublimepl ... estharness
https://github.com/twolfson/sublime-plugin-tests
They all have their own pros and cons. 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 is better in that sense and supports travis-ci, however tests are not run natively in Sublime. After playing with all those frameworks, I decided to write my own framework.

It is hard to explain the usage without an example, so I have created an getting start example here: https://github.com/randy3k/UnitTesting-example

IT WORKS WITH TRAVIS-CI !!
Image
https://travis-ci.org/randy3k/UnitTesting-example
randy3k
 
Posts: 37
Joined: Sun Nov 18, 2012 5:16 am

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 8 guests