minitest_tu_shim 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +1 -0
- data/History.txt +10 -0
- data/README.txt +1 -1
- data/Rakefile +7 -5
- data/lib/test/unit/testcase.rb +1 -1
- data/test/test_mini_test.rb +8 -8
- metadata +33 -8
- metadata.gz.sig +2 -0
data.tar.gz.sig
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
A���H��s���~+ܜ[��[����_��Vr]�x_�m �QH��
|
data/History.txt
CHANGED
data/README.txt
CHANGED
data/Rakefile
CHANGED
@@ -9,12 +9,14 @@ Hoe.add_include_dirs "../../minitest/dev/lib", "lib"
|
|
9
9
|
|
10
10
|
require 'test/unit/testcase'
|
11
11
|
|
12
|
-
Hoe.
|
13
|
-
shim.rubyforge_name = "bfts"
|
12
|
+
Hoe.plugin :perforce, :email # can't do minitest, so no seattlerb wrapper
|
14
13
|
|
15
|
-
|
14
|
+
Hoe.spec 'minitest_tu_shim' do
|
15
|
+
developer 'Ryan Davis', 'ryand-ruby@zenspider.com'
|
16
16
|
|
17
|
-
|
17
|
+
self.rubyforge_name = "bfts"
|
18
|
+
|
19
|
+
extra_deps << 'minitest'
|
18
20
|
end
|
19
21
|
|
20
|
-
# vim: syntax=
|
22
|
+
# vim: syntax=ruby
|
data/lib/test/unit/testcase.rb
CHANGED
data/test/test_mini_test.rb
CHANGED
@@ -420,7 +420,7 @@ class TestMiniTestTestCase < MiniTest::Unit::TestCase
|
|
420
420
|
end
|
421
421
|
|
422
422
|
def test_assert_includes_triggered
|
423
|
-
@assertion_count =
|
423
|
+
@assertion_count = 3
|
424
424
|
|
425
425
|
e = @tc.assert_raises MiniTest::Assertion do
|
426
426
|
@tc.assert_includes [true], false
|
@@ -457,7 +457,7 @@ class TestMiniTestTestCase < MiniTest::Unit::TestCase
|
|
457
457
|
|
458
458
|
def test_assert_match_triggered
|
459
459
|
@assertion_count = 2
|
460
|
-
util_assert_triggered 'Expected
|
460
|
+
util_assert_triggered 'Expected "blah blah blah" to match /\d+/.' do
|
461
461
|
@tc.assert_match "blah blah blah", /\d+/
|
462
462
|
end
|
463
463
|
end
|
@@ -483,16 +483,12 @@ class TestMiniTestTestCase < MiniTest::Unit::TestCase
|
|
483
483
|
end
|
484
484
|
|
485
485
|
def test_assert_raises
|
486
|
-
@assertion_count = 2
|
487
|
-
|
488
486
|
@tc.assert_raises RuntimeError do
|
489
487
|
raise "blah"
|
490
488
|
end
|
491
489
|
end
|
492
490
|
|
493
491
|
def test_assert_raises_triggered_different
|
494
|
-
@assertion_count = 2
|
495
|
-
|
496
492
|
e = assert_raises MiniTest::Assertion do
|
497
493
|
@tc.assert_raises RuntimeError do
|
498
494
|
raise SyntaxError, "icky"
|
@@ -727,7 +723,7 @@ Expected [RuntimeError] to include SyntaxError."
|
|
727
723
|
end
|
728
724
|
|
729
725
|
def test_refute_includes_triggered
|
730
|
-
@assertion_count =
|
726
|
+
@assertion_count = 3
|
731
727
|
|
732
728
|
e = @tc.assert_raises MiniTest::Assertion do
|
733
729
|
@tc.refute_includes [true], true
|
@@ -758,11 +754,15 @@ Expected [RuntimeError] to include SyntaxError."
|
|
758
754
|
end
|
759
755
|
|
760
756
|
def test_refute_match
|
757
|
+
@assertion_count = 2
|
758
|
+
|
761
759
|
@tc.refute_match "blah blah blah", /\d+/
|
762
760
|
end
|
763
761
|
|
764
762
|
def test_refute_match_triggered
|
765
|
-
|
763
|
+
@assertion_count = 2
|
764
|
+
|
765
|
+
util_assert_triggered 'Expected "blah blah blah" to not match /\w+/.' do
|
766
766
|
@tc.refute_match "blah blah blah", /\w+/
|
767
767
|
end
|
768
768
|
end
|
metadata
CHANGED
@@ -1,15 +1,36 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest_tu_shim
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
8
8
|
autorequ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rguI88wO6MrE0wi4ZqLQX+eZQFskJb/
|
27
|
+
w6x9W1ur8eR01s397LSMexySDBrJOh34cm2AlfKr/jokKCTwcM0OvVZnAutaovC0
|
28
|
+
l1SVZ0ecg88bsWHA0Yhh7NFxK1utWoIhtB6AFC/+trM0FQEB/jZkIS8SaNzn96Rl
|
29
|
+
n0sZEf77FLf5peR8TP/PtmIg7Cyqz23sLM4mCOoTGIy5OcZ8TdyiyINUHtb5ej/T
|
30
|
+
FBHgymkyj/AOSqKRIpXPhjC6
|
31
|
+
-----END CERTIFICATE-----
|
11
32
|
|
12
|
-
date:
|
33
|
+
date: 2009-06-23 00:00:00 -07:00
|
13
34
|
default_executable:
|
14
35
|
dependencies:
|
15
36
|
- !ruby/object:Gem::Dependency
|
@@ -30,9 +51,11 @@ dependencies:
|
|
30
51
|
requirements:
|
31
52
|
- - ">="
|
32
53
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
54
|
+
version: 2.3.0
|
34
55
|
version:
|
35
|
-
description:
|
56
|
+
description: |-
|
57
|
+
minitest_tu_shim bridges the gap between the small and fast minitest
|
58
|
+
and ruby's huge and slow test/unit.
|
36
59
|
email:
|
37
60
|
- ryand-ruby@zenspider.com
|
38
61
|
executables:
|
@@ -58,6 +81,8 @@ files:
|
|
58
81
|
- test/test_mini_test.rb
|
59
82
|
has_rdoc: true
|
60
83
|
homepage: http://rubyforge.org/projects/bfts
|
84
|
+
licenses: []
|
85
|
+
|
61
86
|
post_install_message:
|
62
87
|
rdoc_options:
|
63
88
|
- --main
|
@@ -79,9 +104,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
104
|
requirements: []
|
80
105
|
|
81
106
|
rubyforge_project: bfts
|
82
|
-
rubygems_version: 1.3.
|
107
|
+
rubygems_version: 1.3.4
|
83
108
|
signing_key:
|
84
|
-
specification_version:
|
85
|
-
summary:
|
109
|
+
specification_version: 3
|
110
|
+
summary: minitest_tu_shim bridges the gap between the small and fast minitest and ruby's huge and slow test/unit.
|
86
111
|
test_files:
|
87
112
|
- test/test_mini_test.rb
|
metadata.gz.sig
ADDED