minitest 5.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.autotest +34 -0
- data/History.rdoc +1304 -0
- data/Manifest.txt +26 -0
- data/README.rdoc +746 -0
- data/Rakefile +86 -0
- data/design_rationale.rb +52 -0
- data/lib/hoe/minitest.rb +32 -0
- data/lib/minitest.rb +987 -0
- data/lib/minitest/assertions.rb +693 -0
- data/lib/minitest/autorun.rb +13 -0
- data/lib/minitest/benchmark.rb +455 -0
- data/lib/minitest/expectations.rb +284 -0
- data/lib/minitest/hell.rb +11 -0
- data/lib/minitest/mock.rb +240 -0
- data/lib/minitest/parallel.rb +70 -0
- data/lib/minitest/pride.rb +4 -0
- data/lib/minitest/pride_plugin.rb +142 -0
- data/lib/minitest/spec.rb +331 -0
- data/lib/minitest/test.rb +220 -0
- data/lib/minitest/unit.rb +45 -0
- data/test/minitest/metametameta.rb +102 -0
- data/test/minitest/test_minitest_benchmark.rb +137 -0
- data/test/minitest/test_minitest_mock.rb +874 -0
- data/test/minitest/test_minitest_reporter.rb +299 -0
- data/test/minitest/test_minitest_spec.rb +987 -0
- data/test/minitest/test_minitest_test.rb +2135 -0
- metadata +178 -0
- metadata.gz.sig +0 -0
metadata
ADDED
@@ -0,0 +1,178 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: minitest
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 5.11.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ryan Davis
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDPjCCAiagAwIBAgIBAjANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
|
14
|
+
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZP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exm6EnNhkrvJJ1Xeu
|
30
|
+
V+HB+LYYhXWitInO/eXxDrFB
|
31
|
+
-----END CERTIFICATE-----
|
32
|
+
date: 2018-01-25 00:00:00.000000000 Z
|
33
|
+
dependencies:
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: rdoc
|
36
|
+
requirement: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '4.0'
|
41
|
+
type: :development
|
42
|
+
prerelease: false
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '4.0'
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: hoe
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.16'
|
55
|
+
type: :development
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.16'
|
62
|
+
description: |-
|
63
|
+
minitest provides a complete suite of testing facilities supporting
|
64
|
+
TDD, BDD, mocking, and benchmarking.
|
65
|
+
|
66
|
+
"I had a class with Jim Weirich on testing last week and we were
|
67
|
+
allowed to choose our testing frameworks. Kirk Haines and I were
|
68
|
+
paired up and we cracked open the code for a few test
|
69
|
+
frameworks...
|
70
|
+
|
71
|
+
I MUST say that minitest is *very* readable / understandable
|
72
|
+
compared to the 'other two' options we looked at. Nicely done and
|
73
|
+
thank you for helping us keep our mental sanity."
|
74
|
+
|
75
|
+
-- Wayne E. Seguin
|
76
|
+
|
77
|
+
minitest/test is a small and incredibly fast unit testing framework.
|
78
|
+
It provides a rich set of assertions to make your tests clean and
|
79
|
+
readable.
|
80
|
+
|
81
|
+
minitest/spec is a functionally complete spec engine. It hooks onto
|
82
|
+
minitest/test and seamlessly bridges test assertions over to spec
|
83
|
+
expectations.
|
84
|
+
|
85
|
+
minitest/benchmark is an awesome way to assert the performance of your
|
86
|
+
algorithms in a repeatable manner. Now you can assert that your newb
|
87
|
+
co-worker doesn't replace your linear algorithm with an exponential
|
88
|
+
one!
|
89
|
+
|
90
|
+
minitest/mock by Steven Baker, is a beautifully tiny mock (and stub)
|
91
|
+
object framework.
|
92
|
+
|
93
|
+
minitest/pride shows pride in testing and adds coloring to your test
|
94
|
+
output. I guess it is an example of how to write IO pipes too. :P
|
95
|
+
|
96
|
+
minitest/test is meant to have a clean implementation for language
|
97
|
+
implementors that need a minimal set of methods to bootstrap a working
|
98
|
+
test suite. For example, there is no magic involved for test-case
|
99
|
+
discovery.
|
100
|
+
|
101
|
+
"Again, I can't praise enough the idea of a testing/specing
|
102
|
+
framework that I can actually read in full in one sitting!"
|
103
|
+
|
104
|
+
-- Piotr Szotkowski
|
105
|
+
|
106
|
+
Comparing to rspec:
|
107
|
+
|
108
|
+
rspec is a testing DSL. minitest is ruby.
|
109
|
+
|
110
|
+
-- Adam Hawkins, "Bow Before MiniTest"
|
111
|
+
|
112
|
+
minitest doesn't reinvent anything that ruby already provides, like:
|
113
|
+
classes, modules, inheritance, methods. This means you only have to
|
114
|
+
learn ruby to use minitest and all of your regular OO practices like
|
115
|
+
extract-method refactorings still apply.
|
116
|
+
email:
|
117
|
+
- ryand-ruby@zenspider.com
|
118
|
+
executables: []
|
119
|
+
extensions: []
|
120
|
+
extra_rdoc_files:
|
121
|
+
- History.rdoc
|
122
|
+
- Manifest.txt
|
123
|
+
- README.rdoc
|
124
|
+
files:
|
125
|
+
- ".autotest"
|
126
|
+
- History.rdoc
|
127
|
+
- Manifest.txt
|
128
|
+
- README.rdoc
|
129
|
+
- Rakefile
|
130
|
+
- design_rationale.rb
|
131
|
+
- lib/hoe/minitest.rb
|
132
|
+
- lib/minitest.rb
|
133
|
+
- lib/minitest/assertions.rb
|
134
|
+
- lib/minitest/autorun.rb
|
135
|
+
- lib/minitest/benchmark.rb
|
136
|
+
- lib/minitest/expectations.rb
|
137
|
+
- lib/minitest/hell.rb
|
138
|
+
- lib/minitest/mock.rb
|
139
|
+
- lib/minitest/parallel.rb
|
140
|
+
- lib/minitest/pride.rb
|
141
|
+
- lib/minitest/pride_plugin.rb
|
142
|
+
- lib/minitest/spec.rb
|
143
|
+
- lib/minitest/test.rb
|
144
|
+
- lib/minitest/unit.rb
|
145
|
+
- test/minitest/metametameta.rb
|
146
|
+
- test/minitest/test_minitest_benchmark.rb
|
147
|
+
- test/minitest/test_minitest_mock.rb
|
148
|
+
- test/minitest/test_minitest_reporter.rb
|
149
|
+
- test/minitest/test_minitest_spec.rb
|
150
|
+
- test/minitest/test_minitest_test.rb
|
151
|
+
homepage: https://github.com/seattlerb/minitest
|
152
|
+
licenses:
|
153
|
+
- MIT
|
154
|
+
metadata: {}
|
155
|
+
post_install_message:
|
156
|
+
rdoc_options:
|
157
|
+
- "--main"
|
158
|
+
- README.rdoc
|
159
|
+
require_paths:
|
160
|
+
- lib
|
161
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - ">="
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
|
+
requirements:
|
168
|
+
- - ">="
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
version: '0'
|
171
|
+
requirements: []
|
172
|
+
rubyforge_project:
|
173
|
+
rubygems_version: 2.7.3
|
174
|
+
signing_key:
|
175
|
+
specification_version: 4
|
176
|
+
summary: minitest provides a complete suite of testing facilities supporting TDD,
|
177
|
+
BDD, mocking, and benchmarking
|
178
|
+
test_files: []
|
metadata.gz.sig
ADDED
Binary file
|