Fingertips-headless-squirrel 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +3 -1
- data/VERSION.yml +1 -1
- data/lib/headless_squirrel/runner.rb +1 -1
- data/lib/headless_squirrel/test_case.rb +50 -19
- data/test/regression/scriptaculous/unit/ajax_autocompleter_test.html +4 -4
- data/test/regression/scriptaculous/unit/ajax_inplaceeditor_test.html +4 -4
- data/test/regression/scriptaculous/{src → unit/assets}/builder.js +0 -0
- data/test/regression/scriptaculous/{src → unit/assets}/controls.js +0 -0
- data/test/regression/scriptaculous/{src → unit/assets}/dragdrop.js +0 -0
- data/test/regression/scriptaculous/{src → unit/assets}/effects.js +0 -0
- data/test/regression/scriptaculous/{src → unit/assets}/javascripttest.rb +0 -0
- data/test/regression/scriptaculous/unit/assets/prototype.js +4320 -0
- data/test/regression/scriptaculous/{src → unit/assets}/scriptaculous.js +0 -0
- data/test/regression/scriptaculous/{src → unit/assets}/slider.js +0 -0
- data/test/regression/scriptaculous/{src → unit/assets}/sound.js +0 -0
- data/test/regression/scriptaculous/{src → unit/assets}/unittest.js +0 -0
- data/test/regression/scriptaculous/unit/bdd_test.html +150 -0
- data/test/regression/scriptaculous/unit/builder_test.html +4 -4
- data/test/regression/scriptaculous/unit/dragdrop_test.html +4 -4
- data/test/regression/scriptaculous/unit/effects_test.html +4 -4
- data/test/regression/scriptaculous/unit/element_test.html +4 -4
- data/test/regression/scriptaculous/unit/index.html +3 -3
- data/test/regression/scriptaculous/unit/loading_test.html +4 -4
- data/test/regression/scriptaculous/unit/position_clone_test.html +4 -4
- data/test/regression/scriptaculous/unit/slider_test.html +4 -4
- data/test/regression/scriptaculous/unit/sortable_test.html +4 -4
- data/test/regression/scriptaculous/unit/string_test.html +4 -4
- data/test/regression/scriptaculous/unit/unittest_test.html +4 -4
- metadata +29 -19
- data/Rakefile +0 -49
data/Rakefile
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
task :default => :test
|
2
|
-
|
3
|
-
desc "Run the tests"
|
4
|
-
task :test do
|
5
|
-
sh "specrb -s #{Dir['test/unit/*_test.rb'].join(' ')}"
|
6
|
-
end
|
7
|
-
|
8
|
-
# HeadlessSquirrel::Rake::Runner.new :regression do |t|
|
9
|
-
# t.files = Dir['test/regression/prototype/unit/*.html']
|
10
|
-
# end
|
11
|
-
|
12
|
-
desc "Run all the regression tests"
|
13
|
-
task :ci do
|
14
|
-
sh "./bin/jstest #{Dir['test/regression/**/unit/*_test.html'].join(' ')}"
|
15
|
-
end
|
16
|
-
|
17
|
-
namespace :ci do
|
18
|
-
desc "Run the prototype regression tests"
|
19
|
-
task :prototype do
|
20
|
-
sh "./bin/jstest #{Dir['test/regression/prototype/unit/*_test.html'].join(' ')}"
|
21
|
-
end
|
22
|
-
|
23
|
-
desc "Run the scriptaculous regression tests"
|
24
|
-
task :scriptaculous do
|
25
|
-
sh "./bin/jstest #{Dir['test/regression/scriptaculous/unit/*_test.html'].join(' ')}"
|
26
|
-
end
|
27
|
-
end
|
28
|
-
|
29
|
-
begin
|
30
|
-
require 'jeweler'
|
31
|
-
Jeweler::Tasks.new do |gemspec|
|
32
|
-
gemspec.name = "headless-squirrel"
|
33
|
-
gemspec.summary = "A command-line JavaScript test runner for the Mac."
|
34
|
-
gemspec.description = "A OS X command line tool to run JavaScript (Prototype) unit tests from the comfort of your terminal."
|
35
|
-
gemspec.homepage = "http://github.com/Fingertips/headless-squirrel/tree/master"
|
36
|
-
|
37
|
-
gemspec.email = "eloy.de.enige@gmail.com"
|
38
|
-
gemspec.authors = ["Eloy Duran"]
|
39
|
-
end
|
40
|
-
rescue LoadError
|
41
|
-
end
|
42
|
-
|
43
|
-
begin
|
44
|
-
require 'jewelry_portfolio/tasks'
|
45
|
-
JewelryPortfolio::Tasks.new do |p|
|
46
|
-
p.account = 'Fingertips'
|
47
|
-
end
|
48
|
-
rescue LoadError
|
49
|
-
end
|