test-unit-rr 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile ADDED
@@ -0,0 +1,21 @@
1
+ # -*- mode: ruby; coding: utf-8 -*-
2
+ #
3
+ # Copyright (C) 2012 Kouhei Sutou <kou@clear-code.com>
4
+ #
5
+ # This library is free software; you can redistribute it and/or
6
+ # modify it under the terms of the GNU Lesser General Public
7
+ # License as published by the Free Software Foundation; either
8
+ # version 2.1 of the License, or (at your option) any later version.
9
+ #
10
+ # This library is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ # Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public
16
+ # License along with this library; if not, write to the Free Software
17
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
+
19
+ source :rubygems
20
+
21
+ gemspec
@@ -0,0 +1,38 @@
1
+ # README
2
+
3
+ http://test-unit.rubyforge.org/#test-unit-rr
4
+
5
+ ## Name
6
+
7
+ test-unit-rr
8
+
9
+ ## Description
10
+
11
+ test-unit-rr is a RR adapter for test-unit.
12
+
13
+ You don't need RR setup codes with test-unit-rr. You just require
14
+ "test/unit/rr".
15
+
16
+ ## Install
17
+
18
+ % gem install test-unit-rr
19
+
20
+ ## Usage
21
+
22
+ require "test/unit/rr"
23
+
24
+ ## License
25
+
26
+ LGPLv2.1 or later.
27
+
28
+ (Kouhei Sutou has a right to change the license including
29
+ contributed patches.)
30
+
31
+ ## Authors
32
+
33
+ * Kouhei Sutou
34
+
35
+ ## Thanks
36
+
37
+ * mtasaka
38
+ * ...
data/Rakefile CHANGED
@@ -1,38 +1,43 @@
1
1
  # -*- ruby -*-
2
+ #
3
+ # Copyright (C) 2012 Kouhei Sutou <kou@clear-code.com>
4
+ #
5
+ # This library is free software; you can redistribute it and/or
6
+ # modify it under the terms of the GNU Lesser General Public
7
+ # License as published by the Free Software Foundation; either
8
+ # version 2.1 of the License, or (at your option) any later version.
9
+ #
10
+ # This library is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ # Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public
16
+ # License along with this library; if not, write to the Free Software
17
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
+
19
+ task :default => :test
20
+
21
+ require "rubygems"
22
+ require "bundler/gem_helper"
23
+ require "packnga"
24
+
25
+ base_dir = File.join(File.dirname(__FILE__))
26
+
27
+ helper = Bundler::GemHelper.new(base_dir)
28
+ def helper.version_tag
29
+ version
30
+ end
31
+ helper.install
32
+ spec = helper.gemspec
2
33
 
3
- require 'pathname'
4
-
5
- base_dir = Pathname(__FILE__).dirname.expand_path
6
- test_unit_dir = (base_dir.parent + "test-unit").expand_path
7
- test_unit_lib_dir = test_unit_dir + "lib"
8
- lib_dir = base_dir + "lib"
9
-
10
- $LOAD_PATH.unshift(test_unit_lib_dir.to_s)
11
- $LOAD_PATH.unshift(lib_dir.to_s)
12
-
13
- require 'test/unit/rr'
14
-
15
- require 'rubygems'
16
- require 'hoe'
17
-
18
- Test::Unit.run = true
19
-
20
- version = Test::Unit::RR::VERSION
21
- ENV["VERSION"] = version
22
- Hoe.spec('test-unit-rr') do
23
- self.version = version
24
- self.rubyforge_name = "test-unit"
25
-
26
- developer('Kouhei Sutou', 'kou@clear-code.com')
27
-
28
- extra_deps << ["test-unit", ">= 2.1.2"]
29
- extra_deps << ["rr", ">= 1.0.2"]
34
+ Packnga::DocumentTask.new(spec) do
30
35
  end
31
36
 
32
- task :tag do
33
- message = "Released Test::Unit::RR #{version}!"
34
- base = "svn+ssh://#{ENV['USER']}@rubyforge.org/var/svn/test-unit/extensions/test-unit-rr/"
35
- sh 'svn', 'copy', '-m', message, "#{base}trunk", "#{base}tags/#{version}"
37
+ Packnga::ReleaseTask.new(spec) do
36
38
  end
37
39
 
38
- # vim: syntax=Ruby
40
+ desc "Run tests"
41
+ task :test do
42
+ ruby("test/run-test.rb")
43
+ end
File without changes
@@ -0,0 +1,27 @@
1
+ # News
2
+
3
+ ## 1.0.2: 2012-11-04
4
+
5
+ ### Improvements
6
+
7
+ * Added `assert_rr`.
8
+
9
+ ### Fixes
10
+
11
+ * Fixed wrong license notation in source header.
12
+ [Reported by mtasaka] [GitHub#1]
13
+
14
+ ### Thanks
15
+
16
+ * mtasaka
17
+
18
+ ## 1.0.1: 2011-02-09
19
+
20
+ ### Improvements
21
+
22
+ * run setup for RR before test case's setup and teardown
23
+ for RR after test cases' teardown.
24
+
25
+ ## 1.0.0: 2011-02-09
26
+
27
+ The first release!!!
@@ -1,17 +1,25 @@
1
- #--
1
+ # Copyright (C) 2011 Kouhei Sutou <kou@clear-code.com>
2
2
  #
3
- # Author:: Kouhei Sutou
4
- # Copyright::
5
- # * Copyright (c) 2011 Kouhei Sutou <kou@clear-code.com>
6
- # License:: Ruby license.
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License as published by the Free Software Foundation; either
6
+ # version 2.1 of the License, or (at your option) any later version.
7
+ #
8
+ # This library is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this library; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
7
16
 
8
- require 'rr'
9
- require 'test/unit'
17
+ require "rr"
18
+ require "test-unit"
19
+ require "test/unit/rr/version"
10
20
 
11
21
  module Test::Unit
12
22
  module RR
13
- VERSION = "1.0.1"
14
-
15
23
  module Adapter
16
24
  include ::RR::Adapters::RRMethods
17
25
 
@@ -24,10 +32,20 @@ module Test::Unit
24
32
  ::RR.reset
25
33
  end
26
34
 
27
- teardown :after => :append
28
- def teardown_rr
35
+ cleanup :after => :append
36
+ def cleanup_rr
29
37
  ::RR.verify
30
38
  end
39
+
40
+ exception_handler do |test_case, exception|
41
+ target_p = exception.is_a?(::RR::Errors::RRError)
42
+ if target_p
43
+ test_case.problem_occurred
44
+ test_case.add_failure(exception.message, exception.backtrace)
45
+ end
46
+ handled = target_p
47
+ handled
48
+ end
31
49
  end
32
50
  end
33
51
  end
@@ -35,6 +53,45 @@ module Test::Unit
35
53
  def assert_received(subject, &block)
36
54
  block.call(received(subject)).call
37
55
  end
56
+
57
+ # Verify double declarations by RR in block. It is useful to
58
+ # clear your double declarations scope.
59
+ #
60
+ # @example Success case
61
+ # assert_rr do
62
+ # subject = Object.new
63
+ # assert_rr do
64
+ # mock(subject).should_be_called
65
+ # subject.should_be_called
66
+ # end
67
+ # end
68
+ #
69
+ # @example Failure case
70
+ # assert_rr do
71
+ # subject = Object.new
72
+ # assert_rr do
73
+ # mock(subject).should_be_called
74
+ # # subject.should_be_called
75
+ # end
76
+ # end
77
+ #
78
+ # @yield
79
+ # declares your doubles and uses the doubles in the block. The
80
+ # doubles are verified before and after the block is called.
81
+ def assert_rr
82
+ begin
83
+ ::RR.verify
84
+ ensure
85
+ ::RR.reset
86
+ end
87
+ result = yield
88
+ begin
89
+ ::RR.verify
90
+ ensure
91
+ ::RR.reset
92
+ end
93
+ result
94
+ end
38
95
  end
39
96
  end
40
97
 
@@ -0,0 +1,23 @@
1
+ # Copyright (C) 2012 Kouhei Sutou <kou@clear-code.com>
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License as published by the Free Software Foundation; either
6
+ # version 2.1 of the License, or (at your option) any later version.
7
+ #
8
+ # This library is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this library; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
+
17
+ module Test
18
+ module Unit
19
+ module RR
20
+ VERSION = "1.0.2"
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,51 @@
1
+ # -*- mode: ruby; coding: utf-8 -*-
2
+ #
3
+ # Copyright (C) 2012 Kouhei Sutou <kou@clear-code.com>
4
+ #
5
+ # This library is free software; you can redistribute it and/or
6
+ # modify it under the terms of the GNU Lesser General Public
7
+ # License as published by the Free Software Foundation; either
8
+ # version 2.1 of the License, or (at your option) any later version.
9
+ #
10
+ # This library is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ # Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public
16
+ # License along with this library; if not, write to the Free Software
17
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
+
19
+ clean_white_space = lambda do |entry|
20
+ entry.gsub(/(\A\n+|\n+\z)/, '') + "\n"
21
+ end
22
+
23
+ $LOAD_PATH.unshift(File.expand_path("lib", File.dirname(__FILE__)))
24
+ require "test/unit/rr/version"
25
+
26
+ Gem::Specification.new do |spec|
27
+ spec.name = "test-unit-rr"
28
+ spec.version = Test::Unit::RR::VERSION.dup
29
+ spec.rubyforge_project = "test-unit"
30
+ spec.homepage = "http://test-unit.rubyforge.org/#test-unit-rr"
31
+ spec.authors = ["Kouhei Sutou"]
32
+ spec.email = ["kou@clear-code.com"]
33
+ readme = File.read("README.md")
34
+ readme.force_encoding("UTF-8") if readme.respond_to?(:force_encoding)
35
+ entries = readme.split(/^\#\#\s(.*)$/)
36
+ description = clean_white_space.call(entries[entries.index("Description") + 1])
37
+ spec.summary, spec.description, = description.split(/\n\n+/, 3)
38
+ spec.license = "LGPLv2 or later"
39
+ spec.files = ["README.md", "Rakefile", "#{spec.name}.gemspec", "Gemfile"]
40
+ spec.files += Dir.glob("lib/**/*.rb")
41
+ spec.files += Dir.glob("doc/text/**/*.*")
42
+ spec.test_files += Dir.glob("test/**/*")
43
+
44
+ spec.add_dependency("test-unit", ">= 2.5.2")
45
+ spec.add_dependency("rr", ">= 1.0.2")
46
+
47
+ spec.add_development_dependency("bundler")
48
+ spec.add_development_dependency("rake")
49
+ spec.add_development_dependency("packnga")
50
+ spec.add_development_dependency("redcarpet")
51
+ end
@@ -0,0 +1,32 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # Copyright (C) 2012 Kouhei Sutou <kou@clear-code.com>
4
+ #
5
+ # This library is free software; you can redistribute it and/or
6
+ # modify it under the terms of the GNU Lesser General Public
7
+ # License as published by the Free Software Foundation; either
8
+ # version 2.1 of the License, or (at your option) any later version.
9
+ #
10
+ # This library is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ # Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public
16
+ # License along with this library; if not, write to the Free Software
17
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
+
19
+ $VERBOSE = true
20
+
21
+ base_dir = File.expand_path(File.join(File.dirname(__FILE__), ".."))
22
+ test_unit_lib_dir = File.join(base_dir, "..", "test-unit", "lib")
23
+ lib_dir = File.join(base_dir, "lib")
24
+ test_dir = File.join(base_dir, "test")
25
+
26
+ $LOAD_PATH.unshift(test_unit_lib_dir)
27
+ $LOAD_PATH.unshift(lib_dir)
28
+
29
+ require "test-unit"
30
+ require "test/unit/rr"
31
+
32
+ exit(Test::Unit::AutoRunner.run(true))
@@ -0,0 +1,60 @@
1
+ # Copyright (C) 2012 Kouhei Sutou <kou@clear-code.com>
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License as published by the Free Software Foundation; either
6
+ # version 2.1 of the License, or (at your option) any later version.
7
+ #
8
+ # This library is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this library; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
+
17
+ class RRTest < Test::Unit::TestCase
18
+ class AssertReceivedTest < self
19
+ def test_success
20
+ subject = Object.new
21
+ stub(subject).should_be_called
22
+ subject.should_be_called
23
+ assert_received(subject) do |_subject|
24
+ _subject.should_be_called
25
+ end
26
+ end
27
+
28
+ def test_failure
29
+ subject = Object.new
30
+ stub(subject).should_be_called
31
+ stub(subject).should_not_be_called
32
+ subject.should_be_called
33
+ assert_raise(::RR::Errors::SpyVerificationErrors::InvocationCountError) do
34
+ assert_received(subject) do |_subject|
35
+ _subject.should_not_be_called
36
+ end
37
+ end
38
+ end
39
+ end
40
+
41
+ class AssertRRTest < self
42
+ def test_success
43
+ subject = Object.new
44
+ assert_rr do
45
+ mock(subject).should_be_called
46
+ subject.should_be_called
47
+ end
48
+ end
49
+
50
+ def test_failure
51
+ subject = Object.new
52
+ assert_raise(::RR::Errors::TimesCalledError) do
53
+ assert_rr do
54
+ mock(subject).should_be_called
55
+ # subject.should_be_called
56
+ end
57
+ end
58
+ end
59
+ end
60
+ end
metadata CHANGED
@@ -1,123 +1,159 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: test-unit-rr
3
- version: !ruby/object:Gem::Version
4
- hash: 21
5
- prerelease: false
6
- segments:
7
- - 1
8
- - 0
9
- - 1
10
- version: 1.0.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.2
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Kouhei Sutou
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-02-10 00:00:00 +09:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2012-11-04 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: test-unit
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 15
30
- segments:
31
- - 2
32
- - 1
33
- - 2
34
- version: 2.1.2
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 2.5.2
35
22
  type: :runtime
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: rr
39
23
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
41
25
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- hash: 19
46
- segments:
47
- - 1
48
- - 0
49
- - 2
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 2.5.2
30
+ - !ruby/object:Gem::Dependency
31
+ name: rr
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
50
37
  version: 1.0.2
51
38
  type: :runtime
52
- version_requirements: *id002
53
- - !ruby/object:Gem::Dependency
54
- name: hoe
55
39
  prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 1.0.2
46
+ - !ruby/object:Gem::Dependency
47
+ name: bundler
48
+ requirement: !ruby/object:Gem::Requirement
57
49
  none: false
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- hash: 31
62
- segments:
63
- - 2
64
- - 4
65
- - 0
66
- version: 2.4.0
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
67
54
  type: :development
68
- version_requirements: *id003
69
- description: Test::Unit::RR - RR adapter for Test::Unit.
70
- email:
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: rake
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: packnga
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: redcarpet
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ description: ! 'You don''t need RR setup codes with test-unit-rr. You just require
111
+
112
+ "test/unit/rr".
113
+
114
+ '
115
+ email:
71
116
  - kou@clear-code.com
72
117
  executables: []
73
-
74
118
  extensions: []
75
-
76
- extra_rdoc_files:
77
- - History.txt
78
- - Manifest.txt
79
- - README.txt
80
- files:
81
- - COPYING
82
- - History.txt
83
- - Manifest.txt
84
- - README.txt
119
+ extra_rdoc_files: []
120
+ files:
121
+ - README.md
85
122
  - Rakefile
123
+ - test-unit-rr.gemspec
124
+ - Gemfile
86
125
  - lib/test/unit/rr.rb
87
- has_rdoc: true
88
- homepage: http://rubyforge.org/projects/test-unit/
89
- licenses: []
90
-
126
+ - lib/test/unit/rr/version.rb
127
+ - doc/text/news.md
128
+ - doc/text/lgpl-2.1.txt
129
+ - test/test-rr.rb
130
+ - test/run-test.rb
131
+ homepage: http://test-unit.rubyforge.org/#test-unit-rr
132
+ licenses:
133
+ - LGPLv2 or later
91
134
  post_install_message:
92
- rdoc_options:
93
- - --main
94
- - README.txt
95
- require_paths:
135
+ rdoc_options: []
136
+ require_paths:
96
137
  - lib
97
- required_ruby_version: !ruby/object:Gem::Requirement
138
+ required_ruby_version: !ruby/object:Gem::Requirement
98
139
  none: false
99
- requirements:
100
- - - ">="
101
- - !ruby/object:Gem::Version
102
- hash: 3
103
- segments:
104
- - 0
105
- version: "0"
106
- required_rubygems_version: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - ! '>='
142
+ - !ruby/object:Gem::Version
143
+ version: '0'
144
+ required_rubygems_version: !ruby/object:Gem::Requirement
107
145
  none: false
108
- requirements:
109
- - - ">="
110
- - !ruby/object:Gem::Version
111
- hash: 3
112
- segments:
113
- - 0
114
- version: "0"
146
+ requirements:
147
+ - - ! '>='
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
115
150
  requirements: []
116
-
117
151
  rubyforge_project: test-unit
118
- rubygems_version: 1.3.7
152
+ rubygems_version: 1.8.23
119
153
  signing_key:
120
154
  specification_version: 3
121
- summary: Test::Unit::RR - RR adapter for Test::Unit.
122
- test_files: []
123
-
155
+ summary: test-unit-rr is a RR adapter for test-unit.
156
+ test_files:
157
+ - test/test-rr.rb
158
+ - test/run-test.rb
159
+ has_rdoc:
@@ -1,12 +0,0 @@
1
- === 1.0.1 / 2011-02-09
2
-
3
- * 1 major enhancement
4
-
5
- * run setup for RR before test case's setup and teardown
6
- for RR after test cases' teardown.
7
-
8
- === 1.0.0 / 2011-02-09
9
-
10
- * 1 major enhancement
11
-
12
- * Birthday!
@@ -1,6 +0,0 @@
1
- COPYING
2
- History.txt
3
- Manifest.txt
4
- README.txt
5
- Rakefile
6
- lib/test/unit/rr.rb
data/README.txt DELETED
@@ -1,30 +0,0 @@
1
- = Test::Unit::RR
2
-
3
- * http://rubyforge.org/projects/test-unit/
4
-
5
- == DESCRIPTION:
6
-
7
- Test::Unit::RR - RR adapter for Test::Unit.
8
-
9
- == FEATURES/PROBLEMS:
10
-
11
- * This provides RR integrated Test::Unit::TestCase.
12
-
13
- == INSTALL:
14
-
15
- * sudo gem install test-unit-rr
16
-
17
- == USAGE:
18
-
19
- require 'test/unit/rr'
20
-
21
- == LICENSE:
22
-
23
- LGPLv2.1 or later.
24
-
25
- (Kouhei Sutou has a right to change the license including
26
- contributed patches.)
27
-
28
- == AUTHORS:
29
-
30
- * Kouhei Sutou