Tutorial: Specs

Specs

FoldingText uses Jasmine to run its specs (tests).

To run the specs:

  1. Help > Open Software Development Kit
  2. Click "Run Specs"

When you "Run Specs" FoldingText's internal specs are run together with the specs of all installed plugins. To include specs with your own plugin add a spec.js file along side your main.js file. You can see example plugin specs that are included with these plugins.

I'd like publicly released plugins to include specs. The reason for this is that I can then install the plugin myself. And when I'm working on FoldingText I can run those specs as I work to make sure that I don't break things.

So include specs with your plugins please! :)