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

bin/autotest

Lines changed: 2 additions & 0 deletions
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'])

bin/bench

Lines changed: 29 additions & 0 deletions
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

bin/node_modules/.bin/cake

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/node_modules/.bin/coffee

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/node_modules/.bin/nodeunit

Lines changed: 120 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/node_modules/coffee-script/.npmignore

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/node_modules/coffee-script/LICENSE

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/node_modules/coffee-script/README

Lines changed: 48 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/node_modules/coffee-script/Rakefile

Lines changed: 78 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/node_modules/coffee-script/bin/cake

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/node_modules/coffee-script/bin/coffee

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/node_modules/coffee-script/extras/jsl.conf

Lines changed: 44 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)