aboutsummaryrefslogtreecommitdiffstats
path: root/testacular-jquery.conf.js
diff options
context:
space:
mode:
authorIgor Minar2012-08-30 01:10:28 -0700
committerIgor Minar2012-09-17 09:46:13 -0700
commit06eceeb09feb7eccc6cb1ef87181bd6060cf3d4b (patch)
treeba40dd0939d2eec4f63fb30c4c8fc64603158d6a /testacular-jquery.conf.js
parent8133d468b9aea9f64bb3937bde969590345d30f9 (diff)
downloadangular.js-06eceeb09feb7eccc6cb1ef87181bd6060cf3d4b.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-jquery.conf.js')
-rw-r--r--testacular-jquery.conf.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/testacular-jquery.conf.js b/testacular-jquery.conf.js
new file mode 100644
index 00000000..68de8356
--- /dev/null
+++ b/testacular-jquery.conf.js
@@ -0,0 +1,9 @@
+var angularFiles = require(__dirname + '/angularFiles.js');
+
+files = angularFiles.mergeFiles(JASMINE, JASMINE_ADAPTER, 'jstdJquery');
+exclude = ['**/*jasmine*/**', '**/*jstd*/**'].concat(angularFiles.files.jstdJqueryExclude);
+
+autoWatch = true;
+logLevel = LOG_INFO;
+logColors = true;
+browsers = ['Chrome']