Sublime Forum

UnitTest framework for Sublime Text

#1

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

github.com/guillermooo/AAAPT
bitbucket.org/klorenz/sublimepl … estharness
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, 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.

https://travis-ci.org/randy3k/UnitTesting.png?branch=master It works with travis-ci!

Github: github.com/randy3k/UnitTesting

4 Likes

#2

I have just updated the framework, it now supports travis-ci OS X build.

0 Likes

#3

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

Build Status for Windows Platform: https://ci.appveyor.com/api/projects/status/9nnjlnj6tetbxuqd/branch/master

2 Likes

#4

UnitTesting is now 0.7.1 with new supports of coverage and coveralls.io.

Check: https://github.com/randy3k/UnitTesting and https://github.com/randy3k/UnitTesting-example

4 Likes