adobe/brackets — pull request #3181 by jasonsanjose (2013-03-20 06:14:03+00:00)
Title: Port run_tests.sh to grunt

2 new grunt tasks. Removes ``tools/run_tests.sh``.

```
# writes a build.prop file for jenkins
# with branch, sha and build num and save to jenkins vars
grunt build-prop

# runs all tests in the shell, requires shell to be stage
# at minimum 'grunt build stage' or simply 'grunt full-build' in brackets-shell
grunt test-integration
```

``test-integration`` task has optional cmdline args:

* ``--shell-repo=`` specify non-default path to brackets-shell repo
* ``--shell=`` specify non-default path to brackets binary (overrides shell-repo)
* ``--spec=`` default ``all``
* ``--result`` output file name, default ``/results.json``

Tested on mac and win.