Skip to content

Commit aa26740

Browse files
committed
first pass at test automation, mobile-spec automation, and benching
1 parent cd57f57 commit aa26740

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+5758
-0
lines changed

Diff for: bin/autotest

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#! /usr/bin/env node
2+
require('nodeunit').reporters.default.run(['bin/tests'])

Diff for: bin/bench

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#! /bin/sh
2+
#
3+
# Creates an app in `./bench` that posts results to http://phonegap-bench.heroku.com with current PhoneGap/Android sha.
4+
#
5+
# USAGE
6+
# ./bin/bench
7+
#
8+
9+
# clobber any existing bench
10+
if [ -e ./bench ]
11+
then
12+
rm -rf ./bench
13+
fi
14+
15+
# create a benching app
16+
./bin/create ./bench com.phonegap.bench PhoneGapBench
17+
18+
# grab the latest bench www code
19+
git clone [email protected]:brianleroux/phonegap-bench.git
20+
21+
# copy it into the app
22+
cat ./phonegap-bench/www/index.html > ./bench/assets/www/index.html
23+
#cat ~/Desktop/phonegap-bench/www/index.html > ./bench/assets/www/index.html
24+
25+
# clean up
26+
rm -rf ./phonegap-bench
27+
28+
# launch to the first device found
29+
./bin/debug ./bench

Diff for: bin/node_modules/.bin/cake

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: bin/node_modules/.bin/coffee

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: bin/node_modules/.bin/nodeunit

+120
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: bin/node_modules/coffee-script/.npmignore

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: bin/node_modules/coffee-script/LICENSE

+22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: bin/node_modules/coffee-script/README

+48
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: bin/node_modules/coffee-script/Rakefile

+78
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: bin/node_modules/coffee-script/bin/cake

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: bin/node_modules/coffee-script/bin/coffee

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: bin/node_modules/coffee-script/extras/jsl.conf

+44
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)