Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ Running Tests
2 options for running tests:

1. Run brackets-app and click "Run Tests" from the menu (debugging and dev tools **not** supported)
1. Run jasmine.sh or manually run Brackets-app with the argument file://path/to/brackets/test/SpecRunner.html.
1. 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

Expand Down
18 changes: 17 additions & 1 deletion test/jasmine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,20 @@ BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo $BASEDIR

# open the Jasmine SpecRunner
open ${BASEDIR}/../../bin/mac/Brackets.app --args file:///${BASEDIR}/SpecRunner.html
case $OSTYPE in
darwin*)
open ${BASEDIR}/../../bin/mac/Brackets.app --args file:///${BASEDIR}/SpecRunner.html
;;
linux*)
echo Linux Not Yet Implemented
;;
cygwin* | msys | win32 )
echo Windows Not Yet Implemented
;;
freebsd*)
echo FreeBSD Not Yet Implemented
;;
*)
echo Unknown operating system $OSTYPE
;;
esac