Skip to content

Files

Latest commit

d537e5c · Nov 9, 2021

History

History
This branch is 25 commits behind brackets-cont/brackets:master.

test

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 7, 2017
Jan 10, 2018
Feb 27, 2016
Nov 9, 2021
Nov 17, 2017
Aug 29, 2014
Aug 12, 2016
Aug 12, 2016
Feb 1, 2018
Jan 8, 2017
Apr 2, 2019
Aug 12, 2016
Aug 12, 2016
Apr 2, 2019
Jan 28, 2016
May 28, 2014

README.md

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