brackets/test
Randy Edmunds f419f46033 Merge pull request #2058 from adobe/pflynn/docs-cleanups
Big bag o' minor code cleanups & JSLint fixes
2012-11-08 10:44:35 -08:00
..
perf
smokes/citrus completed
spec Merge pull request #2058 from adobe/pflynn/docs-cleanups 2012-11-08 10:44:35 -08:00
thirdparty
BootstrapReporterView.css
BootstrapReporterView.js
PerformanceTestSuite.js
README.md
SpecRunner.html
SpecRunner.js
UnitTestReporter.js
UnitTestSuite.js
jasmine.sh

README.md

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