rspec 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGES +17 -5
- data/EXAMPLES.rd +1 -1
- data/lib/autotest.rb +1 -0
- data/lib/autotest/discover.rb +3 -0
- data/lib/autotest/rspec.rb +68 -0
- data/lib/spec/dsl/behaviour.rb +1 -0
- data/lib/spec/dsl/behaviour_eval.rb +4 -0
- data/lib/spec/matchers/throw_symbol.rb +1 -4
- data/lib/spec/runner/formatter/base_formatter.rb +3 -3
- data/lib/spec/runner/formatter/html_formatter.rb +9 -5
- data/lib/spec/runner/{heckle_runner_win.rb → heckle_runner_unsupported.rb} +0 -0
- data/lib/spec/runner/options.rb +1 -1
- data/lib/spec/version.rb +3 -3
- data/spec/spec/dsl/behaviour_spec.rb +16 -0
- data/spec/spec/runner/formatter/html_formatter_spec.rb +1 -1
- data/spec/spec/runner/heckle_runner_spec.rb +1 -1
- data/spec/spec/runner/heckler_spec.rb +1 -1
- data/spec/spec/runner/option_parser_spec.rb +9 -9
- metadata +41 -38
data/CHANGES
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
= RSpec Changelog
|
2
2
|
|
3
|
+
== Version 1.0.1
|
4
|
+
This is a maintenance release with mostly cleaning up, and one minor enhancement -
|
5
|
+
Modules are automatically included when described directly.
|
6
|
+
|
7
|
+
* Renamed Spec::Rails' rspec_resource generator to rspec_scaffold.
|
8
|
+
* Removed Spec::Rails' be_feed matcher since it's based on assert_select_feed which is not part of Rails (despite that docs for assert_select_encoded says it is).
|
9
|
+
* describe(SomeModule) will include that module in the examples. Like for Spec::Rails helpers, but now also in core.
|
10
|
+
* Header in HTML report will be yellow instead of red if there is one failed example
|
11
|
+
* Applied [#10951] Odd instance variable name in rspec_model template (patch from Kyle Hargraves)
|
12
|
+
* Improved integration with autotest (Patches from Ryan Davis and David Goodland)
|
13
|
+
* Some small fixes to make all specs run on JRuby.
|
14
|
+
|
3
15
|
== Version 1.0.0
|
4
16
|
The stake in the ground release. This represents a commitment to the API as it is. No significant
|
5
17
|
backwards compatibility changes in the API are expected after this release.
|
@@ -7,7 +19,7 @@ backwards compatibility changes in the API are expected after this release.
|
|
7
19
|
* Fixed [#10923] have_text matcher does not support should_not
|
8
20
|
* Fixed [#10673] should > and should >= broken
|
9
21
|
* Applied [#10921] Allow verify_rcov to accept greater than threshold coverage %'s via configuration
|
10
|
-
* Applied [#10920] Added support for not implemented examples (Patch from Chad Humphries)
|
22
|
+
* Applied [#10920] Added support for not implemented examples (Patch from Chad Humphries and Ken Barker)
|
11
23
|
* Patch to allow not implemented examples. This works by not providing a block to the example. (Patch from Chad Humphries, Ken Barker)
|
12
24
|
* Yanked support for Rails 1.1.6 in Spec::Rails
|
13
25
|
* RSpec.tmbundle uses CMD-SHIFT-R to run focused examples now.
|
@@ -128,7 +140,7 @@ See Spec::DSL::Behaviour for more on predicate_matchers
|
|
128
140
|
* Added [#9735] support flexmock (thanks to Jim Weirich for his modifications to flexmock to support this)
|
129
141
|
* Spec::Rails controller specs will no longer let mock exception ripple through to the response.
|
130
142
|
* Fixed [#9260] IvarProxy does not act like a hash.
|
131
|
-
* Applied [#9458] The
|
143
|
+
* Applied [#9458] The rspec_scaffold generator does not take into account class nesting (Patch from Steve Tendon)
|
132
144
|
* Applied [#9132] Rakefile spec:doc can fail without preparing database (Patch from Steve Ross)
|
133
145
|
* Applied [#9678] Custom runner command line switch, and multi-threaded runner (Patch from Bob Cotton)
|
134
146
|
* Applied [#9926] Rakefile - RSPEC_DEPS constant as an Array of Hashes instead of an Array of Arrays (Patch from Scott Taylor)
|
@@ -164,7 +176,7 @@ See Spec::DSL::Behaviour for more on predicate_matchers
|
|
164
176
|
* Added --loadby option, allowing better control over load order for spec files. mtime and file.txt supported.
|
165
177
|
* Implemented [#8696] --order option (see --reverse and --loadby)
|
166
178
|
* Added describe/it as aliases for context/specify - suggestion from Dan North.
|
167
|
-
* Applied [#7637] [PATCH] add skip-migration option to
|
179
|
+
* Applied [#7637] [PATCH] add skip-migration option to rspec_scaffold generator
|
168
180
|
* Added [#9167] string.should have_tag
|
169
181
|
* Changed script/rails_spec_server to script/spec_server and added script/spec (w/ path to vendor/plugins/rspec)
|
170
182
|
* Fixed [#8897] Error when mixing controller spec with/without integrated views and using template system other than rhtml
|
@@ -219,7 +231,7 @@ It also sports myriad new features, bug fixes, patches and general goodness:
|
|
219
231
|
* Fixed [#7754] Command-R fails to run spec in TextMate (added instruction from Luke Redpath to the website)
|
220
232
|
* Fixed [#7826] RSpect.tmbundle web page out of date.
|
221
233
|
* RSpec on Rails specs are now running against RoR 1.2.1 and 1.2.2
|
222
|
-
*
|
234
|
+
* rspec_scaffold now generates specs for views
|
223
235
|
* In a Rails app, RSpec core is only loaded when RAILS_ENV==test (init.rb)
|
224
236
|
* Added support for target.should arbitrary_expectation_handler and target.should_not arbitrary_expectation_handler
|
225
237
|
* Fixed [#7533] Spec suite fails and the process exits with a code 0
|
@@ -260,7 +272,7 @@ There are also several bug fixes to the RSpec core and the RSpec on Rails plugin
|
|
260
272
|
* Added [#7250] stubs should support throwing
|
261
273
|
* Added [#7249] stubs should support yielding
|
262
274
|
* Fixed [#6760] fatal error when accessing nested finders in rspec
|
263
|
-
* Fixed [#7179] script/generate
|
275
|
+
* Fixed [#7179] script/generate rspec_scaffold generates incorrect helper name
|
264
276
|
* Added preliminary support for assert_select (response.should_have)
|
265
277
|
* Fixed [#6971] and_yield does not work when the arity is -1
|
266
278
|
* Fixed [#6898] Can we separate rspec from the plugins?
|
data/EXAMPLES.rd
CHANGED
data/lib/autotest.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require File.dirname(__FILE__) + "/autotest/rspec"
|
@@ -0,0 +1,68 @@
|
|
1
|
+
require 'autotest'
|
2
|
+
|
3
|
+
class Autotest::Rspec < Autotest
|
4
|
+
|
5
|
+
def initialize # :nodoc:
|
6
|
+
super
|
7
|
+
@spec_command = "spec"
|
8
|
+
@test_mappings = {
|
9
|
+
%r%^spec/.*rb$% => proc { |filename, _|
|
10
|
+
filename
|
11
|
+
},
|
12
|
+
%r%^lib/(.*)\.rb$% => proc { |_, m|
|
13
|
+
["spec/#{m[1]}_spec.rb"]
|
14
|
+
},
|
15
|
+
}
|
16
|
+
end
|
17
|
+
|
18
|
+
def tests_for_file(filename)
|
19
|
+
super.select { |f| @files.has_key? f }
|
20
|
+
end
|
21
|
+
|
22
|
+
def handle_results(results)
|
23
|
+
failed = results.scan(/^\d+\)\n(?:\e\[\d*m)?(?:.*?Error in )?'([^\n]*)'(?: FAILED)?(?:\e\[\d*m)?\n(.*?)\n\n/m)
|
24
|
+
@files_to_test = consolidate_failures failed
|
25
|
+
unless @files_to_test.empty? then
|
26
|
+
hook :red
|
27
|
+
else
|
28
|
+
hook :green
|
29
|
+
end unless $TESTING
|
30
|
+
@tainted = true unless @files_to_test.empty?
|
31
|
+
end
|
32
|
+
|
33
|
+
def consolidate_failures(failed)
|
34
|
+
filters = Hash.new { |h,k| h[k] = [] }
|
35
|
+
failed.each do |spec, failed_trace|
|
36
|
+
@files.keys.select{|f| f =~ /spec\//}.each do |f|
|
37
|
+
if failed_trace =~ Regexp.new(f)
|
38
|
+
filters[f] << spec
|
39
|
+
break
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
return filters
|
44
|
+
end
|
45
|
+
|
46
|
+
def make_test_cmd(files_to_test)
|
47
|
+
cmds = []
|
48
|
+
full, partial = files_to_test.partition { |k,v| v.empty? }
|
49
|
+
|
50
|
+
unless full.empty? then
|
51
|
+
files = full.map {|k,v| k}.flatten.join(' ')
|
52
|
+
cmds << "#{@spec_command} #{add_options_if_present}#{files}"
|
53
|
+
end
|
54
|
+
|
55
|
+
partial.each do |f, methods|
|
56
|
+
cmds.push(*methods.map { |meth|
|
57
|
+
"#{@spec_command} #{add_options_if_present} #{f}"
|
58
|
+
})
|
59
|
+
end
|
60
|
+
|
61
|
+
return cmds.join('; ')
|
62
|
+
end
|
63
|
+
|
64
|
+
def add_options_if_present
|
65
|
+
File.exist?("spec/spec.opts") ? "-O spec/spec.opts " : ""
|
66
|
+
end
|
67
|
+
|
68
|
+
end
|
data/lib/spec/dsl/behaviour.rb
CHANGED
@@ -40,6 +40,7 @@ module Spec
|
|
40
40
|
@eval_module = EvalModule.new
|
41
41
|
@eval_module.extend BehaviourEval::ModuleMethods
|
42
42
|
@eval_module.include BehaviourEval::InstanceMethods
|
43
|
+
@eval_module.include described_type if described_type.class == Module
|
43
44
|
@eval_module.behaviour = self
|
44
45
|
@eval_module.description = @description
|
45
46
|
end
|
@@ -10,7 +10,7 @@ module Spec
|
|
10
10
|
begin
|
11
11
|
proc.call
|
12
12
|
rescue NameError => e
|
13
|
-
@actual =
|
13
|
+
@actual = e.name.to_sym
|
14
14
|
ensure
|
15
15
|
if @expected.nil?
|
16
16
|
return @actual.nil? ? false : true
|
@@ -46,9 +46,6 @@ module Spec
|
|
46
46
|
@expected.nil? ? "a Symbol" : @expected.inspect
|
47
47
|
end
|
48
48
|
|
49
|
-
def extract_sym_from_name_error(error)
|
50
|
-
return "#{error.message.split("`").last.split("'").first}".to_sym
|
51
|
-
end
|
52
49
|
end
|
53
50
|
|
54
51
|
# :call-seq:
|
@@ -16,9 +16,9 @@ module Spec
|
|
16
16
|
def start(example_count)
|
17
17
|
end
|
18
18
|
|
19
|
-
# This method is invoked at the beginning of the execution of each
|
20
|
-
# +name+ is the name of the
|
21
|
-
# first
|
19
|
+
# This method is invoked at the beginning of the execution of each behaviour.
|
20
|
+
# +name+ is the name of the behaviour and +first+ is true if it is the
|
21
|
+
# first behaviour - otherwise it's false.
|
22
22
|
#
|
23
23
|
# The next method to be invoked after this is #example_failed or #example_finished
|
24
24
|
def add_behaviour(name)
|
@@ -28,6 +28,8 @@ module Spec
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def add_behaviour(name)
|
31
|
+
@behaviour_red = false
|
32
|
+
@behaviour_red = false
|
31
33
|
@current_behaviour_number += 1
|
32
34
|
unless current_behaviour_number == 1
|
33
35
|
@output.puts " </dl>"
|
@@ -56,8 +58,10 @@ module Spec
|
|
56
58
|
extra = extra_failure_content(failure)
|
57
59
|
|
58
60
|
@current_example_number += 1
|
59
|
-
@output.puts " <script type=\"text/javascript\">makeRed('rspec-header');</script>"
|
60
|
-
@
|
61
|
+
@output.puts " <script type=\"text/javascript\">makeRed('rspec-header');</script>" unless @header_red
|
62
|
+
@header_red = true
|
63
|
+
@output.puts " <script type=\"text/javascript\">makeRed('behaviour_#{current_behaviour_number}');</script>" unless @behaviour_red
|
64
|
+
@behaviour_red = true
|
61
65
|
move_progress
|
62
66
|
@output.puts " <dd class=\"spec failed\">"
|
63
67
|
@output.puts " <span class=\"failed_spec_name\">#{escape(name)}</span>"
|
@@ -72,8 +76,8 @@ module Spec
|
|
72
76
|
|
73
77
|
def example_not_implemented(name)
|
74
78
|
@current_example_number += 1
|
75
|
-
@output.puts " <script type=\"text/javascript\">makeYellow('rspec-header');</script>"
|
76
|
-
@output.puts " <script type=\"text/javascript\">makeYellow('behaviour_#{current_behaviour_number}');</script>"
|
79
|
+
@output.puts " <script type=\"text/javascript\">makeYellow('rspec-header');</script>" unless @header_red
|
80
|
+
@output.puts " <script type=\"text/javascript\">makeYellow('behaviour_#{current_behaviour_number}');</script>" unless @behaviour_red
|
77
81
|
move_progress
|
78
82
|
@output.puts " <dd class=\"spec not_implemented\"><span class=\"not_implemented_spec_name\">#{escape(name)}</span></dd>"
|
79
83
|
@output.flush
|
@@ -156,8 +160,8 @@ EOF
|
|
156
160
|
<h1>RSpec Results</h1>
|
157
161
|
|
158
162
|
<div id="summary">
|
159
|
-
<p id="duration"> </p>
|
160
163
|
<p id="totals"> </p>
|
164
|
+
<p id="duration"> </p>
|
161
165
|
</div>
|
162
166
|
</div>
|
163
167
|
|
File without changes
|
data/lib/spec/runner/options.rb
CHANGED
@@ -125,7 +125,7 @@ module Spec
|
|
125
125
|
end
|
126
126
|
|
127
127
|
def parse_heckle(heckle)
|
128
|
-
heckle_require =
|
128
|
+
heckle_require = [/mswin/, /java/].detect{|p| p =~ RUBY_PLATFORM} ? 'spec/runner/heckle_runner_unsupported' : 'spec/runner/heckle_runner'
|
129
129
|
require heckle_require
|
130
130
|
@heckle_runner = HeckleRunner.new(heckle)
|
131
131
|
end
|
data/lib/spec/version.rb
CHANGED
@@ -3,11 +3,11 @@ module Spec
|
|
3
3
|
unless defined? MAJOR
|
4
4
|
MAJOR = 1
|
5
5
|
MINOR = 0
|
6
|
-
TINY =
|
6
|
+
TINY = 1
|
7
7
|
RELEASE_CANDIDATE = nil
|
8
8
|
|
9
|
-
# RANDOM_TOKEN: 0.
|
10
|
-
REV = "$LastChangedRevision:
|
9
|
+
# RANDOM_TOKEN: 0.304684116789143
|
10
|
+
REV = "$LastChangedRevision: 2004 $".match(/LastChangedRevision: (\d+)/)[1]
|
11
11
|
|
12
12
|
STRING = [MAJOR, MINOR, TINY].join('.')
|
13
13
|
TAG = "REL_#{[MAJOR, MINOR, TINY, RELEASE_CANDIDATE].compact.join('_')}".upcase.gsub(/\.|-/, '_')
|
@@ -600,5 +600,21 @@ module Spec
|
|
600
600
|
|
601
601
|
# TODO - add an example about shared behaviours
|
602
602
|
end
|
603
|
+
|
604
|
+
describe Enumerable do
|
605
|
+
def each(&block)
|
606
|
+
["4", "2", "1"].each(&block)
|
607
|
+
end
|
608
|
+
|
609
|
+
it "should be included in examples because it is a module" do
|
610
|
+
map{|e| e.to_i}.should == [4,2,1]
|
611
|
+
end
|
612
|
+
end
|
613
|
+
|
614
|
+
describe String do
|
615
|
+
it "should not be included in examples because it is not a module" do
|
616
|
+
lambda{self.map}.should raise_error(NoMethodError, /undefined method `map' for/)
|
617
|
+
end
|
618
|
+
end
|
603
619
|
end
|
604
620
|
end
|
@@ -30,7 +30,7 @@ describe "HtmlFormatter" do
|
|
30
30
|
if opt == '--diff'
|
31
31
|
# Uncomment this line temporarily in order to overwrite the expected with actual.
|
32
32
|
# Use with care!!!
|
33
|
-
File.open(expected_file, 'w') {|io| io.write(html)}
|
33
|
+
# File.open(expected_file, 'w') {|io| io.write(html)}
|
34
34
|
|
35
35
|
doc = Hpricot(html)
|
36
36
|
backtraces = doc.search("div.backtrace").collect {|e| e.at("/pre").inner_html}
|
@@ -133,7 +133,7 @@ describe "OptionParser" do
|
|
133
133
|
options = parse(["--format", "html:test.html"])
|
134
134
|
File.should be_exist('test.html')
|
135
135
|
options.formatters[0].class.should equal(Spec::Runner::Formatter::HtmlFormatter)
|
136
|
-
FileUtils.rm 'test.html' rescue nil # Help windows
|
136
|
+
FileUtils.rm 'test.html' #rescue nil # Help windows
|
137
137
|
end
|
138
138
|
|
139
139
|
it "should use noisy backtrace tweaker with b option" do
|
@@ -262,17 +262,17 @@ describe "OptionParser" do
|
|
262
262
|
@err.string.should match(/You cannot use both --line and --example/n)
|
263
263
|
end
|
264
264
|
|
265
|
-
if
|
266
|
-
it "should heckle when --heckle is specified (and platform is not windows)" do
|
267
|
-
options = parse(["--heckle", "Spec"])
|
268
|
-
options.heckle_runner.should be_instance_of(Spec::Runner::HeckleRunner)
|
269
|
-
end
|
270
|
-
else
|
265
|
+
if [/mswin/, /java/].detect{|p| p =~ RUBY_PLATFORM}
|
271
266
|
it "should barf when --heckle is specified (and platform is windows)" do
|
272
267
|
lambda do
|
273
268
|
options = parse(["--heckle", "Spec"])
|
274
269
|
end.should raise_error(StandardError, "Heckle not supported on Windows")
|
275
270
|
end
|
271
|
+
else
|
272
|
+
it "should heckle when --heckle is specified (and platform is not windows)" do
|
273
|
+
options = parse(["--heckle", "Spec"])
|
274
|
+
options.heckle_runner.should be_instance_of(Spec::Runner::HeckleRunner)
|
275
|
+
end
|
276
276
|
end
|
277
277
|
|
278
278
|
it "should read options from file when --options is specified" do
|
@@ -291,10 +291,10 @@ describe "OptionParser" do
|
|
291
291
|
end
|
292
292
|
|
293
293
|
it "should save config to file when --generate-options is specified" do
|
294
|
-
FileUtils.rm 'test.spec.opts'
|
294
|
+
FileUtils.rm 'test.spec.opts' if File.exist?('test.spec.opts')
|
295
295
|
options = parse(["--colour", "--generate-options", "test.spec.opts", "--diff"])
|
296
296
|
File.open('test.spec.opts').read.should == "--colour\n--diff\n"
|
297
|
-
FileUtils.rm 'test.spec.opts' rescue nil
|
297
|
+
FileUtils.rm 'test.spec.opts' #rescue nil # Help windows
|
298
298
|
end
|
299
299
|
|
300
300
|
it "should call DrbCommandLine when --drb is specified" do
|
metadata
CHANGED
@@ -3,9 +3,9 @@ rubygems_version: 0.9.2
|
|
3
3
|
specification_version: 1
|
4
4
|
name: rspec
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.0.
|
7
|
-
date: 2007-05-
|
8
|
-
summary: RSpec-1.0.
|
6
|
+
version: 1.0.1
|
7
|
+
date: 2007-05-24 00:00:00 +02:00
|
8
|
+
summary: RSpec-1.0.1 (r2004) - BDD for Ruby http://rspec.rubyforge.org/
|
9
9
|
require_paths:
|
10
10
|
- lib
|
11
11
|
email: rspec-devel@rubyforge.org
|
@@ -35,6 +35,19 @@ files:
|
|
35
35
|
- Rakefile
|
36
36
|
- README
|
37
37
|
- UPGRADE
|
38
|
+
- lib/autotest.rb
|
39
|
+
- lib/spec.rb
|
40
|
+
- lib/autotest/discover.rb
|
41
|
+
- lib/autotest/rspec.rb
|
42
|
+
- lib/spec/dsl.rb
|
43
|
+
- lib/spec/expectations.rb
|
44
|
+
- lib/spec/extensions.rb
|
45
|
+
- lib/spec/matchers.rb
|
46
|
+
- lib/spec/mocks.rb
|
47
|
+
- lib/spec/runner.rb
|
48
|
+
- lib/spec/test_case_adapter.rb
|
49
|
+
- lib/spec/translator.rb
|
50
|
+
- lib/spec/version.rb
|
38
51
|
- lib/spec/dsl/behaviour.rb
|
39
52
|
- lib/spec/dsl/behaviour_callbacks.rb
|
40
53
|
- lib/spec/dsl/behaviour_eval.rb
|
@@ -45,16 +58,13 @@ files:
|
|
45
58
|
- lib/spec/dsl/example.rb
|
46
59
|
- lib/spec/dsl/example_matcher.rb
|
47
60
|
- lib/spec/dsl/example_should_raise_handler.rb
|
48
|
-
- lib/spec/dsl.rb
|
49
|
-
- lib/spec/expectations/differs/default.rb
|
50
61
|
- lib/spec/expectations/errors.rb
|
51
|
-
- lib/spec/expectations/extensions/object.rb
|
52
|
-
- lib/spec/expectations/extensions/string_and_symbol.rb
|
53
62
|
- lib/spec/expectations/extensions.rb
|
54
63
|
- lib/spec/expectations/handler.rb
|
55
|
-
- lib/spec/expectations.rb
|
64
|
+
- lib/spec/expectations/differs/default.rb
|
65
|
+
- lib/spec/expectations/extensions/object.rb
|
66
|
+
- lib/spec/expectations/extensions/string_and_symbol.rb
|
56
67
|
- lib/spec/extensions/object.rb
|
57
|
-
- lib/spec/extensions.rb
|
58
68
|
- lib/spec/matchers/be.rb
|
59
69
|
- lib/spec/matchers/be_close.rb
|
60
70
|
- lib/spec/matchers/change.rb
|
@@ -69,12 +79,10 @@ files:
|
|
69
79
|
- lib/spec/matchers/respond_to.rb
|
70
80
|
- lib/spec/matchers/satisfy.rb
|
71
81
|
- lib/spec/matchers/throw_symbol.rb
|
72
|
-
- lib/spec/matchers.rb
|
73
82
|
- lib/spec/mocks/argument_constraint_matchers.rb
|
74
83
|
- lib/spec/mocks/argument_expectation.rb
|
75
84
|
- lib/spec/mocks/error_generator.rb
|
76
85
|
- lib/spec/mocks/errors.rb
|
77
|
-
- lib/spec/mocks/extensions/object.rb
|
78
86
|
- lib/spec/mocks/message_expectation.rb
|
79
87
|
- lib/spec/mocks/methods.rb
|
80
88
|
- lib/spec/mocks/mock.rb
|
@@ -82,13 +90,20 @@ files:
|
|
82
90
|
- lib/spec/mocks/proxy.rb
|
83
91
|
- lib/spec/mocks/space.rb
|
84
92
|
- lib/spec/mocks/spec_methods.rb
|
85
|
-
- lib/spec/mocks.rb
|
93
|
+
- lib/spec/mocks/extensions/object.rb
|
86
94
|
- lib/spec/rake/spectask.rb
|
87
95
|
- lib/spec/rake/verify_rcov.rb
|
88
96
|
- lib/spec/runner/backtrace_tweaker.rb
|
89
97
|
- lib/spec/runner/behaviour_runner.rb
|
90
98
|
- lib/spec/runner/command_line.rb
|
91
99
|
- lib/spec/runner/drb_command_line.rb
|
100
|
+
- lib/spec/runner/formatter.rb
|
101
|
+
- lib/spec/runner/heckle_runner.rb
|
102
|
+
- lib/spec/runner/heckle_runner_unsupported.rb
|
103
|
+
- lib/spec/runner/option_parser.rb
|
104
|
+
- lib/spec/runner/options.rb
|
105
|
+
- lib/spec/runner/reporter.rb
|
106
|
+
- lib/spec/runner/spec_parser.rb
|
92
107
|
- lib/spec/runner/extensions/kernel.rb
|
93
108
|
- lib/spec/runner/extensions/object.rb
|
94
109
|
- lib/spec/runner/formatter/base_formatter.rb
|
@@ -100,18 +115,9 @@ files:
|
|
100
115
|
- lib/spec/runner/formatter/rdoc_formatter.rb
|
101
116
|
- lib/spec/runner/formatter/snippet_extractor.rb
|
102
117
|
- lib/spec/runner/formatter/specdoc_formatter.rb
|
103
|
-
-
|
104
|
-
-
|
105
|
-
-
|
106
|
-
- lib/spec/runner/option_parser.rb
|
107
|
-
- lib/spec/runner/options.rb
|
108
|
-
- lib/spec/runner/reporter.rb
|
109
|
-
- lib/spec/runner/spec_parser.rb
|
110
|
-
- lib/spec/runner.rb
|
111
|
-
- lib/spec/test_case_adapter.rb
|
112
|
-
- lib/spec/translator.rb
|
113
|
-
- lib/spec/version.rb
|
114
|
-
- lib/spec.rb
|
118
|
+
- spec/spec_helper.rb
|
119
|
+
- spec/spec/spec_classes.rb
|
120
|
+
- spec/spec/translator_spec.rb
|
115
121
|
- spec/spec/dsl/behaviour_eval_spec.rb
|
116
122
|
- spec/spec/dsl/behaviour_factory_spec.rb
|
117
123
|
- spec/spec/dsl/behaviour_spec.rb
|
@@ -123,9 +129,9 @@ files:
|
|
123
129
|
- spec/spec/dsl/example_should_raise_spec.rb
|
124
130
|
- spec/spec/dsl/predicate_matcher_spec.rb
|
125
131
|
- spec/spec/dsl/shared_behaviour_spec.rb
|
132
|
+
- spec/spec/expectations/fail_with_spec.rb
|
126
133
|
- spec/spec/expectations/differs/default_spec.rb
|
127
134
|
- spec/spec/expectations/extensions/object_spec.rb
|
128
|
-
- spec/spec/expectations/fail_with_spec.rb
|
129
135
|
- spec/spec/matchers/be_close_spec.rb
|
130
136
|
- spec/spec/matchers/be_spec.rb
|
131
137
|
- spec/spec/matchers/change_spec.rb
|
@@ -174,6 +180,16 @@ files:
|
|
174
180
|
- spec/spec/runner/context_matching_spec.rb
|
175
181
|
- spec/spec/runner/drb_command_line_spec.rb
|
176
182
|
- spec/spec/runner/execution_context_spec.rb
|
183
|
+
- spec/spec/runner/heckle_runner_spec.rb
|
184
|
+
- spec/spec/runner/heckler_spec.rb
|
185
|
+
- spec/spec/runner/noisy_backtrace_tweaker_spec.rb
|
186
|
+
- spec/spec/runner/object_ext_spec.rb
|
187
|
+
- spec/spec/runner/option_parser_spec.rb
|
188
|
+
- spec/spec/runner/options_spec.rb
|
189
|
+
- spec/spec/runner/quiet_backtrace_tweaker_spec.rb
|
190
|
+
- spec/spec/runner/reporter_spec.rb
|
191
|
+
- spec/spec/runner/spec_matcher_spec.rb
|
192
|
+
- spec/spec/runner/spec_parser_spec.rb
|
177
193
|
- spec/spec/runner/extensions/kernel_spec.rb
|
178
194
|
- spec/spec/runner/formatter/failing_behaviours_formatter_spec.rb
|
179
195
|
- spec/spec/runner/formatter/failing_examples_formatter_spec.rb
|
@@ -186,19 +202,6 @@ files:
|
|
186
202
|
- spec/spec/runner/formatter/snippet_extractor_spec.rb
|
187
203
|
- spec/spec/runner/formatter/specdoc_formatter_dry_run_spec.rb
|
188
204
|
- spec/spec/runner/formatter/specdoc_formatter_spec.rb
|
189
|
-
- spec/spec/runner/heckle_runner_spec.rb
|
190
|
-
- spec/spec/runner/heckler_spec.rb
|
191
|
-
- spec/spec/runner/noisy_backtrace_tweaker_spec.rb
|
192
|
-
- spec/spec/runner/object_ext_spec.rb
|
193
|
-
- spec/spec/runner/option_parser_spec.rb
|
194
|
-
- spec/spec/runner/options_spec.rb
|
195
|
-
- spec/spec/runner/quiet_backtrace_tweaker_spec.rb
|
196
|
-
- spec/spec/runner/reporter_spec.rb
|
197
|
-
- spec/spec/runner/spec_matcher_spec.rb
|
198
|
-
- spec/spec/runner/spec_parser_spec.rb
|
199
|
-
- spec/spec/spec_classes.rb
|
200
|
-
- spec/spec/translator_spec.rb
|
201
|
-
- spec/spec_helper.rb
|
202
205
|
- examples/auto_spec_description_example.rb
|
203
206
|
- examples/before_and_after_example.rb
|
204
207
|
- examples/behave_as_example.rb
|