quicktest 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/created.rid +1 -1
- data/doc/fr_class_index.html +0 -4
- data/doc/fr_file_index.html +0 -1
- data/doc/fr_method_index.html +0 -10
- data/pkg/quicktest-0.5.1.gem +0 -0
- data/rakefile +12 -3
- data/spec/test_result.txt +5 -5
- metadata +13 -4
data/doc/created.rid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
Tue, 11 Mar 2008 08:06:08 -0500
|
data/doc/fr_class_index.html
CHANGED
@@ -20,10 +20,6 @@
|
|
20
20
|
<div id="index">
|
21
21
|
<h1 class="section-bar">Classes</h1>
|
22
22
|
<div id="index-entries">
|
23
|
-
<a href="classes/QuickTest.html">QuickTest</a><br />
|
24
|
-
<a href="classes/QuickTest/RSpecTestRunner.html">QuickTest::RSpecTestRunner</a><br />
|
25
|
-
<a href="classes/QuickTest/TestRunner.html">QuickTest::TestRunner</a><br />
|
26
|
-
<a href="classes/QuickTest/Tracer.html">QuickTest::Tracer</a><br />
|
27
23
|
</div>
|
28
24
|
</div>
|
29
25
|
</body>
|
data/doc/fr_file_index.html
CHANGED
data/doc/fr_method_index.html
CHANGED
@@ -20,16 +20,6 @@
|
|
20
20
|
<div id="index">
|
21
21
|
<h1 class="section-bar">Methods</h1>
|
22
22
|
<div id="index-entries">
|
23
|
-
<a href="classes/QuickTest/TestRunner.html#M000008">add_method (QuickTest::TestRunner)</a><br />
|
24
|
-
<a href="classes/QuickTest/TestRunner.html#M000009">add_singleton_method (QuickTest::TestRunner)</a><br />
|
25
|
-
<a href="classes/QuickTest/RSpecTestRunner.html#M000006">after (QuickTest::RSpecTestRunner)</a><br />
|
26
|
-
<a href="classes/QuickTest/RSpecTestRunner.html#M000005">before (QuickTest::RSpecTestRunner)</a><br />
|
27
|
-
<a href="classes/QuickTest/Tracer.html#M000001">included (QuickTest::Tracer)</a><br />
|
28
|
-
<a href="classes/QuickTest/RSpecTestRunner.html#M000007">it (QuickTest::RSpecTestRunner)</a><br />
|
29
|
-
<a href="classes/QuickTest/Tracer.html#M000004">method_added (QuickTest::Tracer)</a><br />
|
30
|
-
<a href="classes/QuickTest/TestRunner.html#M000010">new (QuickTest::TestRunner)</a><br />
|
31
|
-
<a href="classes/QuickTest/Tracer.html#M000003">singleton_method_added (QuickTest::Tracer)</a><br />
|
32
|
-
<a href="classes/QuickTest/Tracer.html#M000002">tracer_include (QuickTest::Tracer)</a><br />
|
33
23
|
</div>
|
34
24
|
</div>
|
35
25
|
</body>
|
Binary file
|
data/rakefile
CHANGED
@@ -25,7 +25,7 @@ namespace :test do
|
|
25
25
|
end
|
26
26
|
|
27
27
|
desc "test readme file"
|
28
|
-
task :
|
28
|
+
task :readme do
|
29
29
|
(puts (run "./bin/quickspec README"))
|
30
30
|
end
|
31
31
|
end
|
@@ -114,7 +114,7 @@ namespace :readme do
|
|
114
114
|
end
|
115
115
|
|
116
116
|
desc "release a new gem to rubyforge"
|
117
|
-
task :release => [:rdoc,:package] do
|
117
|
+
task :release => [:test,:rdoc,:website,:package] do
|
118
118
|
Dir.chdir('pkg') do
|
119
119
|
release = Dir['*.gem'].sort_by {|file| File.mtime(file)}.last
|
120
120
|
release =~ /^[^-]+-([.0-9]+).gem$/
|
@@ -122,13 +122,21 @@ task :release => [:rdoc,:package] do
|
|
122
122
|
end
|
123
123
|
end
|
124
124
|
|
125
|
+
desc "update website"
|
126
|
+
file :website => ['README','rakefile'] do
|
127
|
+
Dir.chdir '/home/greg/sites/projects/' do
|
128
|
+
(puts (run 'rake projects:update'))
|
129
|
+
(puts (run 'rake deploy:rsync'))
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
125
133
|
require 'rubygems'
|
126
134
|
require 'rake/gempackagetask'
|
127
135
|
|
128
136
|
spec = Gem::Specification.new do |s|
|
129
137
|
s.name = project
|
130
138
|
s.rubyforge_project = project
|
131
|
-
s.version = "0.5.
|
139
|
+
s.version = "0.5.2"
|
132
140
|
s.author = "Greg Weber"
|
133
141
|
s.email = "greg@gregweber.info"
|
134
142
|
s.homepage = "http://quicktest.rubyfore.org/"
|
@@ -139,6 +147,7 @@ spec = Gem::Specification.new do |s|
|
|
139
147
|
s.require_path = "lib"
|
140
148
|
s.has_rdoc = true
|
141
149
|
s.extra_rdoc_files = ["README"]
|
150
|
+
s.add_dependency('rspec', '>= 1.0.0')
|
142
151
|
end
|
143
152
|
|
144
153
|
Rake::GemPackageTask.new(spec) do |pkg|
|
data/spec/test_result.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.....FFFFFFFF
|
2
2
|
|
3
3
|
1)
|
4
|
-
'#<Object:
|
4
|
+
'#<Object:0xb78922b0> should show class name in output' FAILED
|
5
5
|
expected: /^'#<Object:0x[^>]+> should show class name in output' FAILED$/,
|
6
6
|
got: nil (using =~)
|
7
7
|
./test.rb:58:in `quicktest'
|
@@ -9,7 +9,7 @@ expected: /^'#<Object:0x[^>]+> should show class name in output' FAILED$/,
|
|
9
9
|
../lib/quicktest.rb:99:in `__quicktest_run_tests__'
|
10
10
|
|
11
11
|
2)
|
12
|
-
'#<Object:
|
12
|
+
'#<Object:0xb7890438> new_method_added should show name of added method' FAILED
|
13
13
|
expected: /^'#<Object:0x[^>]+> new_method_added should show name of added method' FAILED$/,
|
14
14
|
got: nil (using =~)
|
15
15
|
./test.rb:68:in `quicktest'
|
@@ -41,7 +41,7 @@ expected: /^'TestClass should show class name in output' FAILED$/,
|
|
41
41
|
../lib/quicktest.rb:99:in `__quicktest_run_tests__'
|
42
42
|
|
43
43
|
6)
|
44
|
-
'#<TestClass:
|
44
|
+
'#<TestClass:0xb788b910> should show class name in output' FAILED
|
45
45
|
expected: /^'#<TestClass:0x[^>]+> should show class name in output' FAILED$/,
|
46
46
|
got: nil (using =~)
|
47
47
|
./test.rb:107:in `quicktest'
|
@@ -49,7 +49,7 @@ expected: /^'#<TestClass:0x[^>]+> should show class name in output' FAILED$/,
|
|
49
49
|
../lib/quicktest.rb:99:in `__quicktest_run_tests__'
|
50
50
|
|
51
51
|
7)
|
52
|
-
'#<TestClass:
|
52
|
+
'#<TestClass:0xb788905c> new_method_added should show name of added method' FAILED
|
53
53
|
expected: /^'#<TestClass:0x[^>]+> new_method_added should show name of added method' FAILED$/,
|
54
54
|
got: nil (using =~)
|
55
55
|
./test.rb:117:in `quicktest'
|
@@ -64,6 +64,6 @@ expected: /^'TestClass new_singleton_method_added should show class name in outp
|
|
64
64
|
../lib/quicktest.rb:99:in `call'
|
65
65
|
../lib/quicktest.rb:99:in `__quicktest_run_tests__'
|
66
66
|
|
67
|
-
Finished in 0.
|
67
|
+
Finished in 0.02875 seconds
|
68
68
|
|
69
69
|
13 examples, 8 failures
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: quicktest
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.5.
|
7
|
-
date: 2008-03-
|
6
|
+
version: 0.5.2
|
7
|
+
date: 2008-03-11 00:00:00 -05:00
|
8
8
|
summary: utility for inlining tests with the code tested
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -47,6 +47,7 @@ files:
|
|
47
47
|
- doc/classes
|
48
48
|
- lib/quicktest.rb
|
49
49
|
- pkg/quicktest-0.5.0.gem
|
50
|
+
- pkg/quicktest-0.5.1.gem
|
50
51
|
- pkg/quicktest-0.3.2.gem
|
51
52
|
- pkg/quicktest-0.3.4.gem
|
52
53
|
- pkg/quicktest-0.4.0.gem
|
@@ -65,5 +66,13 @@ extensions: []
|
|
65
66
|
|
66
67
|
requirements: []
|
67
68
|
|
68
|
-
dependencies:
|
69
|
-
|
69
|
+
dependencies:
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: rspec
|
72
|
+
version_requirement:
|
73
|
+
version_requirements: !ruby/object:Gem::Version::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 1.0.0
|
78
|
+
version:
|