mirror of
https://github.com/adobe/brackets.git
synced 2024-11-20 09:53:00 +01:00
32300dc3a5
* It fixes issue #11261 by preventing the search bar from closing as a result of clicking in the main editor. This is done by commenting out the code in line 256. The search bar will also close when the ESC key is pressed while the main editor has focus * Commented out unnecessary code around line 256 * [issue#11261] * Added in a menu option to allow find bar to stay open/automatically close * Add a close icon to the search bar (for completeness) * Fix escape key for in-editor searches * Remember last search phrase if no selection for in-editor searches * [issue#11261] Code clean up of initial mistakes of the previous commit * [issue#11261] Strange issue with spacing in src/nls/fr/strings.js... * [issue#11261] Strange issue with spacing in src/nls/fr/strings.js... * [issue#11261] Further merge conflict resolution and clean up * [issue#11261] Fix to branch and to testing * [issue#11261] Fixes for incorrect regexp processing * [issue#11261] Why does JSLint keep changing its own file * [issue#11261] Not sure about the french one, let's exclude it for now until I can confirm with a Quebecois at work * [issue#11261] Test left test file with change... * [issue #11261] Minor fixes as per conversation of pull request * [Issue #11261] Fixes mainly to the regular expression side of things * [Issue #11261] Revert accidental change in JSLint * [issue #11261] Remove loosy TODO and wording consistency change * [Issue #11261] Remove Find Next on 'Find' option (we already have Find Next) * [Issue #11261] (Retry the Travis CI build) * Totally forgot to actually save the merge conflict resolution. Here it is. * Merged master incorrectly - fix bad merge * Fix test Signed-off-by: petetnt <pete.a.nykanen@gmail.com> |
||
---|---|---|
.. | ||
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