1
0
mirror of https://github.com/adobe/brackets.git synced 2024-11-20 18:02:54 +01:00
brackets/test
2017-04-16 14:25:40 +02:00
..
node Remove node dependencies 2017-02-22 21:12:52 +01:00
perf Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
smokes Linted CSS 2016-02-27 15:04:25 -05:00
spec Add test for block comments 2017-04-16 14:25:40 +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 Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
jasmine.sh Merge pull request #12024 from ficristo/jasmine-sh-log 2016-01-28 11:30:59 +05:30
PerformanceTestSuite.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
polyfills.js Fix jshint errors 2014-05-28 16:58:16 +02:00
README.md jasmine.sh: add some log to say which platform are support 2015-12-24 08:55:33 +01:00
SpecRunner.html Upgrade less from 2.5.1 to 2.7.2 2017-01-08 09:17:52 +01:00
SpecRunner.js Add a post install 'cleanup' for thirdparty dependencies 2017-01-03 09:15:35 +01:00
TestPreferencesImpl.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
UnitTestReporter.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
UnitTestSuite.js Issue #12859 Keyboard modifiers support for simulateKeyEvent (#12863) 2016-12-23 17:07:22 +02: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 (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