mspec 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (162) hide show
  1. data/LICENSE +22 -0
  2. data/README +101 -0
  3. data/Rakefile +44 -0
  4. data/bin/mkspec +7 -0
  5. data/bin/mspec +7 -0
  6. data/bin/mspec-ci +8 -0
  7. data/bin/mspec-run +8 -0
  8. data/bin/mspec-tag +8 -0
  9. data/lib/mspec.rb +6 -0
  10. data/lib/mspec/commands/mkspec.rb +147 -0
  11. data/lib/mspec/commands/mspec-ci.rb +71 -0
  12. data/lib/mspec/commands/mspec-run.rb +80 -0
  13. data/lib/mspec/commands/mspec-tag.rb +87 -0
  14. data/lib/mspec/commands/mspec.rb +143 -0
  15. data/lib/mspec/expectations.rb +2 -0
  16. data/lib/mspec/expectations/expectations.rb +12 -0
  17. data/lib/mspec/expectations/should.rb +23 -0
  18. data/lib/mspec/guards.rb +13 -0
  19. data/lib/mspec/guards/bug.rb +27 -0
  20. data/lib/mspec/guards/compliance.rb +18 -0
  21. data/lib/mspec/guards/conflict.rb +16 -0
  22. data/lib/mspec/guards/endian.rb +40 -0
  23. data/lib/mspec/guards/extensions.rb +12 -0
  24. data/lib/mspec/guards/guard.rb +120 -0
  25. data/lib/mspec/guards/noncompliance.rb +12 -0
  26. data/lib/mspec/guards/platform.rb +38 -0
  27. data/lib/mspec/guards/quarantine.rb +15 -0
  28. data/lib/mspec/guards/runner.rb +30 -0
  29. data/lib/mspec/guards/superuser.rb +15 -0
  30. data/lib/mspec/guards/support.rb +12 -0
  31. data/lib/mspec/guards/version.rb +40 -0
  32. data/lib/mspec/helpers.rb +6 -0
  33. data/lib/mspec/helpers/bignum.rb +5 -0
  34. data/lib/mspec/helpers/const_lookup.rb +5 -0
  35. data/lib/mspec/helpers/flunk.rb +5 -0
  36. data/lib/mspec/helpers/io.rb +13 -0
  37. data/lib/mspec/helpers/scratch.rb +17 -0
  38. data/lib/mspec/helpers/tmp.rb +32 -0
  39. data/lib/mspec/matchers.rb +16 -0
  40. data/lib/mspec/matchers/base.rb +95 -0
  41. data/lib/mspec/matchers/be_ancestor_of.rb +24 -0
  42. data/lib/mspec/matchers/be_close.rb +27 -0
  43. data/lib/mspec/matchers/be_empty.rb +20 -0
  44. data/lib/mspec/matchers/be_false.rb +20 -0
  45. data/lib/mspec/matchers/be_kind_of.rb +24 -0
  46. data/lib/mspec/matchers/be_nil.rb +20 -0
  47. data/lib/mspec/matchers/be_true.rb +20 -0
  48. data/lib/mspec/matchers/complain.rb +56 -0
  49. data/lib/mspec/matchers/eql.rb +26 -0
  50. data/lib/mspec/matchers/equal.rb +26 -0
  51. data/lib/mspec/matchers/equal_utf16.rb +34 -0
  52. data/lib/mspec/matchers/include.rb +32 -0
  53. data/lib/mspec/matchers/output.rb +67 -0
  54. data/lib/mspec/matchers/output_to_fd.rb +71 -0
  55. data/lib/mspec/matchers/raise_error.rb +48 -0
  56. data/lib/mspec/mocks.rb +3 -0
  57. data/lib/mspec/mocks/mock.rb +123 -0
  58. data/lib/mspec/mocks/object.rb +28 -0
  59. data/lib/mspec/mocks/proxy.rb +112 -0
  60. data/lib/mspec/runner.rb +13 -0
  61. data/lib/mspec/runner/actions.rb +6 -0
  62. data/lib/mspec/runner/actions/debug.rb +17 -0
  63. data/lib/mspec/runner/actions/filter.rb +40 -0
  64. data/lib/mspec/runner/actions/gdb.rb +17 -0
  65. data/lib/mspec/runner/actions/tag.rb +97 -0
  66. data/lib/mspec/runner/actions/tally.rb +80 -0
  67. data/lib/mspec/runner/actions/timer.rb +22 -0
  68. data/lib/mspec/runner/filters.rb +4 -0
  69. data/lib/mspec/runner/filters/match.rb +22 -0
  70. data/lib/mspec/runner/filters/profile.rb +54 -0
  71. data/lib/mspec/runner/filters/regexp.rb +7 -0
  72. data/lib/mspec/runner/filters/tag.rb +29 -0
  73. data/lib/mspec/runner/formatters.rb +7 -0
  74. data/lib/mspec/runner/formatters/dotted.rb +81 -0
  75. data/lib/mspec/runner/formatters/html.rb +87 -0
  76. data/lib/mspec/runner/formatters/specdoc.rb +27 -0
  77. data/lib/mspec/runner/formatters/spinner.rb +89 -0
  78. data/lib/mspec/runner/formatters/summary.rb +8 -0
  79. data/lib/mspec/runner/formatters/unit.rb +25 -0
  80. data/lib/mspec/runner/formatters/yaml.rb +43 -0
  81. data/lib/mspec/runner/mspec.rb +232 -0
  82. data/lib/mspec/runner/object.rb +20 -0
  83. data/lib/mspec/runner/shared.rb +12 -0
  84. data/lib/mspec/runner/state.rb +116 -0
  85. data/lib/mspec/runner/tag.rb +20 -0
  86. data/lib/mspec/utils/name_map.rb +130 -0
  87. data/lib/mspec/utils/options.rb +344 -0
  88. data/lib/mspec/utils/script.rb +77 -0
  89. data/lib/mspec/version.rb +3 -0
  90. data/spec/commands/mkspec_spec.rb +321 -0
  91. data/spec/commands/mspec_ci_spec.rb +139 -0
  92. data/spec/commands/mspec_run_spec.rb +146 -0
  93. data/spec/commands/mspec_spec.rb +359 -0
  94. data/spec/commands/mspec_tag_spec.rb +131 -0
  95. data/spec/expectations/expectations_spec.rb +16 -0
  96. data/spec/expectations/should_spec.rb +99 -0
  97. data/spec/guards/bug_spec.rb +137 -0
  98. data/spec/guards/compliance_spec.rb +70 -0
  99. data/spec/guards/conflict_spec.rb +20 -0
  100. data/spec/guards/endian_spec.rb +42 -0
  101. data/spec/guards/extensions_spec.rb +36 -0
  102. data/spec/guards/guard_spec.rb +355 -0
  103. data/spec/guards/noncompliance_spec.rb +36 -0
  104. data/spec/guards/platform_spec.rb +84 -0
  105. data/spec/guards/quarantine_spec.rb +19 -0
  106. data/spec/guards/runner_spec.rb +75 -0
  107. data/spec/guards/superuser_spec.rb +22 -0
  108. data/spec/guards/support_spec.rb +22 -0
  109. data/spec/guards/version_spec.rb +133 -0
  110. data/spec/helpers/bignum_spec.rb +11 -0
  111. data/spec/helpers/const_lookup_spec.rb +19 -0
  112. data/spec/helpers/flunk_spec.rb +15 -0
  113. data/spec/helpers/io_spec.rb +34 -0
  114. data/spec/helpers/scratch_spec.rb +22 -0
  115. data/spec/helpers/tmp_spec.rb +72 -0
  116. data/spec/matchers/base_spec.rb +180 -0
  117. data/spec/matchers/be_ancestor_of_spec.rb +28 -0
  118. data/spec/matchers/be_close_spec.rb +46 -0
  119. data/spec/matchers/be_empty_spec.rb +26 -0
  120. data/spec/matchers/be_false_spec.rb +28 -0
  121. data/spec/matchers/be_kind_of_spec.rb +29 -0
  122. data/spec/matchers/be_nil_spec.rb +27 -0
  123. data/spec/matchers/be_true_spec.rb +28 -0
  124. data/spec/matchers/complain_spec.rb +52 -0
  125. data/spec/matchers/eql_spec.rb +33 -0
  126. data/spec/matchers/equal_spec.rb +33 -0
  127. data/spec/matchers/equal_utf16_spec.rb +47 -0
  128. data/spec/matchers/include_spec.rb +37 -0
  129. data/spec/matchers/output_spec.rb +74 -0
  130. data/spec/matchers/output_to_fd_spec.rb +33 -0
  131. data/spec/matchers/raise_error_spec.rb +56 -0
  132. data/spec/mocks/mock_spec.rb +272 -0
  133. data/spec/mocks/proxy_spec.rb +259 -0
  134. data/spec/runner/actions/debug_spec.rb +61 -0
  135. data/spec/runner/actions/filter_spec.rb +84 -0
  136. data/spec/runner/actions/gdb_spec.rb +61 -0
  137. data/spec/runner/actions/tag_spec.rb +253 -0
  138. data/spec/runner/actions/tally_spec.rb +107 -0
  139. data/spec/runner/actions/timer_spec.rb +42 -0
  140. data/spec/runner/filters/a.yaml +4 -0
  141. data/spec/runner/filters/b.yaml +11 -0
  142. data/spec/runner/filters/match_spec.rb +44 -0
  143. data/spec/runner/filters/profile_spec.rb +117 -0
  144. data/spec/runner/filters/regexp_spec.rb +13 -0
  145. data/spec/runner/filters/tag_spec.rb +77 -0
  146. data/spec/runner/formatters/dotted_spec.rb +184 -0
  147. data/spec/runner/formatters/html_spec.rb +191 -0
  148. data/spec/runner/formatters/specdoc_spec.rb +57 -0
  149. data/spec/runner/formatters/spinner_spec.rb +78 -0
  150. data/spec/runner/formatters/summary_spec.rb +29 -0
  151. data/spec/runner/formatters/unit_spec.rb +71 -0
  152. data/spec/runner/formatters/yaml_spec.rb +123 -0
  153. data/spec/runner/mspec_spec.rb +393 -0
  154. data/spec/runner/shared_spec.rb +41 -0
  155. data/spec/runner/state_spec.rb +535 -0
  156. data/spec/runner/tag_spec.rb +93 -0
  157. data/spec/runner/tags.txt +3 -0
  158. data/spec/spec_helper.rb +46 -0
  159. data/spec/utils/name_map_spec.rb +178 -0
  160. data/spec/utils/options_spec.rb +862 -0
  161. data/spec/utils/script_spec.rb +240 -0
  162. metadata +217 -0
@@ -0,0 +1,240 @@
1
+ require File.dirname(__FILE__) + '/../spec_helper'
2
+ require 'mspec/utils/script'
3
+ require 'mspec/runner/mspec'
4
+ require 'mspec/runner/filters'
5
+ require 'mspec/runner/actions/filter'
6
+ require 'mspec/runner/actions/debug'
7
+ require 'mspec/runner/actions/gdb'
8
+
9
+ describe MSpecScript, ".config" do
10
+ it "returns a Hash" do
11
+ MSpecScript.config.should be_kind_of(Hash)
12
+ end
13
+ end
14
+
15
+ describe MSpecScript, ".set" do
16
+ it "sets the config hash key, value" do
17
+ MSpecScript.set :a, 10
18
+ MSpecScript.config[:a].should == 10
19
+ end
20
+ end
21
+
22
+ describe MSpecScript, "#config" do
23
+ it "returns the MSpecScript config hash" do
24
+ MSpecScript.set :b, 5
25
+ MSpecScript.new.config[:b].should == 5
26
+ end
27
+
28
+ it "returns the MSpecScript config hash from subclasses" do
29
+ class MSSClass < MSpecScript; end
30
+ MSpecScript.set :b, 5
31
+ MSSClass.new.config[:b].should == 5
32
+ end
33
+ end
34
+
35
+ describe MSpecScript, ".main" do
36
+ before :each do
37
+ @script = mock("MSpecScript", :null_object => true)
38
+ MSpecScript.stub!(:new).and_return(@script)
39
+ end
40
+
41
+ it "creates an instance of MSpecScript" do
42
+ MSpecScript.should_receive(:new).and_return(@script)
43
+ MSpecScript.main
44
+ end
45
+
46
+ it "attempts to load the 'default.mspec' script" do
47
+ @script.should_receive(:load).with('default.mspec')
48
+ MSpecScript.main
49
+ end
50
+
51
+ it "attempts to load the '~/.mspecrc' script" do
52
+ @script.should_receive(:load).with('~/.mspecrc')
53
+ MSpecScript.main
54
+ end
55
+
56
+ it "calls the #options method on the script" do
57
+ @script.should_receive(:options)
58
+ MSpecScript.main
59
+ end
60
+
61
+ it "calls the #signals method on the script" do
62
+ @script.should_receive(:signals)
63
+ MSpecScript.main
64
+ end
65
+
66
+ it "calls the #register method on the script" do
67
+ @script.should_receive(:register)
68
+ MSpecScript.main
69
+ end
70
+
71
+ it "calls the #run method on the script" do
72
+ @script.should_receive(:run)
73
+ MSpecScript.main
74
+ end
75
+ end
76
+
77
+ describe MSpecScript, "#initialize" do
78
+ before :each do
79
+ @config = MSpecScript.new.config
80
+ end
81
+
82
+ it "sets the default config values" do
83
+ @config[:tags_dir].should == 'spec/tags'
84
+ @config[:formatter].should == DottedFormatter
85
+ @config[:includes].should == []
86
+ @config[:excludes].should == []
87
+ @config[:patterns].should == []
88
+ @config[:xpatterns].should == []
89
+ @config[:tags].should == []
90
+ @config[:xtags].should == []
91
+ @config[:atags].should == []
92
+ @config[:astrings].should == []
93
+ @config[:abort].should == true
94
+ end
95
+ end
96
+
97
+ describe MSpecScript, "#load" do
98
+ before :each do
99
+ File.stub!(:exist?).and_return(false)
100
+ @script = MSpecScript.new
101
+ @file = "default.mspec"
102
+ end
103
+
104
+ it "attempts to locate the file through the expanded path name" do
105
+ File.should_receive(:expand_path).with(@file).and_return(@file)
106
+ File.should_receive(:exist?).with(@file).and_return(true)
107
+ Kernel.should_receive(:load).with(@file).and_return(:loaded)
108
+ @script.load(@file).should == :loaded
109
+ end
110
+
111
+ it "attemps to locate the file in '.'" do
112
+ path = File.join ".", @file
113
+ File.should_receive(:exist?).with(path).and_return(true)
114
+ Kernel.should_receive(:load).with(path).and_return(:loaded)
115
+ @script.load(@file).should == :loaded
116
+ end
117
+
118
+ it "attemps to locate the file in 'spec'" do
119
+ path = File.join "spec", @file
120
+ File.should_receive(:exist?).with(path).and_return(true)
121
+ Kernel.should_receive(:load).with(path).and_return(:loaded)
122
+ @script.load(@file).should == :loaded
123
+ end
124
+ end
125
+
126
+ describe MSpecScript, "#register" do
127
+ before :each do
128
+ @script = MSpecScript.new
129
+
130
+ @formatter = mock("formatter", :null_object => true)
131
+ @script.config[:formatter] = @formatter
132
+ end
133
+
134
+ it "creates and registers the formatter" do
135
+ @formatter.should_receive(:new).and_return(@formatter)
136
+ @formatter.should_receive(:register)
137
+ @script.register
138
+ end
139
+ end
140
+
141
+ describe MSpecScript, "#register" do
142
+ before :each do
143
+ @script = MSpecScript.new
144
+
145
+ @formatter = mock("formatter", :null_object => true)
146
+ @script.config[:formatter] = @formatter
147
+
148
+ @filter = mock("filter")
149
+ @filter.should_receive(:register)
150
+
151
+ @ary = ["some", "spec"]
152
+ end
153
+
154
+ it "creates and registers a MatchFilter for include specs" do
155
+ MatchFilter.should_receive(:new).with(:include, *@ary).and_return(@filter)
156
+ @script.config[:includes] = @ary
157
+ @script.register
158
+ end
159
+
160
+ it "creates and registers a MatchFilter for excluded specs" do
161
+ MatchFilter.should_receive(:new).with(:exclude, *@ary).and_return(@filter)
162
+ @script.config[:excludes] = @ary
163
+ @script.register
164
+ end
165
+
166
+ it "creates and registers a RegexpFilter for include specs" do
167
+ RegexpFilter.should_receive(:new).with(:include, *@ary).and_return(@filter)
168
+ @script.config[:patterns] = @ary
169
+ @script.register
170
+ end
171
+
172
+ it "creates and registers a RegexpFilter for excluded specs" do
173
+ RegexpFilter.should_receive(:new).with(:exclude, *@ary).and_return(@filter)
174
+ @script.config[:xpatterns] = @ary
175
+ @script.register
176
+ end
177
+
178
+ it "creates and registers a TagFilter for include specs" do
179
+ TagFilter.should_receive(:new).with(:include, *@ary).and_return(@filter)
180
+ @script.config[:tags] = @ary
181
+ @script.register
182
+ end
183
+
184
+ it "creates and registers a TagFilter for excluded specs" do
185
+ TagFilter.should_receive(:new).with(:exclude, *@ary).and_return(@filter)
186
+ @script.config[:xtags] = @ary
187
+ @script.register
188
+ end
189
+
190
+ it "creates and registers a ProfileFilter for include specs" do
191
+ ProfileFilter.should_receive(:new).with(:include, *@ary).and_return(@filter)
192
+ @script.config[:profiles] = @ary
193
+ @script.register
194
+ end
195
+
196
+ it "creates and registers a ProfileFilter for excluded specs" do
197
+ ProfileFilter.should_receive(:new).with(:exclude, *@ary).and_return(@filter)
198
+ @script.config[:xprofiles] = @ary
199
+ @script.register
200
+ end
201
+
202
+ it "creates and registers a DebugAction for excluded specs" do
203
+ @script.config[:atags] = ["some"]
204
+ @script.config[:astrings] = ["string"]
205
+ DebugAction.should_receive(:new).with(["some"], ["string"]).and_return(@filter)
206
+ @script.config[:debugger] = true
207
+ @script.register
208
+ end
209
+
210
+ it "creates and registers a GdbAction for excluded specs" do
211
+ @script.config[:atags] = ["some"]
212
+ @script.config[:astrings] = ["string"]
213
+ GdbAction.should_receive(:new).with(["some"], ["string"]).and_return(@filter)
214
+ @script.config[:gdb] = true
215
+ @script.register
216
+ end
217
+ end
218
+
219
+ describe MSpecScript, "#signals" do
220
+ before :each do
221
+ @script = MSpecScript.new
222
+ @abort = @script.config[:abort]
223
+ end
224
+
225
+ after :each do
226
+ @script.config[:abort] = @abort
227
+ end
228
+
229
+ it "traps the INT signal if config[:abort] is true" do
230
+ Signal.should_receive(:trap).with("INT")
231
+ @script.config[:abort] = true
232
+ @script.signals
233
+ end
234
+
235
+ it "does not trap the INT signal if config[:abort] is not true" do
236
+ Signal.should_not_receive(:trap).with("INT")
237
+ @script.config[:abort] = false
238
+ @script.signals
239
+ end
240
+ end
metadata ADDED
@@ -0,0 +1,217 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mspec
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Brian Ford
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-05-21 00:00:00 -07:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description:
17
+ email: bford@engineyard.com
18
+ executables:
19
+ - mkspec
20
+ - mspec
21
+ - mspec-ci
22
+ - mspec-run
23
+ - mspec-tag
24
+ extensions: []
25
+
26
+ extra_rdoc_files:
27
+ - README
28
+ - LICENSE
29
+ files:
30
+ - lib/mspec/commands/mkspec.rb
31
+ - lib/mspec/commands/mspec-ci.rb
32
+ - lib/mspec/commands/mspec-run.rb
33
+ - lib/mspec/commands/mspec-tag.rb
34
+ - lib/mspec/commands/mspec.rb
35
+ - lib/mspec/expectations/expectations.rb
36
+ - lib/mspec/expectations/should.rb
37
+ - lib/mspec/expectations.rb
38
+ - lib/mspec/guards/bug.rb
39
+ - lib/mspec/guards/compliance.rb
40
+ - lib/mspec/guards/conflict.rb
41
+ - lib/mspec/guards/endian.rb
42
+ - lib/mspec/guards/extensions.rb
43
+ - lib/mspec/guards/guard.rb
44
+ - lib/mspec/guards/noncompliance.rb
45
+ - lib/mspec/guards/platform.rb
46
+ - lib/mspec/guards/quarantine.rb
47
+ - lib/mspec/guards/runner.rb
48
+ - lib/mspec/guards/superuser.rb
49
+ - lib/mspec/guards/support.rb
50
+ - lib/mspec/guards/version.rb
51
+ - lib/mspec/guards.rb
52
+ - lib/mspec/helpers/bignum.rb
53
+ - lib/mspec/helpers/const_lookup.rb
54
+ - lib/mspec/helpers/flunk.rb
55
+ - lib/mspec/helpers/io.rb
56
+ - lib/mspec/helpers/scratch.rb
57
+ - lib/mspec/helpers/tmp.rb
58
+ - lib/mspec/helpers.rb
59
+ - lib/mspec/matchers/base.rb
60
+ - lib/mspec/matchers/be_ancestor_of.rb
61
+ - lib/mspec/matchers/be_close.rb
62
+ - lib/mspec/matchers/be_empty.rb
63
+ - lib/mspec/matchers/be_false.rb
64
+ - lib/mspec/matchers/be_kind_of.rb
65
+ - lib/mspec/matchers/be_nil.rb
66
+ - lib/mspec/matchers/be_true.rb
67
+ - lib/mspec/matchers/complain.rb
68
+ - lib/mspec/matchers/eql.rb
69
+ - lib/mspec/matchers/equal.rb
70
+ - lib/mspec/matchers/equal_utf16.rb
71
+ - lib/mspec/matchers/include.rb
72
+ - lib/mspec/matchers/output.rb
73
+ - lib/mspec/matchers/output_to_fd.rb
74
+ - lib/mspec/matchers/raise_error.rb
75
+ - lib/mspec/matchers.rb
76
+ - lib/mspec/mocks/mock.rb
77
+ - lib/mspec/mocks/object.rb
78
+ - lib/mspec/mocks/proxy.rb
79
+ - lib/mspec/mocks.rb
80
+ - lib/mspec/runner/actions/debug.rb
81
+ - lib/mspec/runner/actions/filter.rb
82
+ - lib/mspec/runner/actions/gdb.rb
83
+ - lib/mspec/runner/actions/tag.rb
84
+ - lib/mspec/runner/actions/tally.rb
85
+ - lib/mspec/runner/actions/timer.rb
86
+ - lib/mspec/runner/actions.rb
87
+ - lib/mspec/runner/filters/match.rb
88
+ - lib/mspec/runner/filters/profile.rb
89
+ - lib/mspec/runner/filters/regexp.rb
90
+ - lib/mspec/runner/filters/tag.rb
91
+ - lib/mspec/runner/filters.rb
92
+ - lib/mspec/runner/formatters/dotted.rb
93
+ - lib/mspec/runner/formatters/html.rb
94
+ - lib/mspec/runner/formatters/specdoc.rb
95
+ - lib/mspec/runner/formatters/spinner.rb
96
+ - lib/mspec/runner/formatters/summary.rb
97
+ - lib/mspec/runner/formatters/unit.rb
98
+ - lib/mspec/runner/formatters/yaml.rb
99
+ - lib/mspec/runner/formatters.rb
100
+ - lib/mspec/runner/mspec.rb
101
+ - lib/mspec/runner/object.rb
102
+ - lib/mspec/runner/shared.rb
103
+ - lib/mspec/runner/state.rb
104
+ - lib/mspec/runner/tag.rb
105
+ - lib/mspec/runner.rb
106
+ - lib/mspec/utils/name_map.rb
107
+ - lib/mspec/utils/options.rb
108
+ - lib/mspec/utils/script.rb
109
+ - lib/mspec/version.rb
110
+ - lib/mspec.rb
111
+ - spec/runner/filters/a.yaml
112
+ - spec/runner/filters/b.yaml
113
+ - spec/runner/tags.txt
114
+ - spec/commands/mkspec_spec.rb
115
+ - spec/commands/mspec_ci_spec.rb
116
+ - spec/commands/mspec_run_spec.rb
117
+ - spec/commands/mspec_spec.rb
118
+ - spec/commands/mspec_tag_spec.rb
119
+ - spec/expectations/expectations_spec.rb
120
+ - spec/expectations/should_spec.rb
121
+ - spec/guards/bug_spec.rb
122
+ - spec/guards/compliance_spec.rb
123
+ - spec/guards/conflict_spec.rb
124
+ - spec/guards/endian_spec.rb
125
+ - spec/guards/extensions_spec.rb
126
+ - spec/guards/guard_spec.rb
127
+ - spec/guards/noncompliance_spec.rb
128
+ - spec/guards/platform_spec.rb
129
+ - spec/guards/quarantine_spec.rb
130
+ - spec/guards/runner_spec.rb
131
+ - spec/guards/superuser_spec.rb
132
+ - spec/guards/support_spec.rb
133
+ - spec/guards/version_spec.rb
134
+ - spec/helpers/bignum_spec.rb
135
+ - spec/helpers/const_lookup_spec.rb
136
+ - spec/helpers/flunk_spec.rb
137
+ - spec/helpers/io_spec.rb
138
+ - spec/helpers/scratch_spec.rb
139
+ - spec/helpers/tmp_spec.rb
140
+ - spec/matchers/base_spec.rb
141
+ - spec/matchers/be_ancestor_of_spec.rb
142
+ - spec/matchers/be_close_spec.rb
143
+ - spec/matchers/be_empty_spec.rb
144
+ - spec/matchers/be_false_spec.rb
145
+ - spec/matchers/be_kind_of_spec.rb
146
+ - spec/matchers/be_nil_spec.rb
147
+ - spec/matchers/be_true_spec.rb
148
+ - spec/matchers/complain_spec.rb
149
+ - spec/matchers/eql_spec.rb
150
+ - spec/matchers/equal_spec.rb
151
+ - spec/matchers/equal_utf16_spec.rb
152
+ - spec/matchers/include_spec.rb
153
+ - spec/matchers/output_spec.rb
154
+ - spec/matchers/output_to_fd_spec.rb
155
+ - spec/matchers/raise_error_spec.rb
156
+ - spec/mocks/mock_spec.rb
157
+ - spec/mocks/proxy_spec.rb
158
+ - spec/runner/actions/debug_spec.rb
159
+ - spec/runner/actions/filter_spec.rb
160
+ - spec/runner/actions/gdb_spec.rb
161
+ - spec/runner/actions/tag_spec.rb
162
+ - spec/runner/actions/tally_spec.rb
163
+ - spec/runner/actions/timer_spec.rb
164
+ - spec/runner/filters/match_spec.rb
165
+ - spec/runner/filters/profile_spec.rb
166
+ - spec/runner/filters/regexp_spec.rb
167
+ - spec/runner/filters/tag_spec.rb
168
+ - spec/runner/formatters/dotted_spec.rb
169
+ - spec/runner/formatters/html_spec.rb
170
+ - spec/runner/formatters/specdoc_spec.rb
171
+ - spec/runner/formatters/spinner_spec.rb
172
+ - spec/runner/formatters/summary_spec.rb
173
+ - spec/runner/formatters/unit_spec.rb
174
+ - spec/runner/formatters/yaml_spec.rb
175
+ - spec/runner/mspec_spec.rb
176
+ - spec/runner/shared_spec.rb
177
+ - spec/runner/state_spec.rb
178
+ - spec/runner/tag_spec.rb
179
+ - spec/spec_helper.rb
180
+ - spec/utils/name_map_spec.rb
181
+ - spec/utils/options_spec.rb
182
+ - spec/utils/script_spec.rb
183
+ - Rakefile
184
+ - README
185
+ - LICENSE
186
+ has_rdoc: true
187
+ homepage: http://rubyspec.org
188
+ post_install_message:
189
+ rdoc_options:
190
+ - --title
191
+ - MSpec Gem
192
+ - --main
193
+ - README
194
+ - --line-numbers
195
+ require_paths:
196
+ - lib
197
+ required_ruby_version: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: "0"
202
+ version:
203
+ required_rubygems_version: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - ">="
206
+ - !ruby/object:Gem::Version
207
+ version: "0"
208
+ version:
209
+ requirements: []
210
+
211
+ rubyforge_project: http://rubyforge.org/projects/mspec
212
+ rubygems_version: 1.0.1
213
+ signing_key:
214
+ specification_version: 2
215
+ summary: MSpec is a specialized framework that is syntax-compatible with RSpec for basic things like describe, it blocks and before, after actions. MSpec contains additional features that assist in writing the RubySpecs used by multiple Ruby implementations. Also, MSpec attempts to use the simplest Ruby language features so that beginning Ruby implementations can run it.
216
+ test_files: []
217
+