aboutsummaryrefslogtreecommitdiffstats
path: root/testacular-e2e.conf.js
diff options
context:
space:
mode:
authorIgor Minar2012-08-30 01:10:28 -0700
committerIgor Minar2012-09-13 16:23:18 -0700
commit9d168f058f9c6d7eeae0daa7cb72ea4e02a0003a (patch)
tree0addcfc0a1d59f54c646ff2c7dd68fd01428cedf /testacular-e2e.conf.js
parent5418564f0462a7f9b9458b170271a9a267dc4f79 (diff)
downloadangular.js-9d168f058f9c6d7eeae0daa7cb72ea4e02a0003a.tar.bz2
chore(testing): Testacular config files + rake tasks
- adds testacular config files for jqlite, jquery, modules and e2e tests - replaces obsolete JsTD Rake tasks with Testacular onces - rake tasks are parameterazied so that they can be used locally as well as on CI server usage: rake test # run all tests on Chrome rake test[Safari+Chrome+Opera] # run all tests on Safari, Chrome and Opera rake test[Safari] # run all tests on Safari rake test:jqlite # run unit tests using jqlite on Chrome rake test:jqlite[Safari,"--reporter=dots"] # run jqlite-based unit tests on Safari with dots reporter rake autotest:jquery # start testacular with jquery-based config and watch fs for changes rake test:e2e # run end to end tests
Diffstat (limited to 'testacular-e2e.conf.js')
-rw-r--r--testacular-e2e.conf.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/testacular-e2e.conf.js b/testacular-e2e.conf.js
new file mode 100644
index 00000000..149ee970
--- /dev/null
+++ b/testacular-e2e.conf.js
@@ -0,0 +1,13 @@
+var angularFiles = require(__dirname + '/angularFiles.js');
+
+files = [ANGULAR_SCENARIO, ANGULAR_SCENARIO_ADAPTER, 'build/docs/docs-scenario.js'];
+
+autoWatch = false;
+singleRun = true;
+logLevel = LOG_INFO;
+logColors = true;
+browsers = ['Chrome']
+
+proxies = {
+ '/': 'http://localhost:8000/build/docs/'
+};