brackets/test
Marcel Gerber c38bcacebf Rename CodeMirror2 folder to CodeMirror 2015-05-21 20:53:10 +02:00
..
node implement copy with npm module fs-extra 2013-11-08 16:55:50 -08:00
perf Fix Travis failure 2014-09-04 17:34:39 +02:00
smokes Normalized Line Endings and added .gitattributes 2013-02-02 21:29:11 +01:00
spec Rename CodeMirror2 folder to CodeMirror 2015-05-21 20:53:10 +02:00
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
PerformanceTestSuite.js Prevent extensions from loading in test windows. Separate extension unit tests as a suite. Fix broken perf tests. 2012-07-19 15:36:19 -07: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 Rename CodeMirror2 folder to CodeMirror 2015-05-21 20:53:10 +02: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 Move the implementation to the extensions. Data will be send to the server as soon 2015-04-02 21:10:36 +05:30
jasmine.sh Update copyright notice for brackets 2012-04-25 11:55:41 -07:00
polyfills.js Fix jshint errors 2014-05-28 16:58:16 +02:00

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