Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

choan/sugartest.tmbundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SugarTest TextMate Bundle

Some simple snippets to write SugarTest javascript tests on TextMate.

  • st<tab> writes "SugarTest"
  • SugarTest<tab> creates the test skeleton
  • co<tab> writes contexts with "context" and "should"
  • de<tab> writes contexts with "describe" and "it"
  • sh<tab> writes units with "should"
  • it<tab> writes units with "it"
  • ali<tab> writes the setWhateverAlias call for you
  • jst<tab> inserts
    • the script tags needed to use SugarTest (referencing both jsunittest.js and jshoulda.js)
    • or the div#id=testlog needed by the JsUnitTest logger
  • uni<tab> writes a call to unifyRunners.

A better experience

Combine with the JavaScript Unit Testing TextMate bundle to obtain complete happiness.

Is it fast?

Yes, but we still have no video to show you.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published