mirror of
https://github.com/adobe/brackets.git
synced 2024-11-20 18:02:54 +01:00
2954858128
* Added Extension Sorting capability according to downloads and last published date * Passed sort criteria to sortRegistry function in registy_utils * Added some tests * Added check for existence of downloadCount in extension-manager * Added test for checking downloadCount in ExtensionManager view * Added svg image for download icon in Extension Manager |
||
---|---|---|
.. | ||
node | ||
perf | ||
smokes | ||
spec | ||
thirdparty | ||
BootstrapReporterView.css | ||
BootstrapReporterView.js | ||
jasmine.sh | ||
PerformanceTestSuite.js | ||
polyfills.js | ||
README.md | ||
SpecRunner.html | ||
SpecRunner.js | ||
TestPreferencesImpl.js | ||
UnitTestReporter.js | ||
UnitTestSuite.js |
Overview
Unit testing for brackets uses Jasmine.
Getting started
Running Tests
2 options for running tests:
- Run brackets-app and click "Run Tests" from the menu (debugging and dev tools not supported)
- 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
- Create a new .js file under spec/
- Write the test (see spec/Editor-test.js or Jasmine documentation)
- Edit SpecRunner.html and add the spec .js file in a new script tag
Known Issues
None