brackets/test
Jacques Couzteau bbf47e5c28 Merge remote-tracking branch 'upstream/master' into couzteau-issue1241
Conflicts:
	src/command/KeyBindingManager.js
2012-09-12 09:19:25 -07:00
..
perf Fix for #1053. Moved performance test files into brackets repo. Replace incompatible files with Brackets source as test media due to licensing. 2012-08-24 12:29:51 -07:00
smokes/citrus completed Smoke test: revert background to original color 2012-05-04 11:56:42 -07:00
spec added module utils/KeyEvent that defiens key event constants 2012-09-07 09:18:12 -07:00
thirdparty Merge remote-tracking branch 'origin/master' into tvoliter/context-menus 2012-06-14 18:29:49 -07:00
BootstrapReporter.css make red bolder 2012-06-11 11:20:06 -07:00
BootstrapReporter.js Rename Params to UrlParams, parseLocation to parse. 2012-07-20 09:41:52 -07:00
PerformanceTestSuite.js Prevent extensions from loading in test windows. Separate extension unit tests as a suite. Fix broken perf tests. 2012-07-19 15:36:19 -07:00
README.md Remove hard coded paths 2011-12-14 11:00:44 -08:00
SpecRunner.html Refactor url param usage to use new Params class. Additional code review comments. 2012-07-19 17:59:17 -07:00
SpecRunner.js Use achored regexp 2012-09-07 16:52:08 -07:00
UnitTestSuite.js Add unit tests. 2012-08-16 12:28:01 -07:00
jasmine.sh Update copyright notice for brackets 2012-04-25 11:55:41 -07:00

README.md

Overview

Unit testing for brackets uses Jasmine http://pivotal.github.com/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 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