1
0
mirror of https://github.com/adobe/brackets.git synced 2024-11-20 09:53:00 +01:00
brackets/test
Narciso Jaramillo f2f2596eff Merge pull request #13 from adobe/initial-fileio-work
Added basic suporrt for reading files -- reviewed by nj
2011-12-15 17:35:04 -08:00
..
lib Remove JsTestDriver 2011-12-12 12:59:49 -08:00
spec Merge pull request #13 from adobe/initial-fileio-work 2011-12-15 17:35:04 -08:00
jasmine.sh Allow jasmine.sh to run from any working directory 2011-12-12 15:19:35 -08:00
README.md Remove hard coded paths 2011-12-14 11:00:44 -08:00
SpecRunner.html Remove comment 2011-12-14 11:50:26 -08:00

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