brackets/test
David Humphrey (:humph) david.humphrey@senecacollege.ca 851a257112 Fix #569: Merge Bramble with upstream Adobe Brackets (1.9 dev)
mozilla/brackets: 3754f1a285 (Wed Feb 8, 2017)
adobe/brackets: e9399ba7ebb787d38956be6f7caadaec491b3d98 (Sun Jan 29, 2017)

Common ancestor is c14890df8a (Tue May 26, 2015)
2017-02-13 11:30:33 -05:00
..
node
perf
smokes
spec
thirdparty
BootstrapReporterView.css
BootstrapReporterView.js
PerformanceTestSuite.js
README.md
SpecRunner.html
SpecRunner.js
TestPreferencesImpl.js
UnitTestReporter.js
UnitTestSuite.js
jasmine.sh
polyfills.js

README.md

Overview

Unit testing for brackets uses 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 (only OSX is supported) 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