rspec-core 3.12.1 → 3.13.3
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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/Changelog.md +307 -250
- data/README.md +5 -0
- data/lib/rspec/core/bisect/example_minimizer.rb +1 -1
- data/lib/rspec/core/bisect/fork_runner.rb +2 -0
- data/lib/rspec/core/configuration.rb +39 -5
- data/lib/rspec/core/configuration_options.rb +8 -1
- data/lib/rspec/core/did_you_mean.rb +6 -0
- data/lib/rspec/core/drb.rb +1 -1
- data/lib/rspec/core/example.rb +1 -1
- data/lib/rspec/core/filter_manager.rb +2 -2
- data/lib/rspec/core/formatters/exception_presenter.rb +33 -6
- data/lib/rspec/core/formatters/html_snippet_extractor.rb +2 -0
- data/lib/rspec/core/formatters/json_formatter.rb +7 -6
- data/lib/rspec/core/hooks.rb +1 -1
- data/lib/rspec/core/metadata.rb +1 -1
- data/lib/rspec/core/notifications.rb +2 -0
- data/lib/rspec/core/option_parser.rb +2 -0
- data/lib/rspec/core/ordering.rb +40 -1
- data/lib/rspec/core/output_wrapper.rb +2 -2
- data/lib/rspec/core/pending.rb +1 -1
- data/lib/rspec/core/project_initializer/spec/spec_helper.rb +1 -1
- data/lib/rspec/core/rake_task.rb +2 -0
- data/lib/rspec/core/reporter.rb +7 -6
- data/lib/rspec/core/runner.rb +5 -1
- data/lib/rspec/core/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +23 -139
- metadata.gz.sig +0 -0
data/Changelog.md
CHANGED
|
@@ -1,5 +1,62 @@
|
|
|
1
1
|
### Development
|
|
2
|
-
[Full Changelog](
|
|
2
|
+
[Full Changelog](https://github.com/rspec/rspec/compare/rspec-core-v3.13.3...3-13-maintenance)
|
|
3
|
+
|
|
4
|
+
### 3.13.3 / 2025-02-06
|
|
5
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.13.2...v3.13.3)
|
|
6
|
+
|
|
7
|
+
Bug fixes:
|
|
8
|
+
|
|
9
|
+
* Fix reporter memorisation of `ExamplesNotification` used in `RSpec::Core::Reporter#finish`
|
|
10
|
+
by reusing an instance across notifcations. (Maxime Lapointe, rspec/rspec#172)
|
|
11
|
+
* Fix memorisation of `RSpec::Core::Example#location_rerun_argument`.
|
|
12
|
+
(Maxime Lapointe, rspec/rspec#173)
|
|
13
|
+
|
|
14
|
+
### 3.13.2 / 2024-10-18
|
|
15
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.13.1...v3.13.2)
|
|
16
|
+
|
|
17
|
+
Bug fixes:
|
|
18
|
+
|
|
19
|
+
* `RSpec::Configuration#requires` will reflect files already required, whilst requiring
|
|
20
|
+
them. (Jon Rowe, rspec/rspec-core#3117)
|
|
21
|
+
|
|
22
|
+
### 3.13.1 / 2024-09-02
|
|
23
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.13.0...v3.13.1)
|
|
24
|
+
|
|
25
|
+
Bug fixes:
|
|
26
|
+
|
|
27
|
+
* Sort ids to run as the original order to fix `--bisect`. (Maki Kawahara, rspec/rspec-core#3093)
|
|
28
|
+
|
|
29
|
+
### 3.13.0 / 2024-02-04
|
|
30
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.12.3...v3.13.0)
|
|
31
|
+
|
|
32
|
+
Enhancements:
|
|
33
|
+
|
|
34
|
+
* Support the `--backtrace` flag when using the JSON formatter. (Matt Larraz, rspec/rspec-core#2980)
|
|
35
|
+
* Ignore commented out lines in CLI config files (e.g. `.rspec`). (Junichi Ito, rspec/rspec-core#2984)
|
|
36
|
+
* Add `pending_failure_output` config option to allow skipping backtraces or
|
|
37
|
+
muting pending specs output. (Phil Pirozhkov, rspec/rspec-core#2957)
|
|
38
|
+
* Process `--dry-run` before configuration flags that read files so that introspecting
|
|
39
|
+
it returns the correct value. (Xenor Chang, rspec/rspec-core#3008)
|
|
40
|
+
* Allow specifying custom ordering strategies via `--order`. (Jon Rowe, rspec/rspec-core#3025)
|
|
41
|
+
* Use the improved `syntax_suggest` output for `SyntaxError` when available.
|
|
42
|
+
(Richard Schneeman, rspec/rspec-core#3015, rspec/rspec-core#3026)
|
|
43
|
+
* Add config option (`RSpec::Core::Configuration#full_cause_backtrace`) to print the
|
|
44
|
+
entire backtrace of an exception cause. (David Taylor, rspec/rspec-core#3046)
|
|
45
|
+
|
|
46
|
+
### 3.12.3 / 2024-02-04
|
|
47
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.12.2...v3.12.3)
|
|
48
|
+
|
|
49
|
+
Bug fixes:
|
|
50
|
+
|
|
51
|
+
* Use `__send__` in output wrapper to avoid issues with IO objects that implement `send`
|
|
52
|
+
like `Socket`. (Richard Platel, rspec/rspec-core#3045)
|
|
53
|
+
|
|
54
|
+
### 3.12.2 / 2023-04-18
|
|
55
|
+
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.12.1...v3.12.2)
|
|
56
|
+
|
|
57
|
+
Bug fixes:
|
|
58
|
+
|
|
59
|
+
* Remove link to outdated documentation in generated output. (Jon Rowe, rspec/rspec-core#3035)
|
|
3
60
|
|
|
4
61
|
### 3.12.1 / 2023-02-03
|
|
5
62
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.12.0...v3.12.1)
|
|
@@ -7,7 +64,7 @@
|
|
|
7
64
|
Bug fixes:
|
|
8
65
|
|
|
9
66
|
* Prevent multiple calls to `extra_failure_lines` from adding additional whitespace
|
|
10
|
-
around them when the lines already contain whitespace. (Jon Rowe, #3006)
|
|
67
|
+
around them when the lines already contain whitespace. (Jon Rowe, rspec/rspec-core#3006)
|
|
11
68
|
|
|
12
69
|
### 3.12.0 / 2022-10-26
|
|
13
70
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.11.0...v3.12.0)
|
|
@@ -19,26 +76,26 @@ Bug fixes:
|
|
|
19
76
|
|
|
20
77
|
Enhancements:
|
|
21
78
|
|
|
22
|
-
* Improve pluralisation of words ending with `s` (like process). (Joshua Pinter, #2779)
|
|
23
|
-
* Add ordering by file modification time (most recent first). (Matheus Richard, #2778)
|
|
24
|
-
* Add `to_s` to reserved names for #let and #subject. (Nick Flückiger, #2886)
|
|
79
|
+
* Improve pluralisation of words ending with `s` (like process). (Joshua Pinter, rspec/rspec-core#2779)
|
|
80
|
+
* Add ordering by file modification time (most recent first). (Matheus Richard, rspec/rspec-core#2778)
|
|
81
|
+
* Add `to_s` to reserved names for #let and #subject. (Nick Flückiger, rspec/rspec-core#2886)
|
|
25
82
|
* Introduce `RSpec.current_scope` to expose the current scope in which
|
|
26
|
-
RSpec is executing. e.g. `:before_example_hook`, `:example` etc. (@odinhb, #2895)
|
|
27
|
-
* Add named bold colours as options for custom colours. (#2913, #2914)
|
|
28
|
-
* Warn when (but not prevent) a `SystemExit` occurs. (Jared Beck, #2926)
|
|
83
|
+
RSpec is executing. e.g. `:before_example_hook`, `:example` etc. (@odinhb, rspec/rspec-core#2895)
|
|
84
|
+
* Add named bold colours as options for custom colours. (rspec/rspec-core#2913, rspec/rspec-core#2914)
|
|
85
|
+
* Warn when (but not prevent) a `SystemExit` occurs. (Jared Beck, rspec/rspec-core#2926)
|
|
29
86
|
|
|
30
87
|
### 3.10.2 / 2022-01-27
|
|
31
88
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.10.1...v3.10.2)
|
|
32
89
|
|
|
33
90
|
Bug fixes:
|
|
34
91
|
|
|
35
|
-
* Ensure bisect communication uses consistent encoding. (Mike Jarema, #2852)
|
|
92
|
+
* Ensure bisect communication uses consistent encoding. (Mike Jarema, rspec/rspec-core#2852)
|
|
36
93
|
* Fix exception presenter when the root cause exception has nil backtrace.
|
|
37
|
-
(Zinovyev Ivan, #2903)
|
|
94
|
+
(Zinovyev Ivan, rspec/rspec-core#2903)
|
|
38
95
|
* Fix `inspect` output of `RSpec::Core::Example::Procsy` to namespace correctly.
|
|
39
|
-
(Keiko Kaneko, #2915)
|
|
96
|
+
(Keiko Kaneko, rspec/rspec-core#2915)
|
|
40
97
|
* Ensure formatters not exposing `#output` will not crash duplicate check.
|
|
41
|
-
(@niceking, #2916)
|
|
98
|
+
(@niceking, rspec/rspec-core#2916)
|
|
42
99
|
|
|
43
100
|
### 3.10.1 / 2020-12-27
|
|
44
101
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.10.0...v3.10.1)
|
|
@@ -46,7 +103,7 @@ Bug fixes:
|
|
|
46
103
|
Bug fixes:
|
|
47
104
|
|
|
48
105
|
* RSpec warning output was missing deprecations from Ruby, these are now included.
|
|
49
|
-
(Jon Rowe, #2811)
|
|
106
|
+
(Jon Rowe, rspec/rspec-core#2811)
|
|
50
107
|
|
|
51
108
|
### 3.10.0 / 2020-10-30
|
|
52
109
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.9.3...v3.10.0)
|
|
@@ -54,26 +111,26 @@ Bug fixes:
|
|
|
54
111
|
Enhancements:
|
|
55
112
|
|
|
56
113
|
* Memoize `RSpec::Core::Formatters::ExceptionPresenter#exception_lines` to improve performance
|
|
57
|
-
with slow exception messages. (Maxime Lapointe, #2743)
|
|
114
|
+
with slow exception messages. (Maxime Lapointe, rspec/rspec-core#2743)
|
|
58
115
|
* Add configuration for an error exit code (to disambiguate errored builds from failed builds
|
|
59
|
-
by exit status). (Dana Sherson, #2749)
|
|
116
|
+
by exit status). (Dana Sherson, rspec/rspec-core#2749)
|
|
60
117
|
|
|
61
118
|
### 3.9.3 / 2020-09-30
|
|
62
119
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.9.2...v3.9.3)
|
|
63
120
|
|
|
64
121
|
Bug Fixes:
|
|
65
122
|
|
|
66
|
-
* Declare `ruby2_keywords` on `method_missing` for other gems. (Jon Rowe, #2731)
|
|
67
|
-
* Ensure custom error codes are returned from bisect runs. (Jon Rowe, #2732)
|
|
123
|
+
* Declare `ruby2_keywords` on `method_missing` for other gems. (Jon Rowe, rspec/rspec-core#2731)
|
|
124
|
+
* Ensure custom error codes are returned from bisect runs. (Jon Rowe, rspec/rspec-core#2732)
|
|
68
125
|
* Ensure `RSpec::Core::Configuration` predicate config methods return booleans.
|
|
69
|
-
(Marc-André Lafortune, #2736)
|
|
126
|
+
(Marc-André Lafortune, rspec/rspec-core#2736)
|
|
70
127
|
* Prevent `rspec --bisect` from generating zombie processes while executing
|
|
71
|
-
bisect runs. (Benoit Tigeot, Jon Rowe, #2739)
|
|
128
|
+
bisect runs. (Benoit Tigeot, Jon Rowe, rspec/rspec-core#2739)
|
|
72
129
|
* Predicates for pending examples, (in `RSpec::Core::Example`, `#pending?`, `#skipped?` and
|
|
73
130
|
`#pending_fixed?`) now return boolean values rather than truthy values.
|
|
74
|
-
(Marc-André Lafortune, #2756, #2758)
|
|
131
|
+
(Marc-André Lafortune, rspec/rspec-core#2756, rspec/rspec-core#2758)
|
|
75
132
|
* Exceptions which have a message which cannot be cast to a string will no longer
|
|
76
|
-
cause a crash. (Jon Rowe, #2761)
|
|
133
|
+
cause a crash. (Jon Rowe, rspec/rspec-core#2761)
|
|
77
134
|
|
|
78
135
|
### 3.9.2 / 2020-05-02
|
|
79
136
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.9.1...v3.9.2)
|
|
@@ -81,14 +138,14 @@ Bug Fixes:
|
|
|
81
138
|
Bug Fixes:
|
|
82
139
|
|
|
83
140
|
* Emit a warning when `around` hook is used with `:context` scope
|
|
84
|
-
(Phil Pirozhkov, #2687)
|
|
141
|
+
(Phil Pirozhkov, rspec/rspec-core#2687)
|
|
85
142
|
* Prevent invalid implementations of `Exception#cause` from being treated as a
|
|
86
143
|
valid cause (and causing strange errors) in `RSpec::Core::Formatters::ExceptionPresenter`.
|
|
87
|
-
(Jon Rowe, #2703)
|
|
144
|
+
(Jon Rowe, rspec/rspec-core#2703)
|
|
88
145
|
* Correctly detect patterns when `rspec_opts` is an array in `RSpec::Core::RakeTask`.
|
|
89
|
-
(Marc-André Lafortune, #2704)
|
|
146
|
+
(Marc-André Lafortune, rspec/rspec-core#2704)
|
|
90
147
|
* Make `RSpec.clear_examples` reset example counts for example groups. This fixes
|
|
91
|
-
an issue with re-running specs not matching ids. (Agis Anastasopoulos, #2723)
|
|
148
|
+
an issue with re-running specs not matching ids. (Agis Anastasopoulos, rspec/rspec-core#2723)
|
|
92
149
|
|
|
93
150
|
### 3.9.1 / 2019-12-28
|
|
94
151
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.9.0...v3.9.1)
|
|
@@ -96,8 +153,8 @@ Bug Fixes:
|
|
|
96
153
|
Bug Fixes:
|
|
97
154
|
|
|
98
155
|
* Prevent bisect command from blocking when number of specs exceeds file
|
|
99
|
-
descriptor limit on OSX or Linux. (Benoit Tigeot, #2669)
|
|
100
|
-
* Prevent warnings being issued on Ruby 2.7.0. (Jon Rowe, #2680)
|
|
156
|
+
descriptor limit on OSX or Linux. (Benoit Tigeot, rspec/rspec-core#2669)
|
|
157
|
+
* Prevent warnings being issued on Ruby 2.7.0. (Jon Rowe, rspec/rspec-core#2680)
|
|
101
158
|
|
|
102
159
|
### 3.9.0 / 2019-10-07
|
|
103
160
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.8.2...v3.9.0)
|
|
@@ -106,21 +163,21 @@ Enhancements:
|
|
|
106
163
|
|
|
107
164
|
* Improve the handling of errors during loading support files, if a file
|
|
108
165
|
errors before loading specs, RSpec will now skip loading the specs.
|
|
109
|
-
(David Rodríguez, #2568)
|
|
166
|
+
(David Rodríguez, rspec/rspec-core#2568)
|
|
110
167
|
* Add support for --example-matches to run examples by regular expression.
|
|
111
|
-
(Sam Joseph, Matt Rider, @okothkongo1, #2586)
|
|
168
|
+
(Sam Joseph, Matt Rider, @okothkongo1, rspec/rspec-core#2586)
|
|
112
169
|
* Add `did_you_mean` suggestions for file names encountering a `LoadError`
|
|
113
|
-
outside of examples. (@obromios, #2601)
|
|
170
|
+
outside of examples. (@obromios, rspec/rspec-core#2601)
|
|
114
171
|
* Add a minimalist quick fix style formatter, only outputs failures as
|
|
115
|
-
`file:line:message`. (Romain Tartière, #2614)
|
|
172
|
+
`file:line:message`. (Romain Tartière, rspec/rspec-core#2614)
|
|
116
173
|
* Convert string number values to integer when used for `RSpec::Configuration#fail_fast`
|
|
117
|
-
(Viktor Fonic, #2634)
|
|
174
|
+
(Viktor Fonic, rspec/rspec-core#2634)
|
|
118
175
|
* Issue warning when invalid values are used for `RSpec::Configuration#fail_fast`
|
|
119
|
-
(Viktor Fonic, #2634)
|
|
176
|
+
(Viktor Fonic, rspec/rspec-core#2634)
|
|
120
177
|
* Add support for running the Rake task in a clean environment.
|
|
121
|
-
(Jon Rowe, #2632)
|
|
178
|
+
(Jon Rowe, rspec/rspec-core#2632)
|
|
122
179
|
* Indent messages by there example group / example in the documentation formatter.
|
|
123
|
-
(Samuel Williams, #2649)
|
|
180
|
+
(Samuel Williams, rspec/rspec-core#2649)
|
|
124
181
|
|
|
125
182
|
### 3.8.2 / 2019-06-29
|
|
126
183
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.8.1...v3.8.2)
|
|
@@ -129,7 +186,7 @@ Bug Fixes:
|
|
|
129
186
|
|
|
130
187
|
* Fix `config.define_derived_metadata` so that cascades are not triggered
|
|
131
188
|
until metadata has been assigned to the example or example group
|
|
132
|
-
(Myron Marston, #2635).
|
|
189
|
+
(Myron Marston, rspec/rspec-core#2635).
|
|
133
190
|
|
|
134
191
|
### 3.8.1 / 2019-06-13
|
|
135
192
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.8.0...v3.8.1)
|
|
@@ -137,12 +194,12 @@ Bug Fixes:
|
|
|
137
194
|
Bug Fixes:
|
|
138
195
|
|
|
139
196
|
* Handle RSpec description(s) with japanese chars in CP932 encoded files.
|
|
140
|
-
(Benoit Tigeot, #2575)
|
|
197
|
+
(Benoit Tigeot, rspec/rspec-core#2575)
|
|
141
198
|
* When defining `let` methods that overwrite an existing method, prevent
|
|
142
|
-
a warning being issued by removing the old definition. (Jon Rowe, #2593)
|
|
143
|
-
* Prevent warning on Ruby 2.6.0-rc1 (Keiji Yoshimi, #2582)
|
|
199
|
+
a warning being issued by removing the old definition. (Jon Rowe, rspec/rspec-core#2593)
|
|
200
|
+
* Prevent warning on Ruby 2.6.0-rc1 (Keiji Yoshimi, rspec/rspec-core#2582)
|
|
144
201
|
* Fix `config.define_derived_metadata` so that it supports cascades.
|
|
145
|
-
(Myron Marston, #2630).
|
|
202
|
+
(Myron Marston, rspec/rspec-core#2630).
|
|
146
203
|
|
|
147
204
|
### 3.8.0 / 2018-08-04
|
|
148
205
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.7.1...v3.8.0)
|
|
@@ -150,28 +207,28 @@ Bug Fixes:
|
|
|
150
207
|
Enhancements:
|
|
151
208
|
|
|
152
209
|
* Improve shell escaping used by `RSpec::Core::RakeTask` and `--bisect` so
|
|
153
|
-
that it works on `Pathname` objects. (Andrew Vit, #2479)
|
|
210
|
+
that it works on `Pathname` objects. (Andrew Vit, rspec/rspec-core#2479)
|
|
154
211
|
* Nicely format errors encountered while loading files specified
|
|
155
|
-
by `--require` option. (Myron Marston, #2504)
|
|
212
|
+
by `--require` option. (Myron Marston, rspec/rspec-core#2504)
|
|
156
213
|
* Significantly improve the performance of `--bisect` on platforms that
|
|
157
214
|
support forking by replacing the shell-based runner with one that uses
|
|
158
215
|
forking so that RSpec and the application environment can be booted only
|
|
159
|
-
once, instead of once per spec run. (Myron Marston, #2511)
|
|
216
|
+
once, instead of once per spec run. (Myron Marston, rspec/rspec-core#2511)
|
|
160
217
|
* Provide a configuration API to pick which bisect runner is used for
|
|
161
218
|
`--bisect`. Pick a runner via `config.bisect_runner = :shell` or
|
|
162
219
|
`config.bisect_runner = :fork` in a file loaded by a `--require`
|
|
163
|
-
option passed at the command line or set in `.rspec`. (Myron Marston, #2511)
|
|
220
|
+
option passed at the command line or set in `.rspec`. (Myron Marston, rspec/rspec-core#2511)
|
|
164
221
|
* Support the [XDG Base Directory
|
|
165
222
|
Specification](https://specifications.freedesktop.org/basedir-spec/latest/)
|
|
166
223
|
for the global options file. `~/.rspec` is still supported when no
|
|
167
|
-
options file is found in `$XDG_CONFIG_HOME/rspec/options` (Magnus Bergmark, #2538)
|
|
224
|
+
options file is found in `$XDG_CONFIG_HOME/rspec/options` (Magnus Bergmark, rspec/rspec-core#2538)
|
|
168
225
|
* Extract `RSpec.world.prepare_example_filtering` that sets up the
|
|
169
|
-
example filtering for custom RSpec runners. (Oleg Pudeyev, #2552)
|
|
226
|
+
example filtering for custom RSpec runners. (Oleg Pudeyev, rspec/rspec-core#2552)
|
|
170
227
|
|
|
171
228
|
Bug Fixes:
|
|
172
229
|
|
|
173
230
|
* Prevent an `ArgumentError` when truncating backtraces with two identical
|
|
174
|
-
backtraces. (Systho, #2515, Benoit Tigeot, #2539)
|
|
231
|
+
backtraces. (Systho, rspec/rspec-core#2515, Benoit Tigeot, rspec/rspec-core#2539)
|
|
175
232
|
|
|
176
233
|
### 3.7.1 / 2018-01-02
|
|
177
234
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.7.0...v3.7.1)
|
|
@@ -179,52 +236,52 @@ Bug Fixes:
|
|
|
179
236
|
Bug Fixes:
|
|
180
237
|
|
|
181
238
|
* Work around duplicate config hook regression introduced
|
|
182
|
-
by Ruby 2.5's lazy proc allocation. (Myron Marston, #2497)
|
|
239
|
+
by Ruby 2.5's lazy proc allocation. (Myron Marston, rspec/rspec-core#2497)
|
|
183
240
|
|
|
184
241
|
### 3.7.0 / 2017-10-17
|
|
185
242
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.6.0...v3.7.0)
|
|
186
243
|
|
|
187
244
|
Enhancements:
|
|
188
245
|
|
|
189
|
-
* Add `-n` alias for `--next-failure`. (Ian Ker-Seymer, #2434)
|
|
246
|
+
* Add `-n` alias for `--next-failure`. (Ian Ker-Seymer, rspec/rspec-core#2434)
|
|
190
247
|
* Improve compatibility with `--enable-frozen-string-literal` option
|
|
191
|
-
on Ruby 2.3+. (Pat Allan, #2425, #2427, #2437)
|
|
248
|
+
on Ruby 2.3+. (Pat Allan, rspec/rspec-core#2425, rspec/rspec-core#2427, rspec/rspec-core#2437)
|
|
192
249
|
* Do not run `:context` hooks for example groups that have been skipped.
|
|
193
|
-
(Devon Estes, #2442)
|
|
250
|
+
(Devon Estes, rspec/rspec-core#2442)
|
|
194
251
|
* Add `errors_outside_of_examples_count` to the JSON formatter.
|
|
195
|
-
(Takeshi Arabiki, #2448)
|
|
252
|
+
(Takeshi Arabiki, rspec/rspec-core#2448)
|
|
196
253
|
|
|
197
254
|
Bug Fixes:
|
|
198
255
|
|
|
199
|
-
* Improve compatibility with frozen string literal flag. (#2425, Pat Allan)
|
|
256
|
+
* Improve compatibility with frozen string literal flag. (rspec/rspec-core#2425, Pat Allan)
|
|
200
257
|
|
|
201
258
|
### 3.6.0 / 2017-05-04
|
|
202
259
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.6.0.beta2...v3.6.0)
|
|
203
260
|
|
|
204
261
|
Enhancements:
|
|
205
262
|
|
|
206
|
-
* Add seed information to JSON formatter output. (#2388, Mitsutaka Mimura)
|
|
207
|
-
* Include example id in the JSON formatter output. (#2369, Xavier Shay)
|
|
263
|
+
* Add seed information to JSON formatter output. (rspec/rspec-core#2388, Mitsutaka Mimura)
|
|
264
|
+
* Include example id in the JSON formatter output. (rspec/rspec-core#2369, Xavier Shay)
|
|
208
265
|
* Respect changes to `config.output_stream` after formatters have been
|
|
209
|
-
setup. (#2401, #2419, Ilya Lavrov)
|
|
266
|
+
setup. (rspec/rspec-core#2401, rspec/rspec-core#2419, Ilya Lavrov)
|
|
210
267
|
|
|
211
268
|
Bug Fixes:
|
|
212
269
|
|
|
213
270
|
* Delay formatter loading until the last minute to allow accessing the reporter
|
|
214
|
-
without triggering formatter setup. (Jon Rowe, #2243)
|
|
271
|
+
without triggering formatter setup. (Jon Rowe, rspec/rspec-core#2243)
|
|
215
272
|
* Ensure context hook failures running before an example can access the
|
|
216
|
-
reporter. (Jon Jensen, #2387)
|
|
273
|
+
reporter. (Jon Jensen, rspec/rspec-core#2387)
|
|
217
274
|
* Multiple fixes to allow using the runner multiple times within the same
|
|
218
275
|
process: `RSpec.clear_examples` resets the formatter and no longer clears
|
|
219
276
|
shared examples, and streams can be used across multiple runs rather than
|
|
220
|
-
being closed after the first. (#2368, Xavier Shay)
|
|
277
|
+
being closed after the first. (rspec/rspec-core#2368, Xavier Shay)
|
|
221
278
|
* Prevent unexpected `example_group_finished` notifications causing an error.
|
|
222
|
-
(#2396, VTJamie)
|
|
279
|
+
(rspec/rspec-core#2396, VTJamie)
|
|
223
280
|
* Fix bugs where `config.when_first_matching_example_defined` hooks would fire
|
|
224
|
-
multiple times in some cases. (Yuji Nakayama, #2400)
|
|
281
|
+
multiple times in some cases. (Yuji Nakayama, rspec/rspec-core#2400)
|
|
225
282
|
* Default `last_run_status` to "unknown" when the `status` field in the
|
|
226
|
-
persistence file contains an unrecognized value. (#2360, matrinox)
|
|
227
|
-
* Prevent `let` from defining an `initialize` method. (#2414, Jon Rowe)
|
|
283
|
+
persistence file contains an unrecognized value. (rspec/rspec-core#2360, matrinox)
|
|
284
|
+
* Prevent `let` from defining an `initialize` method. (rspec/rspec-core#2414, Jon Rowe)
|
|
228
285
|
|
|
229
286
|
### 3.6.0.beta2 / 2016-12-12
|
|
230
287
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.6.0.beta1...v3.6.0.beta2)
|
|
@@ -232,10 +289,10 @@ Bug Fixes:
|
|
|
232
289
|
Enhancements:
|
|
233
290
|
|
|
234
291
|
* Include count of errors occurring outside examples in default summaries.
|
|
235
|
-
(#2351, Jon Rowe)
|
|
236
|
-
* Warn when including shared example groups recursively. (#2356, Jon Rowe)
|
|
292
|
+
(rspec/rspec-core#2351, Jon Rowe)
|
|
293
|
+
* Warn when including shared example groups recursively. (rspec/rspec-core#2356, Jon Rowe)
|
|
237
294
|
* Improve failure snippet syntax highlighting with CodeRay to highlight
|
|
238
|
-
RSpec "keywords" like `expect`. (#2358, Myron Marston)
|
|
295
|
+
RSpec "keywords" like `expect`. (rspec/rspec-core#2358, Myron Marston)
|
|
239
296
|
|
|
240
297
|
### 3.6.0.beta1 / 2016-10-09
|
|
241
298
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.4...v3.6.0.beta1)
|
|
@@ -243,18 +300,18 @@ Enhancements:
|
|
|
243
300
|
Enhancements:
|
|
244
301
|
|
|
245
302
|
* Warn when duplicate shared examples definitions are loaded due to being
|
|
246
|
-
defined in files matching the spec pattern (e.g. `_spec.rb`) (#2278, Devon Estes)
|
|
303
|
+
defined in files matching the spec pattern (e.g. `_spec.rb`) (rspec/rspec-core#2278, Devon Estes)
|
|
247
304
|
* Improve metadata filtering so that it can match against any object
|
|
248
305
|
that implements `===` instead of treating regular expressions as
|
|
249
|
-
special. (Myron Marston, #2294)
|
|
306
|
+
special. (Myron Marston, rspec/rspec-core#2294)
|
|
250
307
|
* Improve `rspec -v` so that it prints out the versions of each part of
|
|
251
|
-
RSpec to prevent confusion. (Myron Marston, #2304)
|
|
308
|
+
RSpec to prevent confusion. (Myron Marston, rspec/rspec-core#2304)
|
|
252
309
|
* Add `config.fail_if_no_examples` option which causes RSpec to fail if
|
|
253
|
-
no examples are found. (Ewa Czechowska, #2302)
|
|
310
|
+
no examples are found. (Ewa Czechowska, rspec/rspec-core#2302)
|
|
254
311
|
* Nicely format errors encountered while loading spec files.
|
|
255
|
-
(Myron Marston, #2323)
|
|
312
|
+
(Myron Marston, rspec/rspec-core#2323)
|
|
256
313
|
* Improve the API for enabling and disabling color output (Josh
|
|
257
|
-
Justice, #2321):
|
|
314
|
+
Justice, rspec/rspec-core#2321):
|
|
258
315
|
* Automatically enable color if the output is a TTY, since color is
|
|
259
316
|
nearly always desirable if the output can handle it.
|
|
260
317
|
* Introduce new CLI flag to force color on (`--force-color`), even
|
|
@@ -269,7 +326,7 @@ Enhancements:
|
|
|
269
326
|
Bug Fixes:
|
|
270
327
|
|
|
271
328
|
* Remove accumulated `ExampleGroup` constants when reseting RSpec,
|
|
272
|
-
preventing a memory leak. (TravisSpangle, #2328)
|
|
329
|
+
preventing a memory leak. (TravisSpangle, rspec/rspec-core#2328)
|
|
273
330
|
|
|
274
331
|
### 3.5.3 / 2016-09-02
|
|
275
332
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.2...v3.5.3)
|
|
@@ -279,11 +336,11 @@ Bug Fixes:
|
|
|
279
336
|
* When applying shared group metadata to a host group, overwrite
|
|
280
337
|
conflicting keys if the value in the host group was inherited from
|
|
281
338
|
a parent group instead of being specified at that level.
|
|
282
|
-
(Myron Marston, #2307)
|
|
339
|
+
(Myron Marston, rspec/rspec-core#2307)
|
|
283
340
|
* Handle errors in `:suite` hooks and provide the same nicely formatted
|
|
284
|
-
output as errors that happen in examples. (Myron Marston, #2316)
|
|
341
|
+
output as errors that happen in examples. (Myron Marston, rspec/rspec-core#2316)
|
|
285
342
|
* Set the exit status to non-zero when an error occurs in an
|
|
286
|
-
`after(:context)` hook. (Myron Marston, #2320)
|
|
343
|
+
`after(:context)` hook. (Myron Marston, rspec/rspec-core#2320)
|
|
287
344
|
|
|
288
345
|
### 3.5.2 / 2016-07-28
|
|
289
346
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.1...v3.5.2)
|
|
@@ -291,11 +348,11 @@ Bug Fixes:
|
|
|
291
348
|
Bug Fixes:
|
|
292
349
|
|
|
293
350
|
* Wait to report `example_finished` until the example's `execution_result`
|
|
294
|
-
has been completely filled in. (Myron Marston, #2291)
|
|
351
|
+
has been completely filled in. (Myron Marston, rspec/rspec-core#2291)
|
|
295
352
|
* Make sure example block is still available when using `duplicate_with`
|
|
296
|
-
to clone examples. (bootstraponline, #2298)
|
|
353
|
+
to clone examples. (bootstraponline, rspec/rspec-core#2298)
|
|
297
354
|
* Don't include the default `--pattern` in the Rake task when
|
|
298
|
-
`rspec_opts` specifies its own. (Jon Rowe, #2305)
|
|
355
|
+
`rspec_opts` specifies its own. (Jon Rowe, rspec/rspec-core#2305)
|
|
299
356
|
|
|
300
357
|
### 3.5.1 / 2016-07-06
|
|
301
358
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.0...v3.5.1)
|
|
@@ -303,7 +360,7 @@ Bug Fixes:
|
|
|
303
360
|
Bug Fixes:
|
|
304
361
|
|
|
305
362
|
* Ensure that config hooks that are added to existing example groups are
|
|
306
|
-
added only once. (Eugene Kenny, #2280)
|
|
363
|
+
added only once. (Eugene Kenny, rspec/rspec-core#2280)
|
|
307
364
|
|
|
308
365
|
### 3.5.0 / 2016-07-01
|
|
309
366
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.0.beta4...v3.5.0)
|
|
@@ -311,12 +368,12 @@ Bug Fixes:
|
|
|
311
368
|
Enhancements:
|
|
312
369
|
|
|
313
370
|
* Include any `SPEC_OPTS` in reproduction command printed at the end of
|
|
314
|
-
a bisect run. (Simon Coffey, #2274)
|
|
371
|
+
a bisect run. (Simon Coffey, rspec/rspec-core#2274)
|
|
315
372
|
|
|
316
373
|
Bug Fixes:
|
|
317
374
|
|
|
318
375
|
* Handle `--bisect` in `SPEC_OPTS` environment variable correctly so as
|
|
319
|
-
to avoid infinite recursion. (Simon Coffey, #2271)
|
|
376
|
+
to avoid infinite recursion. (Simon Coffey, rspec/rspec-core#2271)
|
|
320
377
|
|
|
321
378
|
### 3.5.0.beta4 / 2016-06-05
|
|
322
379
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.0.beta3...v3.5.0.beta4)
|
|
@@ -325,30 +382,30 @@ Enhancements:
|
|
|
325
382
|
|
|
326
383
|
* Filter out bundler stackframes from backtraces by default, since
|
|
327
384
|
Bundler 1.12 now includes its own frames in stack traces produced
|
|
328
|
-
by using `bundle exec`. (Myron Marston, #2240)
|
|
385
|
+
by using `bundle exec`. (Myron Marston, rspec/rspec-core#2240)
|
|
329
386
|
* HTML Formatter uses exception presenter to get failure message
|
|
330
|
-
for consistency with other formatters. (@mrageh, #2222)
|
|
387
|
+
for consistency with other formatters. (@mrageh, rspec/rspec-core#2222)
|
|
331
388
|
* Load spec files in the order of the directories or files passed
|
|
332
389
|
at the command line, making it easy to make some specs run before
|
|
333
390
|
others in a one-off manner. For example, `rspec spec/unit
|
|
334
391
|
spec/acceptance --order defined` will run unit specs before acceptance
|
|
335
|
-
specs. (Myron Marston, #2253)
|
|
392
|
+
specs. (Myron Marston, rspec/rspec-core#2253)
|
|
336
393
|
* Add new `config.include_context` API for configuring global or
|
|
337
394
|
filtered inclusion of shared contexts in example groups.
|
|
338
|
-
(Myron Marston, #2256)
|
|
395
|
+
(Myron Marston, rspec/rspec-core#2256)
|
|
339
396
|
* Add new `config.shared_context_metadata_behavior = :apply_to_host_groups`
|
|
340
397
|
option, which causes shared context metadata to be inherited by the
|
|
341
398
|
metadata hash of all host groups and examples instead of configuring
|
|
342
|
-
implicit auto-inclusion based on the passed metadata. (Myron Marston, #2256)
|
|
399
|
+
implicit auto-inclusion based on the passed metadata. (Myron Marston, rspec/rspec-core#2256)
|
|
343
400
|
|
|
344
401
|
Bug Fixes:
|
|
345
402
|
|
|
346
403
|
* Fix `--bisect` so it works on large spec suites that were previously triggering
|
|
347
404
|
"Argument list too long errors" due to all the spec locations being passed as
|
|
348
|
-
CLI args. (Matt Jones, #2223).
|
|
405
|
+
CLI args. (Matt Jones, rspec/rspec-core#2223).
|
|
349
406
|
* Fix deprecated `:example_group`-based filtering so that it properly
|
|
350
|
-
applies to matching example groups. (Myron Marston, #2234)
|
|
351
|
-
* Fix `NoMethodError` caused by Java backtraces on JRuby. (Michele Piccirillo, #2244)
|
|
407
|
+
applies to matching example groups. (Myron Marston, rspec/rspec-core#2234)
|
|
408
|
+
* Fix `NoMethodError` caused by Java backtraces on JRuby. (Michele Piccirillo, rspec/rspec-core#2244)
|
|
352
409
|
|
|
353
410
|
### 3.5.0.beta3 / 2016-04-02
|
|
354
411
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.0.beta2...v3.5.0.beta3)
|
|
@@ -357,15 +414,15 @@ Enhancements:
|
|
|
357
414
|
|
|
358
415
|
* Add new `config.filter_run_when_matching` API, intended to replace
|
|
359
416
|
the combination of `config.filter_run` and
|
|
360
|
-
`config.run_all_when_everything_filtered` (Myron Marston, #2206)
|
|
417
|
+
`config.run_all_when_everything_filtered` (Myron Marston, rspec/rspec-core#2206)
|
|
361
418
|
|
|
362
419
|
Bug Fixes:
|
|
363
420
|
|
|
364
|
-
* Use the encoded string logic for source extraction. (Jon Rowe, #2183)
|
|
365
|
-
* Fix rounding issue in duration formatting helper. (Fabersky, Jon Rowe, #2208)
|
|
421
|
+
* Use the encoded string logic for source extraction. (Jon Rowe, rspec/rspec-core#2183)
|
|
422
|
+
* Fix rounding issue in duration formatting helper. (Fabersky, Jon Rowe, rspec/rspec-core#2208)
|
|
366
423
|
* Fix failure snippet extraction so that `def-end` snippets
|
|
367
424
|
ending with `end`-only line can be extracted properly.
|
|
368
|
-
(Yuji Nakayama, #2215)
|
|
425
|
+
(Yuji Nakayama, rspec/rspec-core#2215)
|
|
369
426
|
|
|
370
427
|
### 3.5.0.beta2 / 2016-03-10
|
|
371
428
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.5.0.beta1...v3.5.0.beta2)
|
|
@@ -373,13 +430,13 @@ Bug Fixes:
|
|
|
373
430
|
Enhancements:
|
|
374
431
|
|
|
375
432
|
* Remove unneeded `:execution_result` example group metadata, saving a
|
|
376
|
-
bit of memory. (Myron Marston, #2172)
|
|
433
|
+
bit of memory. (Myron Marston, rspec/rspec-core#2172)
|
|
377
434
|
* Apply hooks registered with `config` to previously defined groups.
|
|
378
|
-
(Myron Marston, #2189)
|
|
435
|
+
(Myron Marston, rspec/rspec-core#2189)
|
|
379
436
|
* `RSpec::Core::Configuration#reporter` is now public API under SemVer.
|
|
380
|
-
(Jon Rowe, #2193)
|
|
437
|
+
(Jon Rowe, rspec/rspec-core#2193)
|
|
381
438
|
* Add new `config.when_first_matching_example_defined` hook. (Myron
|
|
382
|
-
Marston, #2175)
|
|
439
|
+
Marston, rspec/rspec-core#2175)
|
|
383
440
|
|
|
384
441
|
### 3.5.0.beta1 / 2016-02-06
|
|
385
442
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.4.4...v3.5.0.beta1)
|
|
@@ -387,12 +444,12 @@ Enhancements:
|
|
|
387
444
|
Enhancements:
|
|
388
445
|
|
|
389
446
|
* Add `RSpec::Core::ExampleGroup.currently_executing_a_context_hook?`,
|
|
390
|
-
primarily for use by rspec-rails. (Sam Phippen, #2131)
|
|
447
|
+
primarily for use by rspec-rails. (Sam Phippen, rspec/rspec-core#2131)
|
|
391
448
|
|
|
392
449
|
Bug Fixes:
|
|
393
450
|
|
|
394
451
|
* Ensure `MultipleExceptionError` does not contain a recursive reference
|
|
395
|
-
to itself. (Sam Phippen, #2133)
|
|
452
|
+
to itself. (Sam Phippen, rspec/rspec-core#2133)
|
|
396
453
|
|
|
397
454
|
### 3.4.4 / 2016-03-09
|
|
398
455
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.4.3...v3.4.4)
|
|
@@ -400,7 +457,7 @@ Bug Fixes:
|
|
|
400
457
|
Bug Fixes:
|
|
401
458
|
|
|
402
459
|
* Fix `RSpec::Core::RakeTask` so that it works with Rake 11.
|
|
403
|
-
(Travis Grathwell, #2197)
|
|
460
|
+
(Travis Grathwell, rspec/rspec-core#2197)
|
|
404
461
|
|
|
405
462
|
### 3.4.3 / 2016-02-19
|
|
406
463
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.4.2...v3.4.3)
|
|
@@ -408,15 +465,15 @@ Bug Fixes:
|
|
|
408
465
|
Bug Fixes:
|
|
409
466
|
|
|
410
467
|
* Prevent a `TypeError` from occurring when running via the rake task when
|
|
411
|
-
Ruby crashes. (Patrik Wenger, #2161)
|
|
468
|
+
Ruby crashes. (Patrik Wenger, rspec/rspec-core#2161)
|
|
412
469
|
* Only consider example and group declaration lines from a specific file
|
|
413
470
|
when applying line number filtering, instead of considering all
|
|
414
|
-
declaration lines from all spec files. (Myron Marston, #2170)
|
|
471
|
+
declaration lines from all spec files. (Myron Marston, rspec/rspec-core#2170)
|
|
415
472
|
* Fix failure snippet extraction so that snippets that contain `do-end` style
|
|
416
473
|
block and end with `end`-only line can be extracted properly.
|
|
417
|
-
(Yuji Nakayama, #2173)
|
|
474
|
+
(Yuji Nakayama, rspec/rspec-core#2173)
|
|
418
475
|
* Prevent infinite recursion when an exception is caused by itself.
|
|
419
|
-
(Jon Rowe, #2128)
|
|
476
|
+
(Jon Rowe, rspec/rspec-core#2128)
|
|
420
477
|
|
|
421
478
|
### 3.4.2 / 2016-01-26
|
|
422
479
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.4.1...v3.4.2)
|
|
@@ -424,13 +481,13 @@ Bug Fixes:
|
|
|
424
481
|
Bug Fixes:
|
|
425
482
|
|
|
426
483
|
* Fix `rspec --profile` when an example calls `abort` or `exit`.
|
|
427
|
-
(Bradley Schaefer, #2144)
|
|
484
|
+
(Bradley Schaefer, rspec/rspec-core#2144)
|
|
428
485
|
* Fix `--drb` so that when no DRb server is running, it prevents
|
|
429
486
|
the DRb connection error from being listed as the cause of all
|
|
430
|
-
expectation failures. (Myron Marston, #2156)
|
|
487
|
+
expectation failures. (Myron Marston, rspec/rspec-core#2156)
|
|
431
488
|
* Fix syntax highlighter so that it works when the `coderay` gem is
|
|
432
489
|
installed as a rubygem but not already available on your load path
|
|
433
|
-
(as happens when you use bundler). (Myron Marston, #2159)
|
|
490
|
+
(as happens when you use bundler). (Myron Marston, rspec/rspec-core#2159)
|
|
434
491
|
|
|
435
492
|
### 3.4.1 / 2015-11-18
|
|
436
493
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.4.0...v3.4.1)
|
|
@@ -438,7 +495,7 @@ Bug Fixes:
|
|
|
438
495
|
Bug Fixes:
|
|
439
496
|
|
|
440
497
|
* Fix backtrace formatter to handle backtraces that are `nil`.
|
|
441
|
-
(Myron Marston, #2118)
|
|
498
|
+
(Myron Marston, rspec/rspec-core#2118)
|
|
442
499
|
|
|
443
500
|
### 3.4.0 / 2015-11-11
|
|
444
501
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.3.2...v3.4.0)
|
|
@@ -446,68 +503,68 @@ Bug Fixes:
|
|
|
446
503
|
Enhancements:
|
|
447
504
|
|
|
448
505
|
* Combine multiple `--pattern` arguments making them equivalent to
|
|
449
|
-
`--pattern=1,2,...,n`. (Jon Rowe, #2002)
|
|
506
|
+
`--pattern=1,2,...,n`. (Jon Rowe, rspec/rspec-core#2002)
|
|
450
507
|
* Improve `inspect` and `to_s` output for `RSpec::Core::Example`
|
|
451
|
-
objects, replacing Ruby's excessively verbose output. (Gavin Miller, #1922)
|
|
508
|
+
objects, replacing Ruby's excessively verbose output. (Gavin Miller, rspec/rspec-core#1922)
|
|
452
509
|
* Add `silence_filter_announcements` configuration option.
|
|
453
|
-
(David Raffensperger, #2007)
|
|
510
|
+
(David Raffensperger, rspec/rspec-core#2007)
|
|
454
511
|
* Add optional `example_finished` notification to the reporter protocol for
|
|
455
|
-
when you don't care about the example outcome. (Jon Rowe, #2013)
|
|
512
|
+
when you don't care about the example outcome. (Jon Rowe, rspec/rspec-core#2013)
|
|
456
513
|
* Switch `--bisect` to a recursion-based bisection algorithm rather than
|
|
457
514
|
a permutation-based one. This better handles cases where an example
|
|
458
515
|
depends upon multiple other examples instead of just one and minimizes
|
|
459
516
|
the number of runs necessary to determine that an example set cannot be
|
|
460
|
-
minimized further. (Simon Coffey, #1997)
|
|
517
|
+
minimized further. (Simon Coffey, rspec/rspec-core#1997)
|
|
461
518
|
* Allow simple filters (e.g. `:symbol` key only) to be triggered by truthey
|
|
462
|
-
values. (Tim Mertens, #2035)
|
|
519
|
+
values. (Tim Mertens, rspec/rspec-core#2035)
|
|
463
520
|
* Remove unneeded warning about need for `ansicon` on Windows when using
|
|
464
|
-
RSpec's `--color` option. (Ashley Engelund, #2038)
|
|
521
|
+
RSpec's `--color` option. (Ashley Engelund, rspec/rspec-core#2038)
|
|
465
522
|
* Add option to configure RSpec to raise errors when issuing warnings.
|
|
466
|
-
(Jon Rowe, #2052)
|
|
523
|
+
(Jon Rowe, rspec/rspec-core#2052)
|
|
467
524
|
* Append the root `cause` of a failure or error to the printed failure
|
|
468
525
|
output when a `cause` is available. (Adam Magan)
|
|
469
526
|
* Stop rescuing `NoMemoryError`, `SignalExcepetion`, `Interrupt` and
|
|
470
|
-
`SystemExit`. It is dangerous to interfere with these. (Myron Marston, #2063)
|
|
527
|
+
`SystemExit`. It is dangerous to interfere with these. (Myron Marston, rspec/rspec-core#2063)
|
|
471
528
|
* Add `config.project_source_dirs` setting which RSpec uses to determine
|
|
472
529
|
if a backtrace line comes from your project source or from some
|
|
473
530
|
external library. It defaults to `spec`, `lib` and `app` but can be
|
|
474
|
-
configured differently. (Myron Marston, #2088)
|
|
531
|
+
configured differently. (Myron Marston, rspec/rspec-core#2088)
|
|
475
532
|
* Improve failure line detection so that it looks for the failure line
|
|
476
533
|
in any project source directory instead of just in the spec file.
|
|
477
534
|
In addition, if no backtrace lines can be found from a project source
|
|
478
535
|
file, we fall back to displaying the source of the first backtrace
|
|
479
536
|
line. This should virtually eliminate the "Unable to find matching
|
|
480
|
-
line from backtrace" messages. (Myron Marston, #2088)
|
|
537
|
+
line from backtrace" messages. (Myron Marston, rspec/rspec-core#2088)
|
|
481
538
|
* Add support for `:extra_failure_lines` example metadata that will
|
|
482
|
-
be appended to the failure output. (bootstraponline, #2092).
|
|
539
|
+
be appended to the failure output. (bootstraponline, rspec/rspec-core#2092).
|
|
483
540
|
* Add `RSpec::Core::Example#duplicate_with` to produce new examples
|
|
484
|
-
with cloned metadata. (bootstraponline, #2098)
|
|
541
|
+
with cloned metadata. (bootstraponline, rspec/rspec-core#2098)
|
|
485
542
|
* Add `RSpec::Core::Configuration#on_example_group_definition` to register
|
|
486
|
-
hooks to be invoked when example groups are created. (bootstraponline, #2094)
|
|
543
|
+
hooks to be invoked when example groups are created. (bootstraponline, rspec/rspec-core#2094)
|
|
487
544
|
* Add `add_example` and `remove_example` to `RSpec::Core::ExampleGroup` to
|
|
488
|
-
allow manipulating an example groups examples. (bootstraponline, #2095)
|
|
545
|
+
allow manipulating an example groups examples. (bootstraponline, rspec/rspec-core#2095)
|
|
489
546
|
* Display multiline failure source lines in failure output when Ripper is
|
|
490
547
|
available (MRI >= 1.9.2, and JRuby >= 1.7.5 && < 9.0.0.0.rc1).
|
|
491
|
-
(Yuji Nakayama, #2083)
|
|
548
|
+
(Yuji Nakayama, rspec/rspec-core#2083)
|
|
492
549
|
* Add `max_displayed_failure_line_count` configuration option
|
|
493
|
-
(defaults to 10). (Yuji Nakayama, #2083)
|
|
550
|
+
(defaults to 10). (Yuji Nakayama, rspec/rspec-core#2083)
|
|
494
551
|
* Enhance `fail_fast` option so it can take a number (e.g. `--fail-fast=3`)
|
|
495
552
|
to force the run to abort after the specified number of failures.
|
|
496
|
-
(Jack Scotti, #2065)
|
|
553
|
+
(Jack Scotti, rspec/rspec-core#2065)
|
|
497
554
|
* Syntax highlight the failure snippets in text formatters when `color`
|
|
498
555
|
is enabled and the `coderay` gem is installed on a POSIX system.
|
|
499
|
-
(Myron Marston, #2109)
|
|
556
|
+
(Myron Marston, rspec/rspec-core#2109)
|
|
500
557
|
|
|
501
558
|
Bug Fixes:
|
|
502
559
|
|
|
503
560
|
* Lock `example_status_persistence_file` when reading from and writing
|
|
504
561
|
to it to prevent race conditions when multiple processes try to use
|
|
505
|
-
it. (Ben Woosley, #2029)
|
|
562
|
+
it. (Ben Woosley, rspec/rspec-core#2029)
|
|
506
563
|
* Fix regression in 3.3 that caused spec file names with square brackets in
|
|
507
|
-
them (such as `1[]_spec.rb`) to not be loaded properly. (Myron Marston, #2041)
|
|
508
|
-
* Fix output encoding issue caused by ASCII literal on 1.9.3 (Jon Rowe, #2072)
|
|
564
|
+
them (such as `1[]_spec.rb`) to not be loaded properly. (Myron Marston, rspec/rspec-core#2041)
|
|
565
|
+
* Fix output encoding issue caused by ASCII literal on 1.9.3 (Jon Rowe, rspec/rspec-core#2072)
|
|
509
566
|
* Fix requires in `rspec/core/rake_task.rb` to avoid double requires
|
|
510
|
-
seen by some users. (Myron Marston, #2101)
|
|
567
|
+
seen by some users. (Myron Marston, rspec/rspec-core#2101)
|
|
511
568
|
|
|
512
569
|
### 3.3.2 / 2015-07-15
|
|
513
570
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.3.1...v3.3.2)
|
|
@@ -515,9 +572,9 @@ Bug Fixes:
|
|
|
515
572
|
Bug Fixes:
|
|
516
573
|
|
|
517
574
|
* Fix formatters to handle exceptions for which `backtrace` returns `nil`.
|
|
518
|
-
(Myron Marston, #2023)
|
|
575
|
+
(Myron Marston, rspec/rspec-core#2023)
|
|
519
576
|
* Fix duplicate formatter detection so that it allows subclasses of formatters
|
|
520
|
-
to be added. (Sebastián Tello, #2019)
|
|
577
|
+
to be added. (Sebastián Tello, rspec/rspec-core#2019)
|
|
521
578
|
|
|
522
579
|
### 3.3.1 / 2015-06-18
|
|
523
580
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.3.0...v3.3.1)
|
|
@@ -526,7 +583,7 @@ Bug Fixes:
|
|
|
526
583
|
|
|
527
584
|
* Correctly run `before(:suite)` (and friends) in the context of an example
|
|
528
585
|
group instance, thus making the expected RSpec environment available.
|
|
529
|
-
(Jon Rowe, #1986)
|
|
586
|
+
(Jon Rowe, rspec/rspec-core#1986)
|
|
530
587
|
|
|
531
588
|
### 3.3.0 / 2015-06-12
|
|
532
589
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.2.3...v3.3.0)
|
|
@@ -534,74 +591,74 @@ Bug Fixes:
|
|
|
534
591
|
Enhancements:
|
|
535
592
|
|
|
536
593
|
* Expose the reporter used to run examples via `RSpec::Core::Example#reporter`.
|
|
537
|
-
(Jon Rowe, #1866)
|
|
538
|
-
* Make `RSpec::Core::Reporter#message` a public supported API. (Jon Rowe, #1866)
|
|
594
|
+
(Jon Rowe, rspec/rspec-core#1866)
|
|
595
|
+
* Make `RSpec::Core::Reporter#message` a public supported API. (Jon Rowe, rspec/rspec-core#1866)
|
|
539
596
|
* Allow custom formatter events to be published via
|
|
540
|
-
`RSpec::Core::Reporter#publish(event_name, hash_of_attributes)`. (Jon Rowe, #1869)
|
|
597
|
+
`RSpec::Core::Reporter#publish(event_name, hash_of_attributes)`. (Jon Rowe, rspec/rspec-core#1869)
|
|
541
598
|
* Remove dependency on the standard library `Set` and replace with `RSpec::Core::Set`.
|
|
542
|
-
(Jon Rowe, #1870)
|
|
599
|
+
(Jon Rowe, rspec/rspec-core#1870)
|
|
543
600
|
* Assign a unique id to each example and group so that they can be
|
|
544
601
|
uniquely identified, even for shared examples (and similar situations)
|
|
545
|
-
where the location isn't unique. (Myron Marston, #1884)
|
|
602
|
+
where the location isn't unique. (Myron Marston, rspec/rspec-core#1884)
|
|
546
603
|
* Use the example id in the rerun command printed for failed examples
|
|
547
|
-
when the location is not unique. (Myron Marston, #1884)
|
|
604
|
+
when the location is not unique. (Myron Marston, rspec/rspec-core#1884)
|
|
548
605
|
* Add `config.example_status_persistence_file_path` option, which is
|
|
549
|
-
used to persist the last run status of each example. (Myron Marston, #1888)
|
|
606
|
+
used to persist the last run status of each example. (Myron Marston, rspec/rspec-core#1888)
|
|
550
607
|
* Add `:last_run_status` metadata to each example, which indicates what
|
|
551
|
-
happened the last time an example ran. (Myron Marston, #1888)
|
|
608
|
+
happened the last time an example ran. (Myron Marston, rspec/rspec-core#1888)
|
|
552
609
|
* Add `--only-failures` CLI option which filters to only the examples
|
|
553
|
-
that failed the last time they ran. (Myron Marston, #1888)
|
|
610
|
+
that failed the last time they ran. (Myron Marston, rspec/rspec-core#1888)
|
|
554
611
|
* Add `--next-failure` CLI option which allows you to repeatedly focus
|
|
555
612
|
on just one of the currently failing examples, then move on to the
|
|
556
|
-
next failure, etc. (Myron Marston, #1888)
|
|
613
|
+
next failure, etc. (Myron Marston, rspec/rspec-core#1888)
|
|
557
614
|
* Make `--order random` ordering stable, so that when you rerun a
|
|
558
615
|
subset with a given seed, the examples will be order consistently
|
|
559
|
-
relative to each other. (Myron Marston, #1908)
|
|
616
|
+
relative to each other. (Myron Marston, rspec/rspec-core#1908)
|
|
560
617
|
* Set example group constant earlier so errors when evaluating the context
|
|
561
|
-
include the example group name (Myron Marson, #1911)
|
|
562
|
-
* Make `let` and `subject` threadsafe. (Josh Cheek, #1858)
|
|
563
|
-
* Add version information into the JSON formatter. (Mark Swinson, #1883)
|
|
618
|
+
include the example group name (Myron Marson, rspec/rspec-core#1911)
|
|
619
|
+
* Make `let` and `subject` threadsafe. (Josh Cheek, rspec/rspec-core#1858)
|
|
620
|
+
* Add version information into the JSON formatter. (Mark Swinson, rspec/rspec-core#1883)
|
|
564
621
|
* Add `--bisect` CLI option, which will repeatedly run your suite in
|
|
565
622
|
order to isolate the failures to the smallest reproducible case.
|
|
566
|
-
(Myron Marston, #1917)
|
|
623
|
+
(Myron Marston, rspec/rspec-core#1917)
|
|
567
624
|
* For `config.include`, `config.extend` and `config.prepend`, apply the
|
|
568
|
-
module to previously defined matching example groups. (Eugene Kenny, #1935)
|
|
625
|
+
module to previously defined matching example groups. (Eugene Kenny, rspec/rspec-core#1935)
|
|
569
626
|
* When invalid options are parsed, notify users where they came from
|
|
570
627
|
(e.g. `.rspec` or `~/.rspec` or `ENV['SPEC_OPTS']`) so they can
|
|
571
|
-
easily find the source of the problem. (Myron Marston, #1940)
|
|
572
|
-
* Add pending message contents to the json formatter output. (Jon Rowe, #1949)
|
|
628
|
+
easily find the source of the problem. (Myron Marston, rspec/rspec-core#1940)
|
|
629
|
+
* Add pending message contents to the json formatter output. (Jon Rowe, rspec/rspec-core#1949)
|
|
573
630
|
* Add shared group backtrace to the output displayed by the built-in
|
|
574
|
-
formatters for pending examples that have been fixed. (Myron Marston, #1946)
|
|
631
|
+
formatters for pending examples that have been fixed. (Myron Marston, rspec/rspec-core#1946)
|
|
575
632
|
* Add support for `:aggregate_failures` metadata. Tag an example or
|
|
576
633
|
group with this metadata and it'll use rspec-expectations'
|
|
577
634
|
`aggregate_failures` feature to allow multiple failures in an example
|
|
578
635
|
and list them all, rather than aborting on the first failure. (Myron
|
|
579
|
-
Marston, #1946)
|
|
636
|
+
Marston, rspec/rspec-core#1946)
|
|
580
637
|
* When no formatter implements #message add a fallback to prevent those
|
|
581
|
-
messages being lost. (Jon Rowe, #1980)
|
|
638
|
+
messages being lost. (Jon Rowe, rspec/rspec-core#1980)
|
|
582
639
|
* Profiling examples now takes into account time spent in `before(:context)`
|
|
583
|
-
hooks. (Denis Laliberté, Jon Rowe, #1971)
|
|
640
|
+
hooks. (Denis Laliberté, Jon Rowe, rspec/rspec-core#1971)
|
|
584
641
|
* Improve failure output when an example has multiple exceptions, such
|
|
585
|
-
as one from an `it` block and one from an `after` block. (Myron Marston, #1985)
|
|
642
|
+
as one from an `it` block and one from an `after` block. (Myron Marston, rspec/rspec-core#1985)
|
|
586
643
|
|
|
587
644
|
Bug Fixes:
|
|
588
645
|
|
|
589
|
-
* Handle invalid UTF-8 strings within exception methods. (Benjamin Fleischer, #1760)
|
|
646
|
+
* Handle invalid UTF-8 strings within exception methods. (Benjamin Fleischer, rspec/rspec-core#1760)
|
|
590
647
|
* Fix Rake Task quoting of file names with quotes to work properly on
|
|
591
|
-
Windows. (Myron Marston, #1887)
|
|
648
|
+
Windows. (Myron Marston, rspec/rspec-core#1887)
|
|
592
649
|
* Fix `RSpec::Core::RakeTask#failure_message` so that it gets printed
|
|
593
|
-
when the task failed. (Myron Marston, #1905)
|
|
650
|
+
when the task failed. (Myron Marston, rspec/rspec-core#1905)
|
|
594
651
|
* Make `let` work properly when defined in a shared context that is applied
|
|
595
|
-
to an individual example via metadata. (Myron Marston, #1912)
|
|
596
|
-
* Ensure `rspec/autorun` respects configuration defaults. (Jon Rowe, #1933)
|
|
652
|
+
to an individual example via metadata. (Myron Marston, rspec/rspec-core#1912)
|
|
653
|
+
* Ensure `rspec/autorun` respects configuration defaults. (Jon Rowe, rspec/rspec-core#1933)
|
|
597
654
|
* Prevent modules overriding example group defined methods when included,
|
|
598
|
-
prepended or extended by config defined after an example group. (Eugene Kenny, #1935)
|
|
655
|
+
prepended or extended by config defined after an example group. (Eugene Kenny, rspec/rspec-core#1935)
|
|
599
656
|
* Fix regression which caused shared examples to be mistakenly run when specs
|
|
600
|
-
where filtered to a particular location. (Ben Axnick, #1963)
|
|
657
|
+
where filtered to a particular location. (Ben Axnick, rspec/rspec-core#1963)
|
|
601
658
|
* Fix time formatting logic so that it displays 70 seconds as "1 minute,
|
|
602
|
-
10 seconds" rather than "1 minute, 1 second". (Paul Brennan, #1984)
|
|
659
|
+
10 seconds" rather than "1 minute, 1 second". (Paul Brennan, rspec/rspec-core#1984)
|
|
603
660
|
* Fix regression where the formatter loader would allow duplicate formatters.
|
|
604
|
-
(Jon Rowe, #1990)
|
|
661
|
+
(Jon Rowe, rspec/rspec-core#1990)
|
|
605
662
|
|
|
606
663
|
### 3.2.3 / 2015-04-06
|
|
607
664
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.2.2...v3.2.3)
|
|
@@ -610,10 +667,10 @@ Bug Fixes:
|
|
|
610
667
|
|
|
611
668
|
* Fix how the DSL methods are defined so that RSpec is compatible with
|
|
612
669
|
gems that define methods of the same name on `Kernel` (such as
|
|
613
|
-
the `its-it` gem). (Alex Kwiatkowski, Ryan Ong, #1907)
|
|
670
|
+
the `its-it` gem). (Alex Kwiatkowski, Ryan Ong, rspec/rspec-core#1907)
|
|
614
671
|
* Fix `before(:context) { skip }` so that it does not wrongly cause the
|
|
615
672
|
spec suite to exit with a non-zero status when no examples failed.
|
|
616
|
-
(Myron Marston, #1926)
|
|
673
|
+
(Myron Marston, rspec/rspec-core#1926)
|
|
617
674
|
|
|
618
675
|
### 3.2.2 / 2015-03-11
|
|
619
676
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.2.1...v3.2.2)
|
|
@@ -623,7 +680,7 @@ Bug Fixes:
|
|
|
623
680
|
* Fix regression in 3.2.0 that allowed tag-filtered examples to
|
|
624
681
|
run even if there was a location filter applied to the spec
|
|
625
682
|
file that was intended to limit the file to other examples.
|
|
626
|
-
(#1894, Myron Marston)
|
|
683
|
+
(rspec/rspec-core#1894, Myron Marston)
|
|
627
684
|
|
|
628
685
|
### 3.2.1 / 2015-02-23
|
|
629
686
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.2.0...v3.2.1)
|
|
@@ -631,95 +688,95 @@ Bug Fixes:
|
|
|
631
688
|
Bug Fixes:
|
|
632
689
|
|
|
633
690
|
* Notify start-of-run seed _before_ `start` notification rather than
|
|
634
|
-
_after_ so that formatters like Fuubar work properly. (Samuel Esposito, #1882)
|
|
691
|
+
_after_ so that formatters like Fuubar work properly. (Samuel Esposito, rspec/rspec-core#1882)
|
|
635
692
|
|
|
636
693
|
### 3.2.0 / 2015-02-03
|
|
637
694
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.7...v3.2.0)
|
|
638
695
|
|
|
639
696
|
Enhancements:
|
|
640
697
|
|
|
641
|
-
* Improve the `inspect` output of example groups. (Mike Dalton, #1687)
|
|
698
|
+
* Improve the `inspect` output of example groups. (Mike Dalton, rspec/rspec-core#1687)
|
|
642
699
|
* When rake task fails, only output the command if `verbose` flag is
|
|
643
|
-
set. (Ben Snape, #1704)
|
|
700
|
+
set. (Ben Snape, rspec/rspec-core#1704)
|
|
644
701
|
* Add `RSpec.clear_examples` as a clear way to reset examples in between
|
|
645
|
-
spec runs, whilst retaining user configuration. (Alexey Fedorov, #1706)
|
|
702
|
+
spec runs, whilst retaining user configuration. (Alexey Fedorov, rspec/rspec-core#1706)
|
|
646
703
|
* Reduce string allocations when defining and running examples by 70%
|
|
647
|
-
and 50% respectively. (Myron Marston, #1738)
|
|
648
|
-
* Removed dependency on pathname from stdlib. (Sam Phippen, #1703)
|
|
704
|
+
and 50% respectively. (Myron Marston, rspec/rspec-core#1738)
|
|
705
|
+
* Removed dependency on pathname from stdlib. (Sam Phippen, rspec/rspec-core#1703)
|
|
649
706
|
* Improve the message presented when a user hits Ctrl-C.
|
|
650
|
-
(Alex Chaffee #1717, #1742)
|
|
707
|
+
(Alex Chaffee rspec/rspec-core#1717, rspec/rspec-core#1742)
|
|
651
708
|
* Improve shared example group inclusion backtrace displayed
|
|
652
709
|
in failed example output so that it works for all methods
|
|
653
710
|
of including shared example groups and shows all inclusion
|
|
654
|
-
locations. (Myron Marston, #1763)
|
|
711
|
+
locations. (Myron Marston, rspec/rspec-core#1763)
|
|
655
712
|
* Issue seed notification at start (as well as the end) of the reporter
|
|
656
|
-
run. (Arlandis Word, #1761)
|
|
657
|
-
* Improve the documentation of around hooks. (Jim Kingdon, #1772)
|
|
713
|
+
run. (Arlandis Word, rspec/rspec-core#1761)
|
|
714
|
+
* Improve the documentation of around hooks. (Jim Kingdon, rspec/rspec-core#1772)
|
|
658
715
|
* Support prepending of modules into example groups from config and allow
|
|
659
|
-
filtering based on metadata. (Arlandis Word, #1806)
|
|
716
|
+
filtering based on metadata. (Arlandis Word, rspec/rspec-core#1806)
|
|
660
717
|
* Emit warnings when `:suite` hooks are registered on an example group
|
|
661
718
|
(where it has always been ignored) or are registered with metadata
|
|
662
|
-
(which has always been ignored). (Myron Marston, #1805)
|
|
719
|
+
(which has always been ignored). (Myron Marston, rspec/rspec-core#1805)
|
|
663
720
|
* Provide a friendly error message when users call RSpec example group
|
|
664
721
|
APIs (e.g. `context`, `describe`, `it`, `let`, `before`, etc) from
|
|
665
|
-
within an example where those APIs are unavailable. (Myron Marston, #1819)
|
|
722
|
+
within an example where those APIs are unavailable. (Myron Marston, rspec/rspec-core#1819)
|
|
666
723
|
* Provide a friendly error message when users call RSpec example
|
|
667
724
|
APIs (e.g. `expect`, `double`, `stub_const`, etc) from
|
|
668
725
|
within an example group where those APIs are unavailable.
|
|
669
|
-
(Myron Marston, #1819)
|
|
726
|
+
(Myron Marston, rspec/rspec-core#1819)
|
|
670
727
|
* Add new `RSpec::Core::Sandbox.sandboxed { }` API that facilitates
|
|
671
728
|
testing RSpec with RSpec, allowing you to define example groups
|
|
672
729
|
and example from within an example without affecting the global
|
|
673
730
|
`RSpec.world` state. (Tyler Ball, 1808)
|
|
674
731
|
* Apply line-number filters only to the files they are scoped to,
|
|
675
|
-
allowing you to mix filtered and unfiltered files. (Myron Marston, #1839)
|
|
732
|
+
allowing you to mix filtered and unfiltered files. (Myron Marston, rspec/rspec-core#1839)
|
|
676
733
|
* When dumping pending examples, include the failure details so that you
|
|
677
|
-
don't have to un-pend the example to see it. (Myron Marston, #1844)
|
|
734
|
+
don't have to un-pend the example to see it. (Myron Marston, rspec/rspec-core#1844)
|
|
678
735
|
* Make `-I` option support multiple values when separated by
|
|
679
736
|
`File::PATH_SEPARATOR`, such as `rspec -I foo:bar`. This matches
|
|
680
|
-
the behavior of Ruby's `-I` option. (Fumiaki Matsushima, #1855).
|
|
737
|
+
the behavior of Ruby's `-I` option. (Fumiaki Matsushima, rspec/rspec-core#1855).
|
|
681
738
|
* Treat each example as having a singleton example group for the
|
|
682
739
|
purposes of applying metadata-based features that normally apply
|
|
683
740
|
to example groups to individually tagged examples. For example,
|
|
684
741
|
`RSpec.shared_context "Uses redis", :uses_redis` will now apply
|
|
685
742
|
to individual examples tagged with `:uses_redis`, as will
|
|
686
743
|
`config.include RedisHelpers, :uses_redis`, and
|
|
687
|
-
`config.before(:context, :uses_redis) { }`, etc. (Myron Marston, #1749)
|
|
744
|
+
`config.before(:context, :uses_redis) { }`, etc. (Myron Marston, rspec/rspec-core#1749)
|
|
688
745
|
|
|
689
746
|
Bug Fixes:
|
|
690
747
|
|
|
691
748
|
* When assigning generated example descriptions, surface errors
|
|
692
749
|
raised by `matcher.description` in the example description.
|
|
693
|
-
(Myron Marston, #1771)
|
|
750
|
+
(Myron Marston, rspec/rspec-core#1771)
|
|
694
751
|
* Don't consider expectations from `after` hooks when generating
|
|
695
|
-
example descriptions. (Myron Marston, #1771)
|
|
752
|
+
example descriptions. (Myron Marston, rspec/rspec-core#1771)
|
|
696
753
|
* Don't apply metadata-filtered config hooks to examples in groups
|
|
697
754
|
with matching metadata when those examples override the parent
|
|
698
|
-
metadata value to not match. (Myron Marston, #1796)
|
|
755
|
+
metadata value to not match. (Myron Marston, rspec/rspec-core#1796)
|
|
699
756
|
* Fix `config.expect_with :minitest` so that `skip` uses RSpec's
|
|
700
|
-
implementation rather than Minitest's. (Jonathan Rochkind, #1822)
|
|
757
|
+
implementation rather than Minitest's. (Jonathan Rochkind, rspec/rspec-core#1822)
|
|
701
758
|
* Fix `NameError` caused when duplicate example group aliases are defined and
|
|
702
|
-
the DSL is not globally exposed. (Aaron Kromer, #1825)
|
|
759
|
+
the DSL is not globally exposed. (Aaron Kromer, rspec/rspec-core#1825)
|
|
703
760
|
* When a shared example defined in an external file fails, use the host
|
|
704
761
|
example group (from a loaded spec file) for the re-run command to
|
|
705
|
-
ensure the command will actually work. (Myron Marston, #1835)
|
|
762
|
+
ensure the command will actually work. (Myron Marston, rspec/rspec-core#1835)
|
|
706
763
|
* Fix location filtering to work properly for examples defined in
|
|
707
764
|
a nested example group within a shared example group defined in
|
|
708
|
-
an external file. (Bradley Schaefer, Xavier Shay, Myron Marston, #1837)
|
|
765
|
+
an external file. (Bradley Schaefer, Xavier Shay, Myron Marston, rspec/rspec-core#1837)
|
|
709
766
|
* When a pending example fails (as expected) due to a mock expectation,
|
|
710
767
|
set `RSpec::Core::Example::ExecutionResult#pending_exception` --
|
|
711
|
-
previously it was not being set but should have been. (Myron Marston, #1844)
|
|
768
|
+
previously it was not being set but should have been. (Myron Marston, rspec/rspec-core#1844)
|
|
712
769
|
* Fix rake task to work when `rspec-core` is installed in a directory
|
|
713
|
-
containing a space. (Guido Günther, #1845)
|
|
770
|
+
containing a space. (Guido Günther, rspec/rspec-core#1845)
|
|
714
771
|
* Fix regression in 3.1 that caused `describe Regexp` to raise errors.
|
|
715
|
-
(Durran Jordan, #1853)
|
|
772
|
+
(Durran Jordan, rspec/rspec-core#1853)
|
|
716
773
|
* Fix regression in 3.x that caused the profile information to be printed
|
|
717
|
-
after the summary. (Max Lincoln, #1857)
|
|
774
|
+
after the summary. (Max Lincoln, rspec/rspec-core#1857)
|
|
718
775
|
* Apply `--seed` before loading `--require` files so that required files
|
|
719
|
-
can access the provided seed. (Myron Marston, #1745)
|
|
776
|
+
can access the provided seed. (Myron Marston, rspec/rspec-core#1745)
|
|
720
777
|
* Handle `RSpec::Core::Formatters::DeprecationFormatter::FileStream` being
|
|
721
778
|
reopened with an IO stream, which sometimes happens with spring.
|
|
722
|
-
(Kevin Mook, #1757)
|
|
779
|
+
(Kevin Mook, rspec/rspec-core#1757)
|
|
723
780
|
|
|
724
781
|
### 3.1.7 / 2014-10-11
|
|
725
782
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.6...v3.1.7)
|
|
@@ -728,14 +785,14 @@ Bug Fixes:
|
|
|
728
785
|
|
|
729
786
|
* Fix `Metadata.relative_path` so that for a current directory of
|
|
730
787
|
`/foo/bar`, `/foo/bar_1` is not wrongly converted to `._1`.
|
|
731
|
-
(Akos Vandra, #1730)
|
|
788
|
+
(Akos Vandra, rspec/rspec-core#1730)
|
|
732
789
|
* Prevent constant lookup mistakenly finding `RSpec::ExampleGroups` generated
|
|
733
790
|
constants on 1.9.2 by appending a trailing `_` to the generated names.
|
|
734
|
-
(Jon Rowe, #1737)
|
|
791
|
+
(Jon Rowe, rspec/rspec-core#1737)
|
|
735
792
|
* Fix bug in `:pending` metadata. If it got set in any way besides passing
|
|
736
793
|
it as part of the metadata literal passed to `it` (such as by using
|
|
737
794
|
`define_derived_metadata`), it did not have the desired effect,
|
|
738
|
-
instead marking the example as `:passed`. (Myron Marston, #1739)
|
|
795
|
+
instead marking the example as `:passed`. (Myron Marston, rspec/rspec-core#1739)
|
|
739
796
|
|
|
740
797
|
### 3.1.6 / 2014-10-08
|
|
741
798
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.5...v3.1.6)
|
|
@@ -744,9 +801,9 @@ Bug Fixes:
|
|
|
744
801
|
|
|
745
802
|
* Fix regression in rake task pattern handling, that prevented patterns
|
|
746
803
|
that were relative from the current directory rather than from `spec`
|
|
747
|
-
from working properly. (Myron Marston, #1734)
|
|
804
|
+
from working properly. (Myron Marston, rspec/rspec-core#1734)
|
|
748
805
|
* Prevent rake task from generating duplicate load path entries.
|
|
749
|
-
(Myron Marston, #1735)
|
|
806
|
+
(Myron Marston, rspec/rspec-core#1735)
|
|
750
807
|
|
|
751
808
|
### 3.1.5 / 2014-09-29
|
|
752
809
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.4...v3.1.5)
|
|
@@ -754,12 +811,12 @@ Bug Fixes:
|
|
|
754
811
|
Bug Fixes:
|
|
755
812
|
|
|
756
813
|
* Fix issue with the rake task incorrectly escaping strings on Windows.
|
|
757
|
-
(Jon Rowe #1718)
|
|
814
|
+
(Jon Rowe rspec/rspec-core#1718)
|
|
758
815
|
* Support absolute path patterns. While this wasn't officially supported
|
|
759
816
|
previously, setting `rake_task.pattern` to an absolute path pattern in
|
|
760
817
|
RSpec 3.0 and before worked since it delegated to `FileList` internally
|
|
761
818
|
(but now just forwards the pattern on to the `rspec` command).
|
|
762
|
-
(Myron Marston, #1726)
|
|
819
|
+
(Myron Marston, rspec/rspec-core#1726)
|
|
763
820
|
|
|
764
821
|
### 3.1.4 / 2014-09-18
|
|
765
822
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.3...v3.1.4)
|
|
@@ -768,10 +825,10 @@ Bug Fixes:
|
|
|
768
825
|
|
|
769
826
|
* Fix implicit `subject` when using `describe false` or `describe nil`
|
|
770
827
|
so that it returns the provided primitive rather than the string
|
|
771
|
-
representation. (Myron Marston, #1710)
|
|
828
|
+
representation. (Myron Marston, rspec/rspec-core#1710)
|
|
772
829
|
* Fix backtrace filtering to allow code in subdirectories of your
|
|
773
830
|
current working directory (such as vendor/bundle/...) to be filtered
|
|
774
|
-
from backtraces. (Myron Marston, #1708)
|
|
831
|
+
from backtraces. (Myron Marston, rspec/rspec-core#1708)
|
|
775
832
|
|
|
776
833
|
### 3.1.3 / 2014-09-15
|
|
777
834
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.2...v3.1.3)
|
|
@@ -781,12 +838,12 @@ Bug Fixes:
|
|
|
781
838
|
* Fix yet another regression in rake task pattern handling, to allow
|
|
782
839
|
`task.pattern = FileList["..."]` to work. That was never intended
|
|
783
840
|
to be supported but accidentally worked in 3.0 and earlier.
|
|
784
|
-
(Myron Marston, #1701)
|
|
841
|
+
(Myron Marston, rspec/rspec-core#1701)
|
|
785
842
|
* Fix pattern handling so that files are normalized to absolute paths
|
|
786
843
|
before subtracting the `--exclude-pattern` matched files from the
|
|
787
844
|
`--pattern` matched files so that it still works even if the patterns
|
|
788
845
|
are in slightly different forms (e.g. one starting with `./`).
|
|
789
|
-
(Christian Nelson, #1698)
|
|
846
|
+
(Christian Nelson, rspec/rspec-core#1698)
|
|
790
847
|
|
|
791
848
|
### 3.1.2 / 2014-09-08
|
|
792
849
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.1...v3.1.2)
|
|
@@ -794,7 +851,7 @@ Bug Fixes:
|
|
|
794
851
|
Bug Fixes:
|
|
795
852
|
|
|
796
853
|
* Fix another regression in rake task pattern handling, so that patterns
|
|
797
|
-
that start with `./` still work. (Christian Nelson, #1696)
|
|
854
|
+
that start with `./` still work. (Christian Nelson, rspec/rspec-core#1696)
|
|
798
855
|
|
|
799
856
|
### 3.1.1 / 2014-09-05
|
|
800
857
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.1.0...v3.1.1)
|
|
@@ -804,7 +861,7 @@ Bug Fixes:
|
|
|
804
861
|
* Fix a regression in rake task pattern handling, so that `rake_task.pattern = array`
|
|
805
862
|
works again. While we never intended to support array values (or even knew that worked!),
|
|
806
863
|
the implementation from 3.0 and earlier used `FileList` internally, which allows arrays.
|
|
807
|
-
The fix restores the old behavior. (Myron Marston, #1694)
|
|
864
|
+
The fix restores the old behavior. (Myron Marston, rspec/rspec-core#1694)
|
|
808
865
|
|
|
809
866
|
### 3.1.0 / 2014-09-04
|
|
810
867
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.4...v3.1.0)
|
|
@@ -813,57 +870,57 @@ Enhancements:
|
|
|
813
870
|
|
|
814
871
|
* Update files generated by `rspec --init` so that warnings are enabled
|
|
815
872
|
in commented out section of `spec_helper` rather than `.rspec` so users
|
|
816
|
-
have to consciously opt-in to the setting. (Andrew Hooker, #1572)
|
|
873
|
+
have to consciously opt-in to the setting. (Andrew Hooker, rspec/rspec-core#1572)
|
|
817
874
|
* Update `spec_helper` generated by `rspec --init` so that it sets the new
|
|
818
875
|
rspec-expectations `include_chain_clauses_in_custom_matcher_descriptions`
|
|
819
876
|
config option (which will be on by default in RSpec 4) and also sets the
|
|
820
877
|
rspec-mocks `verify_partial_doubles` option (which will also default
|
|
821
|
-
to on in RSpec 4). (Myron Marston, #1647)
|
|
878
|
+
to on in RSpec 4). (Myron Marston, rspec/rspec-core#1647)
|
|
822
879
|
* Provide an `inspect` output for example procsy objects (used in around
|
|
823
|
-
hooks) that doesn't make them look like procs. (Jon Rowe, #1620)
|
|
880
|
+
hooks) that doesn't make them look like procs. (Jon Rowe, rspec/rspec-core#1620)
|
|
824
881
|
* Remove a few unneeded `require` statements from
|
|
825
882
|
`rspec/core/rake_task.rb`, making it even more lighterweight.
|
|
826
|
-
(Myron Marston, #1640)
|
|
883
|
+
(Myron Marston, rspec/rspec-core#1640)
|
|
827
884
|
* Allow rspec-core to be used when neither rspec-mocks or
|
|
828
885
|
rspec-expectations are installed, without requiring any
|
|
829
|
-
user configuration. (Sam Phippen, Myron Marston, #1615)
|
|
886
|
+
user configuration. (Sam Phippen, Myron Marston, rspec/rspec-core#1615)
|
|
830
887
|
* Don't filter out gems from backtraces by default. (The RSpec
|
|
831
888
|
gems will still be filtered). User feedback has indicated
|
|
832
889
|
that including gems in default backtraces will be useful.
|
|
833
|
-
(Myron Marston, #1641)
|
|
890
|
+
(Myron Marston, rspec/rspec-core#1641)
|
|
834
891
|
* Add new `config.filter_gems_from_backtrace "rack", "rake"` API
|
|
835
|
-
to easily filter the named gems from backtraces. (Myron Marston, #1682)
|
|
892
|
+
to easily filter the named gems from backtraces. (Myron Marston, rspec/rspec-core#1682)
|
|
836
893
|
* Fix default backtrace filters so that the RSpec binary is
|
|
837
894
|
excluded when installing RSpec as a bundler `:git` dependency.
|
|
838
|
-
(Myron Marston, #1648)
|
|
895
|
+
(Myron Marston, rspec/rspec-core#1648)
|
|
839
896
|
* Simplify command generated by the rake task so that it no longer
|
|
840
|
-
includes unnecessary `-S`. (Myron Marston, #1559)
|
|
897
|
+
includes unnecessary `-S`. (Myron Marston, rspec/rspec-core#1559)
|
|
841
898
|
* Add `--exclude-pattern` CLI option, `config.exclude_pattern =` config
|
|
842
899
|
option and `task.exclude_pattern =` rake task config option. Matching
|
|
843
|
-
files will be excluded. (John Gesimondo, Myron Marston, #1651, #1671)
|
|
900
|
+
files will be excluded. (John Gesimondo, Myron Marston, rspec/rspec-core#1651, rspec/rspec-core#1671)
|
|
844
901
|
* When an around hook fails to execute the example, mark it as
|
|
845
902
|
pending (rather than passing) so the user is made aware of the
|
|
846
|
-
fact that the example did not actually run. (Myron Marston, #1660)
|
|
903
|
+
fact that the example did not actually run. (Myron Marston, rspec/rspec-core#1660)
|
|
847
904
|
* Remove dependency on `FileUtils` from the standard library so that users do
|
|
848
905
|
not get false positives where their code relies on it but they are not
|
|
849
|
-
requiring it. (Sam Phippen, #1565)
|
|
906
|
+
requiring it. (Sam Phippen, rspec/rspec-core#1565)
|
|
850
907
|
|
|
851
908
|
Bug Fixes:
|
|
852
909
|
|
|
853
910
|
* Fix rake task `t.pattern =` option so that it does not run all specs
|
|
854
911
|
when it matches no files, by passing along a `--pattern` option to
|
|
855
912
|
the `rspec` command, rather than resolving the file list and passing
|
|
856
|
-
along the files individually. (Evgeny Zislis, #1653)
|
|
913
|
+
along the files individually. (Evgeny Zislis, rspec/rspec-core#1653)
|
|
857
914
|
* Fix rake task default pattern so that it follows symlinks properly.
|
|
858
|
-
(Myron Marston, #1672)
|
|
915
|
+
(Myron Marston, rspec/rspec-core#1672)
|
|
859
916
|
* Fix default pattern used with `rspec` command so that it follows
|
|
860
|
-
symlinks properly. (Myron Marston, #1672)
|
|
917
|
+
symlinks properly. (Myron Marston, rspec/rspec-core#1672)
|
|
861
918
|
* Change how we assign constant names to example group classes so that
|
|
862
|
-
it avoids a problem with `describe "Core"`. (Daniela Wellisz, #1679)
|
|
919
|
+
it avoids a problem with `describe "Core"`. (Daniela Wellisz, rspec/rspec-core#1679)
|
|
863
920
|
* Handle rendering exceptions that have a different encoding than that
|
|
864
|
-
of their original source file. (Jon Rowe, #1681)
|
|
921
|
+
of their original source file. (Jon Rowe, rspec/rspec-core#1681)
|
|
865
922
|
* Allow access to message_lines without colour for failed examples even
|
|
866
|
-
when they're part of a shared example group. (tomykaira, #1689)
|
|
923
|
+
when they're part of a shared example group. (tomykaira, rspec/rspec-core#1689)
|
|
867
924
|
|
|
868
925
|
### 3.0.4 / 2014-08-14
|
|
869
926
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.3...v3.0.4)
|
|
@@ -872,9 +929,9 @@ Bug Fixes:
|
|
|
872
929
|
|
|
873
930
|
* Fix processing order of CLI options so that if `config.files_to_run`
|
|
874
931
|
is accessed from a file loaded by `--require`, `--pattern` is still
|
|
875
|
-
applied. (Myron Marston, #1652)
|
|
932
|
+
applied. (Myron Marston, rspec/rspec-core#1652)
|
|
876
933
|
* Fix `config.pattern=` so that it still takes affect even if
|
|
877
|
-
`config.files_to_run` has already been accessed. (Myron Marston, #1652)
|
|
934
|
+
`config.files_to_run` has already been accessed. (Myron Marston, rspec/rspec-core#1652)
|
|
878
935
|
|
|
879
936
|
### 3.0.3 / 2014-07-21
|
|
880
937
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.2...v3.0.3)
|
|
@@ -882,11 +939,11 @@ Bug Fixes:
|
|
|
882
939
|
Bug Fixes:
|
|
883
940
|
|
|
884
941
|
* Properly convert both parts of a description into strings before
|
|
885
|
-
concatenation. (@nicklink483, #1636)
|
|
942
|
+
concatenation. (@nicklink483, rspec/rspec-core#1636)
|
|
886
943
|
* Exclude the working directory when figuring out folders to ignore.
|
|
887
|
-
(Jon Rowe, Myron Marston, #1616)
|
|
944
|
+
(Jon Rowe, Myron Marston, rspec/rspec-core#1616)
|
|
888
945
|
* Allow `::RSpec::Core::Notifications::FailedExampleNotification#message_lines`
|
|
889
|
-
to be accessed without a colouriser. (@tomykaira, #1637)
|
|
946
|
+
to be accessed without a colouriser. (@tomykaira, rspec/rspec-core#1637)
|
|
890
947
|
|
|
891
948
|
### 3.0.2 / 2014-06-19
|
|
892
949
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.1...v3.0.2)
|
|
@@ -895,14 +952,14 @@ Bug Fixes:
|
|
|
895
952
|
|
|
896
953
|
* Fix regression in CLI option handling that prevented `--tag slow`
|
|
897
954
|
passed at the command line from overriding `--tag ~slow` in `.rspec`.
|
|
898
|
-
(Colin Jones, #1602)
|
|
955
|
+
(Colin Jones, rspec/rspec-core#1602)
|
|
899
956
|
* Fix metadata `:example_group` deprecation warning so that it gets
|
|
900
957
|
issued at the call site of the configuration that specified it as
|
|
901
958
|
a filter rather than later when an example group is defined.
|
|
902
|
-
(Myron Marston, #1562)
|
|
959
|
+
(Myron Marston, rspec/rspec-core#1562)
|
|
903
960
|
* Make the line that is printed when a shared example group fails indicating
|
|
904
961
|
where the concrete example group is white, separating it from the stack trace
|
|
905
|
-
that is produced for the failure. (Sam Phippen, Jon Rowe, #1606)
|
|
962
|
+
that is produced for the failure. (Sam Phippen, Jon Rowe, rspec/rspec-core#1606)
|
|
906
963
|
|
|
907
964
|
### 3.0.1 / 2014-06-12
|
|
908
965
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.0...v3.0.1)
|
|
@@ -910,9 +967,9 @@ Bug Fixes:
|
|
|
910
967
|
Bug Fixes:
|
|
911
968
|
|
|
912
969
|
* Fix a couple ruby warnings caused by rspec-core when loaded.
|
|
913
|
-
(Prem Sichanugrist, #1584)
|
|
970
|
+
(Prem Sichanugrist, rspec/rspec-core#1584)
|
|
914
971
|
* Example groups named `Config` will no longer cause a Ruby warning to be
|
|
915
|
-
issued. (Jimmy Cuadra, #1580)
|
|
972
|
+
issued. (Jimmy Cuadra, rspec/rspec-core#1580)
|
|
916
973
|
|
|
917
974
|
### 3.0.0 / 2014-06-01
|
|
918
975
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.0.rc1...v3.0.0)
|
|
@@ -928,7 +985,7 @@ Bug Fixes:
|
|
|
928
985
|
Enhancements:
|
|
929
986
|
|
|
930
987
|
* Alter the default `spec_helper.rb` to no longer recommend
|
|
931
|
-
`config.full_backtrace = true` see #1536 for discussion. (Jon Rowe)
|
|
988
|
+
`config.full_backtrace = true` see rspec/rspec-core#1536 for discussion. (Jon Rowe)
|
|
932
989
|
|
|
933
990
|
### 3.0.0.rc1 / 2014-05-18
|
|
934
991
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.0.0.beta2...v3.0.0.rc1)
|
|
@@ -1181,7 +1238,7 @@ Bug Fixes:
|
|
|
1181
1238
|
or `default_path`. (Matijs van Zuijlen)
|
|
1182
1239
|
* Fix failure line detection so that it handles relative file paths
|
|
1183
1240
|
(which can happen when running specs through `ruby` using `rspec/autorun`).
|
|
1184
|
-
(Myron Marston, #1829)
|
|
1241
|
+
(Myron Marston, rspec/rspec-core#1829)
|
|
1185
1242
|
|
|
1186
1243
|
### 3.0.0.beta1 / 2013-11-07
|
|
1187
1244
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.1...v3.0.0.beta1)
|
|
@@ -1261,7 +1318,7 @@ Deprecations:
|
|
|
1261
1318
|
Enhancements:
|
|
1262
1319
|
|
|
1263
1320
|
* Improve deprecation warning for RSpec 3 change in `describe <a symbol>`
|
|
1264
|
-
behavior. (Jon Rowe, #1667)
|
|
1321
|
+
behavior. (Jon Rowe, rspec/rspec-core#1667)
|
|
1265
1322
|
|
|
1266
1323
|
### 2.99.1 / 2014-06-19
|
|
1267
1324
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.0...v2.99.1)
|
|
@@ -1271,11 +1328,11 @@ Bug Fixes:
|
|
|
1271
1328
|
* Add missing deprecation warning for when `RSpec::Core::Runner` is used
|
|
1272
1329
|
multiple times in the same process. In 2.x RSpec's global state was
|
|
1273
1330
|
automatically cleared between runs but in 3.0 you need to call `RSpec.reset`
|
|
1274
|
-
manually in these situations. (Sam Phippen, #1587)
|
|
1331
|
+
manually in these situations. (Sam Phippen, rspec/rspec-core#1587)
|
|
1275
1332
|
* Prevent deprecation being accidentally issues when doubles used with `be_`
|
|
1276
|
-
matchers due to automatically generated descriptions. (Jon Rowe, #1573)
|
|
1333
|
+
matchers due to automatically generated descriptions. (Jon Rowe, rspec/rspec-core#1573)
|
|
1277
1334
|
* Load `rspec/core` when loading `rspec/core/rake_task` to ensure we can
|
|
1278
|
-
issue deprecations correctly. (Jon Rowe, #1612)
|
|
1335
|
+
issue deprecations correctly. (Jon Rowe, rspec/rspec-core#1612)
|
|
1279
1336
|
|
|
1280
1337
|
### 2.99.0 / 2014-06-01
|
|
1281
1338
|
[Full Changelog](http://github.com/rspec/rspec-core/compare/v2.99.0.rc1...v2.99.0)
|
|
@@ -1296,7 +1353,7 @@ Enhancements:
|
|
|
1296
1353
|
* Add `--deprecation-out` CLI option which directs deprecation warnings
|
|
1297
1354
|
to the named file. (Myron Marston)
|
|
1298
1355
|
* Backport support for `skip` in metadata to skip execution of an example.
|
|
1299
|
-
(Xavier Shay, #1472)
|
|
1356
|
+
(Xavier Shay, rspec/rspec-core#1472)
|
|
1300
1357
|
* Add `Pathname` support for setting all output streams. (Aaron Kromer)
|
|
1301
1358
|
* Add `test_unit` and `minitest` expectation frameworks. (Aaron Kromer)
|
|
1302
1359
|
|
|
@@ -1632,7 +1689,7 @@ Bug fixes
|
|
|
1632
1689
|
matcher description (as `Example#description` already did) when no
|
|
1633
1690
|
doc string has been provided (David Chelimsky).
|
|
1634
1691
|
* Fix the memoized methods (`let` and `subject`) leaking `define_method`
|
|
1635
|
-
as a `public` method. (Thomas Holmes and Jon Rowe) (#873)
|
|
1692
|
+
as a `public` method. (Thomas Holmes and Jon Rowe) (rspec/rspec-core#873)
|
|
1636
1693
|
* Fix warnings coming from the test suite. (Pete Higgins)
|
|
1637
1694
|
|
|
1638
1695
|
Deprecations
|