Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 5bfdca59f8
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (16 sloc) 0.611 kB

Overview

Unit testing for brackets uses Jasmine http://pivotal.github.com/jasmine/.

Getting started

Running Tests

2 options for running tests:

  1. Run brackets-app and click "Run Tests" from the menu (debugging and dev tools not supported)
  2. Run jasmine.sh or manually run Brackets-app with the argument file://path/to/brackets/test/SpecRunner.html.

Adding New Tests

  1. Create a new .js file under spec/
  2. Write the test (see spec/Editor-test.js or Jasmine documentation)
  3. Edit SpecRunner.html and add the spec .js file in a new script tag

Known Issues

None

Jump to Line
Something went wrong with that request. Please try again.