mirror of
https://github.com/adobe/brackets.git
synced 2024-11-20 09:53:00 +01:00
f2f2596eff
Added basic suporrt for reading files -- reviewed by nj |
||
---|---|---|
.. | ||
lib | ||
spec | ||
jasmine.sh | ||
README.md | ||
SpecRunner.html |
Overview
Unit testing for brackets uses Jasmine http://pivotal.github.com/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 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