1
0
mirror of https://github.com/adobe/brackets.git synced 2024-11-20 09:53:00 +01:00
brackets/test
2015-07-08 13:34:37 +05:30
..
node
perf Fix Travis failure 2014-09-04 17:34:39 +02:00
smokes
spec Merge pull request #11184 from adobe/kai/disable-enable-extensions 2015-07-08 13:34:37 +05:30
thirdparty update file paths 2014-05-27 13:27:25 -07:00
BootstrapReporterView.css Implement Splitview 2014-08-29 13:05:49 -07:00
BootstrapReporterView.js Fix Travis failure 2014-09-04 17:34:39 +02:00
jasmine.sh
PerformanceTestSuite.js
polyfills.js Fix jshint errors 2014-05-28 16:58:16 +02:00
README.md Update URL to Jasmine (Fixes #10259) 2014-12-21 17:03:03 +01:00
SpecRunner.html Update jQuery -> 2.1.3 2015-02-04 15:47:42 +01:00
SpecRunner.js Fix unit tests 2015-06-15 21:27:35 +05:00
TestPreferencesImpl.js Install path and language layers for testing. 2014-09-26 13:52:54 -03:00
UnitTestReporter.js Fix Travis failure 2014-09-04 17:34:39 +02:00
UnitTestSuite.js Add Code Hints for Preferences 2015-05-31 18:51:21 +05:00

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 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