rspec-core 2.0.0.a1
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +7 -0
- data/.treasure_map.rb +23 -0
- data/License.txt +22 -0
- data/README.markdown +9 -0
- data/Rakefile +76 -0
- data/TODO.markdown +16 -0
- data/VERSION +1 -0
- data/VERSION.yml +5 -0
- data/bin/rspec +12 -0
- data/cucumber.yml +2 -0
- data/example_specs/failing/README.txt +7 -0
- data/example_specs/failing/diffing_spec.rb +36 -0
- data/example_specs/failing/failing_implicit_docstrings_example.rb +19 -0
- data/example_specs/failing/failure_in_after.rb +10 -0
- data/example_specs/failing/failure_in_before.rb +10 -0
- data/example_specs/failing/mocking_example.rb +40 -0
- data/example_specs/failing/mocking_with_flexmock.rb +26 -0
- data/example_specs/failing/mocking_with_mocha.rb +25 -0
- data/example_specs/failing/mocking_with_rr.rb +27 -0
- data/example_specs/failing/partial_mock_example.rb +20 -0
- data/example_specs/failing/pending_example.rb +9 -0
- data/example_specs/failing/predicate_example.rb +34 -0
- data/example_specs/failing/raising_example.rb +47 -0
- data/example_specs/failing/spec_helper.rb +3 -0
- data/example_specs/failing/syntax_error_example.rb +7 -0
- data/example_specs/failing/team_spec.rb +44 -0
- data/example_specs/failing/timeout_behaviour.rb +7 -0
- data/example_specs/passing/custom_formatter.rb +12 -0
- data/example_specs/passing/custom_matchers.rb +54 -0
- data/example_specs/passing/dynamic_spec.rb +9 -0
- data/example_specs/passing/file_accessor.rb +19 -0
- data/example_specs/passing/file_accessor_spec.rb +38 -0
- data/example_specs/passing/filtered_formatter.rb +18 -0
- data/example_specs/passing/filtered_formatter_example.rb +31 -0
- data/example_specs/passing/greeter_spec.rb +31 -0
- data/example_specs/passing/helper_method_example.rb +14 -0
- data/example_specs/passing/implicit_docstrings_example.rb +18 -0
- data/example_specs/passing/io_processor.rb +8 -0
- data/example_specs/passing/io_processor_spec.rb +21 -0
- data/example_specs/passing/mocking_example.rb +27 -0
- data/example_specs/passing/multi_threaded_example_group_runner.rb +26 -0
- data/example_specs/passing/nested_classes_example.rb +36 -0
- data/example_specs/passing/options_example.rb +31 -0
- data/example_specs/passing/options_formatter.rb +20 -0
- data/example_specs/passing/partial_mock_example.rb +29 -0
- data/example_specs/passing/pending_example.rb +20 -0
- data/example_specs/passing/predicate_example.rb +27 -0
- data/example_specs/passing/shared_example_group_example.rb +81 -0
- data/example_specs/passing/shared_stack_examples.rb +36 -0
- data/example_specs/passing/simple_matcher_example.rb +31 -0
- data/example_specs/passing/spec_helper.rb +14 -0
- data/example_specs/passing/stack.rb +36 -0
- data/example_specs/passing/stack_spec.rb +64 -0
- data/example_specs/passing/stack_spec_with_nested_example_groups.rb +67 -0
- data/example_specs/passing/stubbing_example.rb +69 -0
- data/example_specs/passing/yielding_example.rb +33 -0
- data/example_specs/ruby1.9.compatibility/access_to_constants_spec.rb +85 -0
- data/features-pending/command_line/line_number_option.feature +56 -0
- data/features-pending/command_line/line_number_option_with_example_with_no_name.feature +22 -0
- data/features-pending/example_groups/example_group_with_should_methods.feature +29 -0
- data/features-pending/example_groups/implicit_docstrings.feature +59 -0
- data/features-pending/example_groups/nested_groups.feature +32 -0
- data/features-pending/expectations/expect_change.feature +65 -0
- data/features-pending/expectations/expect_error.feature +44 -0
- data/features-pending/extensions/custom_example_group.feature +19 -0
- data/features-pending/formatters/custom_formatter.feature +30 -0
- data/features-pending/heckle/heckle.feature +56 -0
- data/features-pending/interop/examples_and_tests_together.feature +80 -0
- data/features-pending/interop/rspec_output.feature +25 -0
- data/features-pending/interop/test_but_not_test_unit.feature +26 -0
- data/features-pending/interop/test_case_with_should_methods.feature +46 -0
- data/features-pending/matchers/define_diffable_matcher.feature +26 -0
- data/features-pending/matchers/define_matcher.feature +179 -0
- data/features-pending/matchers/define_matcher_with_fluent_interface.feature +27 -0
- data/features-pending/mocks/mix_stubs_and_mocks.feature +22 -0
- data/features-pending/mocks/stub_implementation.feature +26 -0
- data/features-pending/pending/pending_examples.feature +81 -0
- data/features-pending/runner/specify_line_number.feature +32 -0
- data/features/before_and_after_blocks/before_and_after_blocks.feature +169 -0
- data/features/expectations/customized_message.feature +54 -0
- data/features/matchers/define_matcher_outside_rspec.feature +39 -0
- data/features/mock_framework_integration/use_flexmock.feature +23 -0
- data/features/mock_framework_integration/use_mocha.feature +23 -0
- data/features/mock_framework_integration/use_rr.feature +23 -0
- data/features/mock_framework_integration/use_rspec.feature +23 -0
- data/features/step_definitions/running_rspec_steps.rb +35 -0
- data/features/subject/explicit_subject.feature +31 -0
- data/features/subject/implicit_subject.feature +31 -0
- data/features/support/env.rb +82 -0
- data/features/support/matchers/smart_match.rb +14 -0
- data/lib/rspec/autorun.rb +2 -0
- data/lib/rspec/core.rb +38 -0
- data/lib/rspec/core/backward_compatibility.rb +9 -0
- data/lib/rspec/core/command_line_options.rb +60 -0
- data/lib/rspec/core/configuration.rb +222 -0
- data/lib/rspec/core/deprecation.rb +47 -0
- data/lib/rspec/core/example.rb +113 -0
- data/lib/rspec/core/example_group.rb +239 -0
- data/lib/rspec/core/example_group_subject.rb +77 -0
- data/lib/rspec/core/formatters.rb +16 -0
- data/lib/rspec/core/formatters/base_formatter.rb +123 -0
- data/lib/rspec/core/formatters/base_text_formatter.rb +139 -0
- data/lib/rspec/core/formatters/documentation_formatter.rb +84 -0
- data/lib/rspec/core/formatters/progress_formatter.rb +36 -0
- data/lib/rspec/core/kernel_extensions.rb +15 -0
- data/lib/rspec/core/mocking/with_absolutely_nothing.rb +13 -0
- data/lib/rspec/core/mocking/with_flexmock.rb +25 -0
- data/lib/rspec/core/mocking/with_mocha.rb +22 -0
- data/lib/rspec/core/mocking/with_rr.rb +26 -0
- data/lib/rspec/core/mocking/with_rspec.rb +21 -0
- data/lib/rspec/core/rake_task.rb +88 -0
- data/lib/rspec/core/runner.rb +66 -0
- data/lib/rspec/core/shared_behaviour.rb +41 -0
- data/lib/rspec/core/shared_behaviour_kernel_extensions.rb +31 -0
- data/lib/rspec/core/version.rb +16 -0
- data/lib/rspec/core/world.rb +105 -0
- data/rspec-core.gemspec +204 -0
- data/script/console +8 -0
- data/spec/resources/example_classes.rb +67 -0
- data/spec/rspec/core/command_line_options_spec.rb +63 -0
- data/spec/rspec/core/configuration_spec.rb +171 -0
- data/spec/rspec/core/example_group_spec.rb +351 -0
- data/spec/rspec/core/example_group_subject_spec.rb +67 -0
- data/spec/rspec/core/example_spec.rb +67 -0
- data/spec/rspec/core/formatters/base_formatter_spec.rb +105 -0
- data/spec/rspec/core/formatters/documentation_formatter_spec.rb +5 -0
- data/spec/rspec/core/formatters/progress_formatter_spec.rb +29 -0
- data/spec/rspec/core/kernel_extensions_spec.rb +13 -0
- data/spec/rspec/core/mocha_spec.rb +29 -0
- data/spec/rspec/core/resources/a_bar.rb +0 -0
- data/spec/rspec/core/resources/a_foo.rb +0 -0
- data/spec/rspec/core/resources/a_spec.rb +1 -0
- data/spec/rspec/core/resources/custom_example_group_runner.rb +14 -0
- data/spec/rspec/core/resources/example_classes.rb +67 -0
- data/spec/rspec/core/resources/utf8_encoded.rb +8 -0
- data/spec/rspec/core/runner_spec.rb +34 -0
- data/spec/rspec/core/shared_behaviour_spec.rb +185 -0
- data/spec/rspec/core/world_spec.rb +167 -0
- data/spec/rspec/core_spec.rb +35 -0
- data/spec/ruby_forker.rb +13 -0
- data/spec/spec_helper.rb +72 -0
- metadata +219 -0
metadata
ADDED
@@ -0,0 +1,219 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rspec-core
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.0.a1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- David Chelimsky
|
8
|
+
- Chad Humphries
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2009-09-16 00:00:00 -04:00
|
14
|
+
default_executable: rspec
|
15
|
+
dependencies: []
|
16
|
+
|
17
|
+
description: RSpec Core
|
18
|
+
email: dchelimsky@gmail.com;chad.humphries@gmail.com
|
19
|
+
executables:
|
20
|
+
- rspec
|
21
|
+
extensions: []
|
22
|
+
|
23
|
+
extra_rdoc_files:
|
24
|
+
- README.markdown
|
25
|
+
files:
|
26
|
+
- .document
|
27
|
+
- .gitignore
|
28
|
+
- .treasure_map.rb
|
29
|
+
- License.txt
|
30
|
+
- README.markdown
|
31
|
+
- Rakefile
|
32
|
+
- TODO.markdown
|
33
|
+
- VERSION
|
34
|
+
- VERSION.yml
|
35
|
+
- bin/rspec
|
36
|
+
- cucumber.yml
|
37
|
+
- example_specs/failing/README.txt
|
38
|
+
- example_specs/failing/diffing_spec.rb
|
39
|
+
- example_specs/failing/failing_implicit_docstrings_example.rb
|
40
|
+
- example_specs/failing/failure_in_after.rb
|
41
|
+
- example_specs/failing/failure_in_before.rb
|
42
|
+
- example_specs/failing/mocking_example.rb
|
43
|
+
- example_specs/failing/mocking_with_flexmock.rb
|
44
|
+
- example_specs/failing/mocking_with_mocha.rb
|
45
|
+
- example_specs/failing/mocking_with_rr.rb
|
46
|
+
- example_specs/failing/partial_mock_example.rb
|
47
|
+
- example_specs/failing/pending_example.rb
|
48
|
+
- example_specs/failing/predicate_example.rb
|
49
|
+
- example_specs/failing/raising_example.rb
|
50
|
+
- example_specs/failing/spec_helper.rb
|
51
|
+
- example_specs/failing/syntax_error_example.rb
|
52
|
+
- example_specs/failing/team_spec.rb
|
53
|
+
- example_specs/failing/timeout_behaviour.rb
|
54
|
+
- example_specs/passing/custom_formatter.rb
|
55
|
+
- example_specs/passing/custom_matchers.rb
|
56
|
+
- example_specs/passing/dynamic_spec.rb
|
57
|
+
- example_specs/passing/file_accessor.rb
|
58
|
+
- example_specs/passing/file_accessor_spec.rb
|
59
|
+
- example_specs/passing/filtered_formatter.rb
|
60
|
+
- example_specs/passing/filtered_formatter_example.rb
|
61
|
+
- example_specs/passing/greeter_spec.rb
|
62
|
+
- example_specs/passing/helper_method_example.rb
|
63
|
+
- example_specs/passing/implicit_docstrings_example.rb
|
64
|
+
- example_specs/passing/io_processor.rb
|
65
|
+
- example_specs/passing/io_processor_spec.rb
|
66
|
+
- example_specs/passing/mocking_example.rb
|
67
|
+
- example_specs/passing/multi_threaded_example_group_runner.rb
|
68
|
+
- example_specs/passing/nested_classes_example.rb
|
69
|
+
- example_specs/passing/options_example.rb
|
70
|
+
- example_specs/passing/options_formatter.rb
|
71
|
+
- example_specs/passing/partial_mock_example.rb
|
72
|
+
- example_specs/passing/pending_example.rb
|
73
|
+
- example_specs/passing/predicate_example.rb
|
74
|
+
- example_specs/passing/shared_example_group_example.rb
|
75
|
+
- example_specs/passing/shared_stack_examples.rb
|
76
|
+
- example_specs/passing/simple_matcher_example.rb
|
77
|
+
- example_specs/passing/spec_helper.rb
|
78
|
+
- example_specs/passing/stack.rb
|
79
|
+
- example_specs/passing/stack_spec.rb
|
80
|
+
- example_specs/passing/stack_spec_with_nested_example_groups.rb
|
81
|
+
- example_specs/passing/stubbing_example.rb
|
82
|
+
- example_specs/passing/yielding_example.rb
|
83
|
+
- example_specs/ruby1.9.compatibility/access_to_constants_spec.rb
|
84
|
+
- features-pending/command_line/line_number_option.feature
|
85
|
+
- features-pending/command_line/line_number_option_with_example_with_no_name.feature
|
86
|
+
- features-pending/example_groups/example_group_with_should_methods.feature
|
87
|
+
- features-pending/example_groups/implicit_docstrings.feature
|
88
|
+
- features-pending/example_groups/nested_groups.feature
|
89
|
+
- features-pending/expectations/expect_change.feature
|
90
|
+
- features-pending/expectations/expect_error.feature
|
91
|
+
- features-pending/extensions/custom_example_group.feature
|
92
|
+
- features-pending/formatters/custom_formatter.feature
|
93
|
+
- features-pending/heckle/heckle.feature
|
94
|
+
- features-pending/interop/examples_and_tests_together.feature
|
95
|
+
- features-pending/interop/rspec_output.feature
|
96
|
+
- features-pending/interop/test_but_not_test_unit.feature
|
97
|
+
- features-pending/interop/test_case_with_should_methods.feature
|
98
|
+
- features-pending/matchers/define_diffable_matcher.feature
|
99
|
+
- features-pending/matchers/define_matcher.feature
|
100
|
+
- features-pending/matchers/define_matcher_with_fluent_interface.feature
|
101
|
+
- features-pending/mocks/mix_stubs_and_mocks.feature
|
102
|
+
- features-pending/mocks/stub_implementation.feature
|
103
|
+
- features-pending/pending/pending_examples.feature
|
104
|
+
- features-pending/runner/specify_line_number.feature
|
105
|
+
- features/before_and_after_blocks/before_and_after_blocks.feature
|
106
|
+
- features/expectations/customized_message.feature
|
107
|
+
- features/matchers/define_matcher_outside_rspec.feature
|
108
|
+
- features/mock_framework_integration/use_flexmock.feature
|
109
|
+
- features/mock_framework_integration/use_mocha.feature
|
110
|
+
- features/mock_framework_integration/use_rr.feature
|
111
|
+
- features/mock_framework_integration/use_rspec.feature
|
112
|
+
- features/step_definitions/running_rspec_steps.rb
|
113
|
+
- features/subject/explicit_subject.feature
|
114
|
+
- features/subject/implicit_subject.feature
|
115
|
+
- features/support/env.rb
|
116
|
+
- features/support/matchers/smart_match.rb
|
117
|
+
- lib/rspec/autorun.rb
|
118
|
+
- lib/rspec/core.rb
|
119
|
+
- lib/rspec/core/backward_compatibility.rb
|
120
|
+
- lib/rspec/core/command_line_options.rb
|
121
|
+
- lib/rspec/core/configuration.rb
|
122
|
+
- lib/rspec/core/deprecation.rb
|
123
|
+
- lib/rspec/core/example.rb
|
124
|
+
- lib/rspec/core/example_group.rb
|
125
|
+
- lib/rspec/core/example_group_subject.rb
|
126
|
+
- lib/rspec/core/formatters.rb
|
127
|
+
- lib/rspec/core/formatters/base_formatter.rb
|
128
|
+
- lib/rspec/core/formatters/base_text_formatter.rb
|
129
|
+
- lib/rspec/core/formatters/documentation_formatter.rb
|
130
|
+
- lib/rspec/core/formatters/progress_formatter.rb
|
131
|
+
- lib/rspec/core/kernel_extensions.rb
|
132
|
+
- lib/rspec/core/mocking/with_absolutely_nothing.rb
|
133
|
+
- lib/rspec/core/mocking/with_flexmock.rb
|
134
|
+
- lib/rspec/core/mocking/with_mocha.rb
|
135
|
+
- lib/rspec/core/mocking/with_rr.rb
|
136
|
+
- lib/rspec/core/mocking/with_rspec.rb
|
137
|
+
- lib/rspec/core/rake_task.rb
|
138
|
+
- lib/rspec/core/runner.rb
|
139
|
+
- lib/rspec/core/shared_behaviour.rb
|
140
|
+
- lib/rspec/core/shared_behaviour_kernel_extensions.rb
|
141
|
+
- lib/rspec/core/world.rb
|
142
|
+
- lib/rspec/core/version.rb
|
143
|
+
- rspec-core.gemspec
|
144
|
+
- script/console
|
145
|
+
- spec/resources/example_classes.rb
|
146
|
+
- spec/rspec/core/command_line_options_spec.rb
|
147
|
+
- spec/rspec/core/configuration_spec.rb
|
148
|
+
- spec/rspec/core/example_group_spec.rb
|
149
|
+
- spec/rspec/core/example_group_subject_spec.rb
|
150
|
+
- spec/rspec/core/example_spec.rb
|
151
|
+
- spec/rspec/core/formatters/base_formatter_spec.rb
|
152
|
+
- spec/rspec/core/formatters/documentation_formatter_spec.rb
|
153
|
+
- spec/rspec/core/formatters/progress_formatter_spec.rb
|
154
|
+
- spec/rspec/core/kernel_extensions_spec.rb
|
155
|
+
- spec/rspec/core/mocha_spec.rb
|
156
|
+
- spec/rspec/core/resources/a_bar.rb
|
157
|
+
- spec/rspec/core/resources/a_foo.rb
|
158
|
+
- spec/rspec/core/resources/a_spec.rb
|
159
|
+
- spec/rspec/core/resources/custom_example_group_runner.rb
|
160
|
+
- spec/rspec/core/resources/example_classes.rb
|
161
|
+
- spec/rspec/core/resources/utf8_encoded.rb
|
162
|
+
- spec/rspec/core/runner_spec.rb
|
163
|
+
- spec/rspec/core/shared_behaviour_spec.rb
|
164
|
+
- spec/rspec/core/world_spec.rb
|
165
|
+
- spec/rspec/core_spec.rb
|
166
|
+
- spec/ruby_forker.rb
|
167
|
+
- spec/spec_helper.rb
|
168
|
+
has_rdoc: true
|
169
|
+
homepage: http://github.com/rspec/core
|
170
|
+
licenses: []
|
171
|
+
|
172
|
+
post_install_message:
|
173
|
+
rdoc_options:
|
174
|
+
- --charset=UTF-8
|
175
|
+
require_paths:
|
176
|
+
- lib
|
177
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - ">="
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: "0"
|
182
|
+
version:
|
183
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: "0"
|
188
|
+
version:
|
189
|
+
requirements: []
|
190
|
+
|
191
|
+
rubyforge_project:
|
192
|
+
rubygems_version: 1.3.5
|
193
|
+
signing_key:
|
194
|
+
specification_version: 3
|
195
|
+
summary: RSpec Core
|
196
|
+
test_files:
|
197
|
+
- spec/resources/example_classes.rb
|
198
|
+
- spec/rspec/core/command_line_options_spec.rb
|
199
|
+
- spec/rspec/core/configuration_spec.rb
|
200
|
+
- spec/rspec/core/example_group_spec.rb
|
201
|
+
- spec/rspec/core/example_group_subject_spec.rb
|
202
|
+
- spec/rspec/core/example_spec.rb
|
203
|
+
- spec/rspec/core/formatters/base_formatter_spec.rb
|
204
|
+
- spec/rspec/core/formatters/documentation_formatter_spec.rb
|
205
|
+
- spec/rspec/core/formatters/progress_formatter_spec.rb
|
206
|
+
- spec/rspec/core/kernel_extensions_spec.rb
|
207
|
+
- spec/rspec/core/mocha_spec.rb
|
208
|
+
- spec/rspec/core/resources/a_bar.rb
|
209
|
+
- spec/rspec/core/resources/a_foo.rb
|
210
|
+
- spec/rspec/core/resources/a_spec.rb
|
211
|
+
- spec/rspec/core/resources/custom_example_group_runner.rb
|
212
|
+
- spec/rspec/core/resources/example_classes.rb
|
213
|
+
- spec/rspec/core/resources/utf8_encoded.rb
|
214
|
+
- spec/rspec/core/runner_spec.rb
|
215
|
+
- spec/rspec/core/shared_behaviour_spec.rb
|
216
|
+
- spec/rspec/core/world_spec.rb
|
217
|
+
- spec/rspec/core_spec.rb
|
218
|
+
- spec/ruby_forker.rb
|
219
|
+
- spec/spec_helper.rb
|