Skip to content

DamnWidget/UnitTesting

 
 

Repository files navigation

UnitTesting

Linux & OSX Windows
Build Status Build status

This is a testing framework for Sublime Text 2 and 3. It helps in testing Sublime Text plugins and works on local machines or via CI services such as travis-ci and appveyor.

If you like it, you could send me some tips via .

Introduction

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

  1. https://github.com/guillermooo/AAAPT
  2. https://bitbucket.org/klorenz/sublimepluginunittestharness
  3. 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 hand, sublime-plugin-tests is a great framework, it supports travis-ci. However tests are not natively ran in Sublime Text and it creates a lot of confusion. Given my disappointment with all these frameworks, I decide to write my own framework.

Getting start example

It is hard to explain the usage without an example, so I have created UnitTesting-example.

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

Credits

Thanks guillermooo and philippotto for their efforts in AppVeyor and Travis OSX support.

About

Testing framework for Sublime Text 2 and 3

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 80.9%
  • Shell 10.4%
  • PowerShell 8.7%