1
0
mirror of https://github.com/adobe/brackets.git synced 2024-11-20 18:02:54 +01:00
brackets/test
Jeonghyunsu a74095f012 Correct typo (Peformance -> Performance) (#13902)
* Correct typo

* test

* Correct typo
2018-01-10 22:47:24 +02:00
..
node Add wrapper functions to call the fs-extra ones. (#13830) 2017-12-07 17:30:56 +01:00
perf Correct typo (Peformance -> Performance) (#13902) 2018-01-10 22:47:24 +02:00
smokes Linted CSS 2016-02-27 15:04:25 -05:00
spec Merge pull request #13824 from adobe/boopeshmahendran/ContextSubMenu 2017-12-13 14:46:33 +05:30
thirdparty resuts -> results (#13865) 2017-11-17 18:56:12 +02: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 Moving Session.js to JSUtils 2017-12-07 20:46:58 +05:30
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