baretest 0.2.4 → 0.4.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE.txt +6 -6
- data/MANIFEST.txt +40 -18
- data/README.rdoc +8 -1
- data/bin/baretest +126 -118
- data/doc/baretest.rdoc +1 -1
- data/doc/mocking_stubbing_test_doubles.rdoc +31 -3
- data/doc/news/news-0.3.0.rdoc +7 -0
- data/doc/quickref.rdoc +74 -28
- data/doc/whats_going_on.rdoc +5 -0
- data/doc/writing_tests.rdoc +25 -13
- data/examples/components/rack-test.rb +17 -0
- data/examples/{tests/irb_mode → irb_mode}/failures.rb +0 -0
- data/examples/rake/test.rake +40 -0
- data/examples/tests/01_basics_I.rb +34 -0
- data/examples/tests/02_basics_II_helpers.rb +25 -0
- data/examples/tests/03_basics_III_setup_and_teardown.rb +53 -0
- data/examples/tests/04_advanced_I_dependencies.rb +31 -0
- data/examples/tests/05_advanced_II_tags.rb +12 -0
- data/examples/tests/06_advanced_III_requires.rb +21 -0
- data/examples/tests/07_advanced_IV_components.rb +48 -0
- data/examples/tests/08_expert_I_setup_variants.rb +46 -0
- data/lib/baretest.rb +142 -21
- data/lib/baretest/assertion.rb +83 -92
- data/lib/baretest/assertion/context.rb +9 -0
- data/lib/baretest/assertion/support.rb +88 -61
- data/lib/baretest/commandline.rb +268 -0
- data/lib/baretest/formatter.rb +58 -0
- data/lib/baretest/invalidselectors.rb +24 -0
- data/lib/baretest/irb_mode.rb +100 -58
- data/lib/baretest/persistence.rb +94 -0
- data/lib/baretest/run.rb +138 -37
- data/lib/baretest/run/cli.rb +97 -43
- data/lib/baretest/run/minimal.rb +2 -1
- data/lib/baretest/run/none.rb +21 -0
- data/lib/baretest/run/xml.rb +21 -19
- data/lib/baretest/setup.rb +2 -0
- data/lib/baretest/status.rb +93 -0
- data/lib/baretest/suite.rb +185 -59
- data/lib/baretest/uid.rb +51 -0
- data/lib/baretest/use/mocha.rb +24 -0
- data/lib/baretest/use/rack_test.rb +9 -0
- data/lib/baretest/use/rr.rb +17 -0
- data/lib/baretest/version.rb +18 -4
- data/lib/command.rb +36 -0
- data/lib/command/argument.rb +11 -0
- data/lib/command/decoratinghash.rb +31 -0
- data/lib/command/definition.rb +294 -0
- data/lib/command/directorynotfounderror.rb +11 -0
- data/lib/command/env.rb +11 -0
- data/lib/command/filenotfounderror.rb +11 -0
- data/lib/command/kernel.rb +14 -0
- data/lib/command/nodirectoryerror.rb +11 -0
- data/lib/command/nofileerror.rb +11 -0
- data/lib/command/option.rb +16 -0
- data/lib/command/parser.rb +145 -0
- data/lib/command/result.rb +11 -0
- data/lib/command/types.rb +33 -0
- data/lib/command/version.rb +28 -0
- data/test/setup.rb +3 -0
- data/test/suite/lib/baretest.rb +0 -178
- data/test/suite/lib/baretest/assertion.rb +133 -112
- data/test/suite/lib/baretest/assertion/context.rb +40 -0
- data/test/suite/lib/baretest/assertion/failure.rb +19 -0
- data/test/suite/lib/baretest/assertion/skip.rb +19 -0
- data/test/suite/lib/baretest/assertion/support.rb +366 -84
- data/test/suite/lib/baretest/run.rb +114 -15
- data/test/suite/lib/baretest/suite.rb +70 -29
- metadata +46 -24
- data/examples/test.rake +0 -65
- data/examples/tests/mock_developer/test/helper/mocks.rb +0 -0
- data/examples/tests/mock_developer/test/setup.rb +0 -57
- data/examples/tests/mock_developer/test/suite/mock_demo.rb +0 -19
- data/examples/tests/overview/test.rb +0 -89
- data/examples/tests/variations/variations_01.rb +0 -14
- data/examples/tests/variations/variations_02.rb +0 -19
- data/examples/tests/variations/variations_03.rb +0 -19
- data/lib/baretest/mocha.rb +0 -18
- data/lib/baretest/rr.rb +0 -16
- data/lib/baretest/run/errors.rb +0 -49
- data/lib/baretest/skipped.rb +0 -15
- data/lib/baretest/skipped/assertion.rb +0 -20
- data/lib/baretest/skipped/suite.rb +0 -49
- data/test/external/bootstraptest.rb +0 -5
- data/test/external/bootstrapwrap.rb +0 -2
- data/test/helper/mocks.rb +0 -0
@@ -21,7 +21,10 @@ BareTest.suite "BareTest" do
|
|
21
21
|
end
|
22
22
|
|
23
23
|
assert "Should accept an option ':format'" do
|
24
|
+
$LOADED_FEATURES << 'baretest/run/spec'
|
24
25
|
raises_nothing do ::BareTest::Run.new(::BareTest::Suite.new, :format => 'spec') end
|
26
|
+
$LOADED_FEATURES.delete 'baretest/run/spec'
|
27
|
+
true
|
25
28
|
end
|
26
29
|
|
27
30
|
assert "Should use the formatter specified in the :format option" do
|
@@ -125,6 +128,7 @@ BareTest.suite "BareTest" do
|
|
125
128
|
extender = Module.new do |m|
|
126
129
|
define_method :run_test do |test, setup|
|
127
130
|
invoked_tests << test
|
131
|
+
super(test, setup)
|
128
132
|
end
|
129
133
|
end
|
130
134
|
toplevel_suite = ::BareTest::Suite.new
|
@@ -151,21 +155,111 @@ BareTest.suite "BareTest" do
|
|
151
155
|
|
152
156
|
equal(count_before+1, count_after)
|
153
157
|
end
|
158
|
+
|
159
|
+
suite "With no assertions or suites in it" do
|
160
|
+
setup do
|
161
|
+
@invoked_tests = []
|
162
|
+
@suite = ::BareTest::Suite.new
|
163
|
+
@run = ::BareTest::Run.new(::BareTest::Suite.new)
|
164
|
+
end
|
165
|
+
|
166
|
+
assert "It sets the suites' status to :pending" do
|
167
|
+
status = @run.run_suite(@suite)
|
168
|
+
same(:pending, status.status)
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
suite "With a succeeding assertion in it" do
|
173
|
+
setup do
|
174
|
+
@invoked_tests = []
|
175
|
+
@suite = ::BareTest::Suite.new do
|
176
|
+
assert "A success" do true end
|
177
|
+
end
|
178
|
+
@run = ::BareTest::Run.new(::BareTest::Suite.new)
|
179
|
+
end
|
180
|
+
|
181
|
+
assert "It sets the suites' status to :success" do
|
182
|
+
status = @run.run_suite(@suite)
|
183
|
+
same(:success, status.status)
|
184
|
+
end
|
185
|
+
end
|
186
|
+
|
187
|
+
suite "With a failing assertion in it" do
|
188
|
+
setup do
|
189
|
+
@invoked_tests = []
|
190
|
+
@suite = ::BareTest::Suite.new do
|
191
|
+
assert "A failure" do false end
|
192
|
+
end
|
193
|
+
@run = ::BareTest::Run.new(::BareTest::Suite.new)
|
194
|
+
end
|
195
|
+
|
196
|
+
assert "It sets the suites' status to :failure" do
|
197
|
+
status = @run.run_suite(@suite)
|
198
|
+
same(:failure, status.status)
|
199
|
+
end
|
200
|
+
end
|
201
|
+
|
202
|
+
suite "With a erroring assertion in it" do
|
203
|
+
setup do
|
204
|
+
@invoked_tests = []
|
205
|
+
@suite = ::BareTest::Suite.new do
|
206
|
+
assert "An error" do raise "some exception" end
|
207
|
+
end
|
208
|
+
@run = ::BareTest::Run.new(::BareTest::Suite.new)
|
209
|
+
end
|
210
|
+
|
211
|
+
assert "It sets the suites' status to :error" do
|
212
|
+
status = @run.run_suite(@suite)
|
213
|
+
same(:error, status.status)
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
217
|
+
suite "With a pending assertion in it" do
|
218
|
+
setup do
|
219
|
+
@invoked_tests = []
|
220
|
+
@suite = ::BareTest::Suite.new do
|
221
|
+
assert "Pending"
|
222
|
+
end
|
223
|
+
@run = ::BareTest::Run.new(::BareTest::Suite.new)
|
224
|
+
end
|
225
|
+
|
226
|
+
assert "It sets the suites' status to :pending" do
|
227
|
+
status = @run.run_suite(@suite)
|
228
|
+
same(:pending, status.status)
|
229
|
+
end
|
230
|
+
end
|
231
|
+
|
232
|
+
suite "With a skipped assertion in it" do
|
233
|
+
setup do
|
234
|
+
@invoked_tests = []
|
235
|
+
@suite = ::BareTest::Suite.new do
|
236
|
+
assert "Skipped", :skip => "For testing purposes" do true end
|
237
|
+
end
|
238
|
+
@run = ::BareTest::Run.new(::BareTest::Suite.new)
|
239
|
+
end
|
240
|
+
|
241
|
+
assert "It sets the suites' status to :manually_skipped" do
|
242
|
+
status = @run.run_suite(@suite)
|
243
|
+
same(:manually_skipped, status.status)
|
244
|
+
end
|
245
|
+
end
|
154
246
|
end
|
155
247
|
|
156
248
|
suite "#run_test" do
|
157
249
|
assert "Runs the given test" do
|
158
250
|
# should implement this with a mock, expecting #execute to be called
|
159
|
-
|
160
|
-
|
161
|
-
run.
|
251
|
+
suite = ::BareTest::Suite.new
|
252
|
+
assertion = ::BareTest::Assertion.new(suite, nil) do true end
|
253
|
+
run = ::BareTest::Run.new(suite)
|
254
|
+
status = run.run_test(assertion, [])
|
162
255
|
|
163
|
-
|
256
|
+
same(:success, status.status)
|
164
257
|
end
|
165
258
|
|
166
259
|
assert "Increments the counter ':test' at the end" do
|
167
|
-
|
168
|
-
|
260
|
+
suite = ::BareTest::Suite.new
|
261
|
+
assertion = ::BareTest::Assertion.new(suite, "") do true end
|
262
|
+
run = ::BareTest::Run.new(suite)
|
169
263
|
count_before = run.count[:test]
|
170
264
|
run.run_test(assertion, [])
|
171
265
|
count_after = run.count[:test]
|
@@ -175,8 +269,9 @@ BareTest.suite "BareTest" do
|
|
175
269
|
|
176
270
|
suite "The given test was a success" do
|
177
271
|
assert "Increments the counter ':success' at the end" do
|
178
|
-
|
179
|
-
|
272
|
+
suite = ::BareTest::Suite.new
|
273
|
+
assertion = ::BareTest::Assertion.new(suite, "") do true end
|
274
|
+
run = ::BareTest::Run.new(suite)
|
180
275
|
count_before = run.count[:success]
|
181
276
|
run.run_test(assertion, [])
|
182
277
|
count_after = run.count[:success]
|
@@ -187,8 +282,9 @@ BareTest.suite "BareTest" do
|
|
187
282
|
|
188
283
|
suite "The given test was pending" do
|
189
284
|
assert "Increments the counter ':pending' at the end" do
|
190
|
-
|
191
|
-
|
285
|
+
suite = ::BareTest::Suite.new
|
286
|
+
assertion = ::BareTest::Assertion.new(suite, "")
|
287
|
+
run = ::BareTest::Run.new(suite)
|
192
288
|
count_before = run.count[:pending]
|
193
289
|
run.run_test(assertion, [])
|
194
290
|
count_after = run.count[:pending]
|
@@ -199,11 +295,12 @@ BareTest.suite "BareTest" do
|
|
199
295
|
|
200
296
|
suite "The given test was skipped" do
|
201
297
|
assert "Increments the counter ':skipped' at the end" do
|
202
|
-
|
298
|
+
suite = ::BareTest::Suite.new
|
299
|
+
assertion = ::BareTest::Assertion.new(suite, "", :skip => true) do true end
|
203
300
|
run = ::BareTest::Run.new(::BareTest::Suite.new)
|
204
|
-
count_before = run.count[:
|
301
|
+
count_before = run.count[:manually_skipped]
|
205
302
|
run.run_test(assertion, [])
|
206
|
-
count_after = run.count[:
|
303
|
+
count_after = run.count[:manually_skipped]
|
207
304
|
|
208
305
|
equal(count_before+1, count_after)
|
209
306
|
end
|
@@ -211,7 +308,8 @@ BareTest.suite "BareTest" do
|
|
211
308
|
|
212
309
|
suite "The given test was failure" do
|
213
310
|
assert "Increments the counter ':failure' at the end" do
|
214
|
-
|
311
|
+
suite = ::BareTest::Suite.new
|
312
|
+
assertion = ::BareTest::Assertion.new(suite, "") do false end
|
215
313
|
run = ::BareTest::Run.new(::BareTest::Suite.new)
|
216
314
|
count_before = run.count[:failure]
|
217
315
|
run.run_test(assertion, [])
|
@@ -223,7 +321,8 @@ BareTest.suite "BareTest" do
|
|
223
321
|
|
224
322
|
suite "The given test was error" do
|
225
323
|
assert "Increments the counter ':error' at the end" do
|
226
|
-
|
324
|
+
suite = ::BareTest::Suite.new
|
325
|
+
assertion = ::BareTest::Assertion.new(suite, "") do raise end
|
227
326
|
run = ::BareTest::Run.new(::BareTest::Suite.new)
|
228
327
|
count_before = run.count[:error]
|
229
328
|
run.run_test(assertion, [])
|
@@ -7,22 +7,14 @@
|
|
7
7
|
|
8
8
|
|
9
9
|
BareTest.suite "BareTest" do
|
10
|
-
suite "
|
11
|
-
suite "::
|
12
|
-
assert "Should accept 0-3 arguments" do
|
13
|
-
raises_nothing { ::BareTest::Suite.create() } &&
|
14
|
-
raises_nothing { ::BareTest::Suite.create(nil) } &&
|
15
|
-
raises_nothing { ::BareTest::Suite.create(nil, nil) } &&
|
16
|
-
raises_nothing { ::BareTest::Suite.create(nil, nil, {}) } &&
|
17
|
-
raises(ArgumentError) { ::BareTest::Suite.create(nil, nil, {}, nil) }
|
18
|
-
end
|
19
|
-
|
10
|
+
suite "Suite" do
|
11
|
+
suite "::new" do
|
20
12
|
assert "Should require a single file listed in :requires option." do
|
21
13
|
a = self # ruby1.9 fix, no longer yields self with instance_eval
|
22
14
|
original_require = Kernel.instance_method(:require)
|
23
15
|
file = 'foo/bar'
|
24
16
|
Kernel.send(:define_method, :require) do |file, *args| a.touch(file) end
|
25
|
-
::BareTest::Suite.
|
17
|
+
::BareTest::Suite.new(nil, nil, :requires => file)
|
26
18
|
Kernel.send(:define_method, :require, original_require)
|
27
19
|
|
28
20
|
touched file
|
@@ -33,40 +25,89 @@ BareTest.suite "BareTest" do
|
|
33
25
|
original_require = Kernel.instance_method(:require)
|
34
26
|
files = %w[moo/bar moo/baz moo/quuz]
|
35
27
|
Kernel.send(:define_method, :require) do |file, *args| a.touch(file) end
|
36
|
-
::BareTest::Suite.
|
28
|
+
::BareTest::Suite.new(nil, nil, :requires => files)
|
37
29
|
Kernel.send(:define_method, :require, original_require)
|
38
30
|
|
39
31
|
files.all? { |file| touched file }
|
40
32
|
end
|
41
33
|
|
42
|
-
|
43
|
-
|
44
|
-
|
34
|
+
suite ":use option" do
|
35
|
+
setup do
|
36
|
+
a = self # ruby1.9 fix, no longer yields self with instance_eval
|
37
|
+
@setup = proc { :a }
|
38
|
+
@teardown = proc { :b }
|
39
|
+
setup = @setup
|
40
|
+
teardown = @teardown
|
41
|
+
::BareTest.new_component :test_component do
|
42
|
+
a.touch :component
|
43
|
+
setup(&setup)
|
44
|
+
teardown(&teardown)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
assert "Should activate the components listed in :use option." do
|
49
|
+
::BareTest::Suite.new(nil, nil, :use => :test_component)
|
50
|
+
touched :component
|
51
|
+
end
|
52
|
+
|
53
|
+
assert "Should add the setup routines" do
|
54
|
+
suite = ::BareTest::Suite.new(nil, nil, :use => :test_component)
|
55
|
+
suite.setup[nil].any? { |setup_component| setup_component.block.call == :a }
|
56
|
+
end
|
45
57
|
|
46
|
-
|
47
|
-
|
58
|
+
assert "Should add the teardown routines" do
|
59
|
+
suite = ::BareTest::Suite.new(nil, nil, :use => :test_component)
|
60
|
+
suite.teardown.any? { |teardown| teardown.call == :b }
|
61
|
+
end
|
62
|
+
|
63
|
+
teardown do
|
64
|
+
::BareTest.components.delete(:test_component)
|
65
|
+
end
|
48
66
|
end
|
49
67
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
68
|
+
suite ":provides option" do
|
69
|
+
assert "Should list all added items" do
|
70
|
+
suite = ::BareTest::Suite.new(nil, nil, :provides => [:a, :b, :c])
|
71
|
+
equal_unordered([:a, :b, :c], suite.provides)
|
72
|
+
end
|
55
73
|
|
56
|
-
|
74
|
+
assert "Should add items only once" do
|
75
|
+
suite = ::BareTest::Suite.new(nil, nil, :provides => [:a, :b, :c, :a])
|
76
|
+
equal_unordered([:a, :b, :c], suite.provides)
|
77
|
+
end
|
57
78
|
end
|
58
|
-
end
|
59
79
|
|
60
|
-
|
61
|
-
|
62
|
-
|
80
|
+
suite ":depends_on option" do
|
81
|
+
assert "Should list all added items" do
|
82
|
+
suite = ::BareTest::Suite.new(nil, nil, :depends_on => [:a, :b, :c])
|
83
|
+
equal_unordered([:a, :b, :c], suite.depends_on)
|
84
|
+
end
|
85
|
+
|
86
|
+
assert "Should add items only once" do
|
87
|
+
suite = ::BareTest::Suite.new(nil, nil, :depends_on => [:a, :b, :c])
|
88
|
+
equal_unordered([:a, :b, :c], suite.depends_on)
|
89
|
+
end
|
63
90
|
end
|
64
91
|
|
65
|
-
assert "Should accept 0-
|
92
|
+
assert "Should accept 0-3 arguments" do
|
66
93
|
raises_nothing { ::BareTest::Suite.new() } &&
|
67
94
|
raises_nothing { ::BareTest::Suite.new(nil) } &&
|
68
95
|
raises_nothing { ::BareTest::Suite.new(nil, nil) } &&
|
69
|
-
|
96
|
+
raises_nothing { ::BareTest::Suite.new(nil, nil, nil) } &&
|
97
|
+
raises(ArgumentError) { ::BareTest::Suite.new(nil, nil, nil, nil) }
|
98
|
+
end
|
99
|
+
|
100
|
+
assert "Should return a ::BareTest::Suite instance" do
|
101
|
+
::BareTest::Suite.new(nil, nil).class == ::BareTest::Suite
|
102
|
+
end
|
103
|
+
|
104
|
+
assert "Should be skipped if a required file is not available." do
|
105
|
+
original_require = Kernel.instance_method(:require)
|
106
|
+
Kernel.send(:define_method, :require) do |*args| raise LoadError end # simulate that the required file was not found
|
107
|
+
return_value = ::BareTest::Suite.new(nil, nil, :requires => 'fake')
|
108
|
+
Kernel.send(:define_method, :require, original_require)
|
109
|
+
|
110
|
+
return_value.skipped?
|
70
111
|
end
|
71
112
|
end
|
72
113
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: baretest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0.pre1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Rusterholz
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-
|
12
|
+
date: 2010-02-15 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -30,49 +30,71 @@ files:
|
|
30
30
|
- bin/baretest
|
31
31
|
- doc/baretest.rdoc
|
32
32
|
- doc/mocking_stubbing_test_doubles.rdoc
|
33
|
+
- doc/news/news-0.3.0.rdoc
|
33
34
|
- doc/quickref.rdoc
|
34
35
|
- doc/whats_going_on.rdoc
|
35
36
|
- doc/writing_tests.rdoc
|
36
|
-
- examples/test.
|
37
|
-
- examples/
|
38
|
-
- examples/
|
39
|
-
- examples/tests/
|
40
|
-
- examples/tests/
|
41
|
-
- examples/tests/
|
42
|
-
- examples/tests/
|
43
|
-
- examples/tests/
|
44
|
-
- examples/tests/
|
37
|
+
- examples/components/rack-test.rb
|
38
|
+
- examples/irb_mode/failures.rb
|
39
|
+
- examples/rake/test.rake
|
40
|
+
- examples/tests/01_basics_I.rb
|
41
|
+
- examples/tests/02_basics_II_helpers.rb
|
42
|
+
- examples/tests/03_basics_III_setup_and_teardown.rb
|
43
|
+
- examples/tests/04_advanced_I_dependencies.rb
|
44
|
+
- examples/tests/05_advanced_II_tags.rb
|
45
|
+
- examples/tests/06_advanced_III_requires.rb
|
46
|
+
- examples/tests/07_advanced_IV_components.rb
|
47
|
+
- examples/tests/08_expert_I_setup_variants.rb
|
45
48
|
- lib/baretest.rb
|
46
49
|
- lib/baretest/assertion.rb
|
47
50
|
- lib/baretest/assertion/context.rb
|
48
51
|
- lib/baretest/assertion/failure.rb
|
49
52
|
- lib/baretest/assertion/skip.rb
|
50
53
|
- lib/baretest/assertion/support.rb
|
54
|
+
- lib/baretest/commandline.rb
|
55
|
+
- lib/baretest/formatter.rb
|
56
|
+
- lib/baretest/invalidselectors.rb
|
51
57
|
- lib/baretest/irb_mode.rb
|
52
58
|
- lib/baretest/layout.rb
|
53
|
-
- lib/baretest/
|
54
|
-
- lib/baretest/rr.rb
|
59
|
+
- lib/baretest/persistence.rb
|
55
60
|
- lib/baretest/run.rb
|
56
61
|
- lib/baretest/run/cli.rb
|
57
|
-
- lib/baretest/run/errors.rb
|
58
62
|
- lib/baretest/run/minimal.rb
|
63
|
+
- lib/baretest/run/none.rb
|
59
64
|
- lib/baretest/run/profile.rb
|
60
65
|
- lib/baretest/run/spec.rb
|
61
66
|
- lib/baretest/run/tap.rb
|
62
67
|
- lib/baretest/run/xml.rb
|
63
68
|
- lib/baretest/setup.rb
|
64
|
-
- lib/baretest/
|
65
|
-
- lib/baretest/skipped/assertion.rb
|
66
|
-
- lib/baretest/skipped/suite.rb
|
69
|
+
- lib/baretest/status.rb
|
67
70
|
- lib/baretest/suite.rb
|
71
|
+
- lib/baretest/uid.rb
|
72
|
+
- lib/baretest/use/mocha.rb
|
73
|
+
- lib/baretest/use/rack_test.rb
|
74
|
+
- lib/baretest/use/rr.rb
|
68
75
|
- lib/baretest/version.rb
|
76
|
+
- lib/command.rb
|
77
|
+
- lib/command/argument.rb
|
78
|
+
- lib/command/decoratinghash.rb
|
79
|
+
- lib/command/definition.rb
|
80
|
+
- lib/command/directorynotfounderror.rb
|
81
|
+
- lib/command/env.rb
|
82
|
+
- lib/command/filenotfounderror.rb
|
83
|
+
- lib/command/kernel.rb
|
84
|
+
- lib/command/nodirectoryerror.rb
|
85
|
+
- lib/command/nofileerror.rb
|
86
|
+
- lib/command/option.rb
|
87
|
+
- lib/command/parser.rb
|
88
|
+
- lib/command/result.rb
|
89
|
+
- lib/command/types.rb
|
90
|
+
- lib/command/version.rb
|
69
91
|
- lib/ruby/kernel.rb
|
70
|
-
- test/external/bootstraptest.rb
|
71
|
-
- test/external/bootstrapwrap.rb
|
72
|
-
- test/helper/mocks.rb
|
73
92
|
- test/setup.rb
|
74
93
|
- test/suite/lib/baretest.rb
|
75
94
|
- test/suite/lib/baretest/assertion.rb
|
95
|
+
- test/suite/lib/baretest/assertion/context.rb
|
96
|
+
- test/suite/lib/baretest/assertion/failure.rb
|
97
|
+
- test/suite/lib/baretest/assertion/skip.rb
|
76
98
|
- test/suite/lib/baretest/assertion/support.rb
|
77
99
|
- test/suite/lib/baretest/irb_mode.rb
|
78
100
|
- test/suite/lib/baretest/run.rb
|
@@ -96,7 +118,7 @@ rdoc_options:
|
|
96
118
|
- --tab-width
|
97
119
|
- "2"
|
98
120
|
- -t
|
99
|
-
- baretest-0.
|
121
|
+
- baretest-0.4.0.pre1
|
100
122
|
require_paths:
|
101
123
|
- lib
|
102
124
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -107,9 +129,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
107
129
|
version:
|
108
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
131
|
requirements:
|
110
|
-
- - "
|
132
|
+
- - ">"
|
111
133
|
- !ruby/object:Gem::Version
|
112
|
-
version:
|
134
|
+
version: 1.3.1
|
113
135
|
version:
|
114
136
|
requirements: []
|
115
137
|
|
@@ -117,6 +139,6 @@ rubyforge_project: baretest
|
|
117
139
|
rubygems_version: 1.3.5
|
118
140
|
signing_key:
|
119
141
|
specification_version: 3
|
120
|
-
summary: "A testframework that doesn\xE2\x80\x99t stand in your way or forces you to learn a new language. Two methods is all that is required to know."
|
142
|
+
summary: "A testframework that doesn\xE2\x80\x99t stand in your way or forces you to learn a new language. Two methods is all that is required to know. If you need it, it provides you with all kinds of features to support you writing your tests."
|
121
143
|
test_files: []
|
122
144
|
|