mirror of
https://github.com/adobe/brackets.git
synced 2024-11-20 18:02:54 +01:00
Unit testing readme
This commit is contained in:
parent
6bbdfc81a0
commit
de9e68f3d1
25
test/README.md
Normal file
25
test/README.md
Normal file
@ -0,0 +1,25 @@
|
||||
Overview
|
||||
========
|
||||
|
||||
Unit testing for brackets uses JsTestDriver http://code.google.com/p/js-test-driver/.
|
||||
|
||||
Getting started
|
||||
===============
|
||||
|
||||
Running Tests
|
||||
|
||||
1) Launch server: ./server.sh
|
||||
2) Launch web browser and capture: http://localhost:9876/capture
|
||||
3) Run all tests: ./test.sh
|
||||
|
||||
Adding New Tests
|
||||
|
||||
1) Create a new .js file
|
||||
2) Create a TestCase that matches the file name (see core/DemoTest.js)
|
||||
3) Edit jsTestDriver.conf and include the .js file path under the test heading
|
||||
|
||||
Known Issues
|
||||
============
|
||||
|
||||
1) server.sh script should eventually open brackets-app by default with the capture URL
|
||||
2) Add an option to auto launch an arbitrary browser when running server.sh
|
Loading…
Reference in New Issue
Block a user