-
Notifications
You must be signed in to change notification settings - Fork 20
/
Changes
383 lines (324 loc) · 17.7 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
Changes for Perl extension Test-Class
0.52 [2021-02-17]
- Change bugtracker link to point GitHub issues instead of RT.
- Remove some old and broken links.
- Work by (Kaycie Goodman).
- Test fix (Pali, PR#32).
- Fix reporting caller information (file+line) when number of tests does
not match (Pali).
- Use better class names in t/runtests_return.t (Pali).
- Fix documentation to be more accurate regarding support and author
activity (Karen Etheridge).
- Ensure metadata is processed as v2 (Karen Etheridge).
- Remove unnecessary shebangs (Karen Etheridge).
- chmod ugo-x (Karen Etheridge).
0.51 [2019-04-29]
- Create fail_if_returned_late (Jason Terry, Oaxlin, PR#23)
0.50 [2015-06-07]
- add links to Ovid's tutorial series on Test::Class (Tim Vroom, PR#19)
- add links to Test::Class::Most, Test::Class::Moose (Tim Vroom, PR#20)
- list some distributions that use Test::Class in their test suite (Tim
Vroom, PR#21)
- update documentation about running individual tests (Matthew Horsfall,
PR#22)
- fix some tests to work with the new Test::Stream (Chad Granum, PR#27)
- switch packaging to ExtUtils::MakeMaker
0.48 [2014-11-06]
- replace a few bare evals with more modern alternatives
0.47 [2014-09-26]
- fixes for Test::More 1.301001_* series (PR#17, PR#18, Chad Granum)
0.46 [2014-07-06]
- fix new teardown tests for MSWin32
0.45 [2014-07-05]
- bump minimum required version of Test::More (RT#96951)
0.44 [2014-07-04]
- run teardown method even if test method dies, as in version 0.37 and
earlier
0.43 [2014-06-25]
- specify test prereqs as test_requires rather than build_requires
0.42 or the "how did I get stuck with co-maint?" release [2014-05-07]
- properly handle thrown exceptions that stringify to the empty string
before or after chomping (Karen Etheridge, PR#11)
0.41 or the "0.99 was a bad year" release [2013-11-30]
- require a newer Test::Builder if 0.99 is installed RT#90699
0.40 or the "rjbs wants to install App::GitGot" release [2013-11-04]
- Applied Zefram's fix for RT#89473, Test::Class fails on Test::Builder
0.99
0.39 or the "For the QA Hackathon 2013" release [2013-04-12]
- Merged schwern's https://github.com/adrianh/test-class/pull/2
"Fix Test::Class for Test::Builder 1.5" - thank you Schwern!
0.38 or the "We need Test::Class to work on Windows" release [2012-11-19]
- Many thanks to the ever excellent Ovid for actually making this happen.
- die-in-setup.t will work on Windows (thanks to Alexandr Ciornii for
the patch)
- Fix docs to explain "no_plan" in start up" (thanks to skington for the
patch)
0.37 - or the "amazingly late QA Hackathon 2011" release [2012-06-25]
- Fixed RT#64470: minor documentation error in Test::Class::Load (thanks
to Andrew Grangaard for patch)
- Fixed RT#39266: Test::Class with Package::Alias
- Fixed RT#56636: feature request: option to turn off auto-skipping
uncompleted tests (thanks to Ken Fox for suggestion) with addition
of fail_if_returned_early() (thanks to Dave Evans for patch)
- Fixed RT#64268: dying in setup does not skip rest of test
- Startup and shutdown methods are no longer run if a class will not
run any test methods
- Updated acknowledgements
- Added missing filter tests to MANIFEST & distribution
0.36 - or the "Adrian should have released this earlier" release [2010-08-19]
(Thanks to Mark Morgan for doing all the useful work on this one!)
- New add_filter() method allows global filtering of test methods
- Apply t/todo.t patch to fix RT#55324 (test bug, not Test::Class bug).
This makes the test suite pass with Test::Simple 0.95_01 and greater.
0.35 - or the "Yay! Open Source For The Win!" release [2010-04-28]
- Introducing Ovid & Mark Morgan in "Folk with commit bits who aren't
afraid to use them!"
- Add repository information to the META.yml (via Build.PL).
- Add dates to all releases in Change file. This resolves RT#45581
- If extra tests are found in the test control methods, report the
class name along with the method name.
0.34 - or the "Abandon ship!" release [2010-03-08]
- Harmonised $VERSION to the same value (Adam Kennedy)
- Devel::Symdump has a bug which is really a bug in core and won't be
fixed.
Dumped it and switched to MRO::Compat instead (tokuhirom)
- Add "build_requires" (Alexandr Ciornii)
0.33 - or the "ZOMGIBROKECPAN" release [2009-09-21]
- Make the test scripts adaptive to Test::More diagnostic changes in
version 0.88
- Skip invalid package names in Test::Class::Load::_load so that we
don't try to load classes in .svn/et-al paths
- Removed #! script invocation line from the MethodInfo.pm module
0.32_1 - or the "Birmingham QA 2009" release [2008-03-28]
- Removed pointless use of Test::Exception in t/bad-autoloads.t to stop
bogus warnings that were confusing some folk
- Added add_testinfo for Test::Class::Sugar (thanks Piers Cawley)
0.31 - or the "good god adrian is still alive" release [2008-09-14]
- Downgraded IO::File dependancy to 1.09 (RT#38424 - thanks Mark Stosberg)
0.30 - or the "Oslo QA 2008 #2" release [2008-04-07]
- Move up to depend on Test::Simple 0.78 to stomp on RT##33809
0.29 - or the "Oslo QA 2008" release [2008-04-06]
- Fixed some broken edge cases where you didn't get a plan when you had
tests in a shutdown method, and no tests in the rest of your class
- Test::Class::Load can now be subclassed so you can add your own filters
for what is considered a test class (patch from Cosimo Streppone)
- Described minimum perl as '5.006001' rather than '5.6.1' so old perls
understand what we're talking about.
- Fixed typo in docs (thanks Tony Edwardson)
0.28 - or the "just for the debian folk" release [2008-01-15]
- Downgraded some dependencies to avoid some bogus warnings on Debian
(thanks Gunnar Wolf & Hynek)
0.27 - or the "Adrian cannot write in English" release [2007-12-29]
- Fixed a couple of typos/grammar stupidities (thank Jim Brandt)
0.26 - or the "really working on windows this time (fingers crossed)" release [2007-12-10]
- Tests that look at test_err from Test::Builder::Tester now use caller()
to get the filename - just like Test::Builder. So hopefully everything
should work on all platforms this time.
- Updated the Test::* version dependencies to something vaguely modern
- Fixed runtests_die.t, which still had platform-specific paths in
0.25 - or the "idiotic platform specific tests fixed" release [2007-12-07]
- Fixed RT#31122 that was failing tests on Strawberry Perl
(thanks to Chris Dolan)
0.24 - or the "hating perl's broken object model" release [2007-03-01]
- Stopped throwing warnings when Contextual::Return was loaded due to the
AUTOLOADING of isa() (thank's to agianni)
- If you are filtering with TEST_METHOD your startup/shutdown methods
still get executed (thanks Chris Dolan)
0.23 - or the "damn David and his smoke testing" release [2007-02-23]
- Added explicit dependency on Test::Simple for those odd folk who have
old Test::Simple releases running with a recent Test::Builder::Tester
(thanks David Cantrell)
0.22 - or the "++ becomes a legal regex" release [2006-11-29]
- Factored out some common code
- Added test for Test::Class::Load not loading modules
successfully
- Tidied up all the T::C::L test libraries into t/test-libs
- Added patch from Nicholas Clark to make T::C work with blead
perl
0.21 - or the "we're all growed up" release [2006-11-01]
- expected_tests() gives a sensible info when given undef as an argument
- fixed bug when we repeatedly wrapped Test::Builder::ok with extra
Test::Class functionality every time we run a test method
- Test::Class::Load only adds directories to @INC once
0.20 - or the "you failed where?" release [2006-10-19]
- Added an extra diagnostic line on test failures that list the method
that failed and the class being tested. Makes locating test failures in
test class hierarchies much simpler.
- Added some tests for plan math for startup/shutdown methods (phew they
worked!)
0.19 - or the "last RT bug crushed" release [2006-10-11]
- You now get a sensible error message if you load Test::Class after the
CHECK phase where the :Test attribute gets applied.
- Added "A NOTE ON LOADING TEST CLASSES" section that describes the issue
of the :Test attribute being applied at CHECK time
0.18 - or the "damn multiple inheritence" release [2006-10-06]
- You now get a sensible error message if Test::Class's new() gets
overridden badly via a subclass or multiple inheritance
0.17 - or the "wot I did on the train" release [2006-10-06]
- Removed pointless uses of UNIVERSAL::isa
- We rename "test name" to "test description" to confirm with current TAP
nomenclature
- Added some pointers to third party documentation
- Added references to Test::Object, Test::Group and Test::Block
- Actually added spelling.t to the distro (sigh)
0.16 - or the "sepling mist ook!" release [2006-10-04]
- Added (optional) spelling tests for the POD in t/developer
- Fixed a whole bunch of spelling mistakes
- Added some references to Test::Class::Load in the main Test::Class POD
- Added more modules that use Test::Class to SEE ALSO
0.15 - or the "down. down. deeper and down" release [2006-10-03]
- Now works with Test::Deep, which annoyingly defines its own isa()
subroutine. This no longer confuses Test::Class into thinking Test::Deep
isa Test::Class.
- Added some more modules that use Test::Class to SEE ALSO
0.14 - or the "for the Windows folk" release [2006-10-02]
- Test::Class::Load now works on Windows (thanks Kenichi Ishigaki for the
patch)
- Tests should now pass on Windows (thanks Kenichi Ishigaki again!)
0.13 - or the "just to make Ovid & David happy" release [2006-09-29]
- Added Test::Class::Load (thanks Ovid) to allow you to easily load
test classes
- Added ability to run a specific test or set of tests based upon a
regular expression specified in the TEST_METHOD environment variable
(thanks to Ovid again). This mechanism is likely to change in the future
but it's useful enough to go in now.
- Fixed some broken code in the POD (thanks Jeff Deifik)
- Removed Cwd from prerequisites - it's core
0.12 - or the "to avoid public mocking" release [2006-09-29]
- Fixed the installation errors that everybody has been rightly
complaining about for the last year:
- Prerequisities in requires, not build_requires
- Tests no longer rely on hard coded test output (thanks Martn
Ferrari and Nicholas Clark for patches)
- Require appropriate version of Test::Exception
- Added link to del.icio.us perl+testing links in POD
- Fixed some bad markup in the POD
- Stuck distribution related tests under t/developer
- Added Perl::Critic tests under t/developer
- Added some documentation for Test::Class::MethodInfo since I was bored
with people asking what it was for (it's internal - don't use it)
- Added a whole bunch of people to the acknowledgements section
0.11 [2005-02-19]
- A belated thank you added to some folk who send in RT bugs and whose
name I missed off the acknowledgements section
- Tweaked link to XUL::Node in SEE ALSO
- Changed RT link so it went directly to Test::Class page
- An exception in a startup method now causes the rest of the tests in
the current test object to be ignored, and no longer gives a bogus
warning (reported by Emil Jansson - ta!)
- Added COMMUNITY section to POD
0.10 [2005-02-03]
- Really fixed the _test_classes bug (doh!)
- Added :Tests attribute that acts like :Test but defaults to 'no_plan'
if no test number is given.
0.09 [2005-01-30]
- Fixed bug with _test_classes spotted by Corion's cpan smoker
(see t/test_classes.t)
- Added links to tada to do list to TO DO section of POD
- Added links modules that use Test::Class to SEE ALSO section of POD
(thanks to Terrence Brannon for suggesting this)
0.08 [2005-01-27]
- The undocumented behaviour of C<runtests> has been tweaked and
documented. You can now run all loaded test classes by doing
Test::Class->runtests
- Removed undocumented autorun method, and replaced with SKIP_CLASS. This
allows you to prevent test classes being run by runtests.
- Removed undocumented class method run_all_tests.
(thanks to David Wheeler & Ovid for helping define the above behaviour)
0.07 [2005-01-03]
- Removed Test::Class::Tutorial & Test::Class::BaseTest since
they shouldn't have escaped into the wild quite yet. Oops.
0.06 [2004-09-06]
- Some cosmetic POD updates
0.06_8 [????-??-??]
- Made tests pass with Test::Simple 0.48
- New signature since old one about to be revoked
0.06_7 [2004-06-19]
- Added Module::Build support
0.06_6 [2004-03-28]
- Fixed bogus test failures under MSWin32
0.06_5 [2004-02-21]
- Cleaned up internals
- Having a single method be simultaniously a setup and teardown
method no longer supported
- The undocumented add_method method, that you should not have
been using anyway, disappears
0.06_4 [2004-02-13]
- Fixed bogus heading styles in POD
- Test names that default to $self->current_method now replace all
"_" characters with spaces to increase readability
- Documented default test name behaviour
- D'oh! Fixed MANIFEST so the distribution actually included the
new tests for 0.06_3 and 0.06_2
0.06_3 [2004-02-04]
- more POD tweaks
- all tests now compile with warnings enabled
- test name now defaults to $self->current_method
0.06_2 [2004-01-30]
- now uses inside out objects so restriction on using -test and
_test as hash keys has been removed
- tweaked POD of Test::Class
- you can now have spaces around test numbers, etc. (bug report
and patch from David Wheeler)
0.06_1 [2004-01-23]
- removed examples directory from distribution, needs rewrite
- removed .svn directories from distribution (doh!)
- removed Test::Class::Tutorial from distribution - needs rewrite
- removed Test::Class::BaseTest - needs rethink
- cleaned up Test::Class POD a bit
- documented.t now uses Test::Pod::Coverage if available
- pod.t now uses Test::Pod if available
- private methods now called as functions to avoid problems
with subclasses accidentally overriding
0.05 (not distributed on CPAN) [????-??-??]
- fixed MANIFEST and MANIFEST.SKIP
- now skips rest of tests in a test method after first failure
due to an exception.
0.04 (not distributed on CPAN) [????-??-??]
- refactored mercylessly
- Added Test::Class::MethodInfo
- Added first draft of Test::Class::Tutorial. Feedback welcome.
- rearranged Test::Class POD (hopefully making it clearer!)
- dropped total_num_tests, teardown_methods, setup_methods and
test_methods from public interface - they were implementation
details that shouldn't have been public in first place. If you
disagree let me know (with a rationale) and I'll probably add
them back :-)
- fixed bug where runtests() could blow up if supplied with a
non-Test::Class
- fixed bug where runtests returned whether all tests had passed,
rather than whether all test run on test object passed
- bug with runtests showing duplicate header lines fixed (thanks
to Michael for adding has_plan() to Test::Builder)
- FAIL_ALL now exits with the # tests failed (or 254 if
more than 254 tests failed) to match behaviour of Test::Simple
et al.
- An extra exception thrown after all the tests in a method have
run now causes a failed test (to better match the behaviour of a
die at the end of a normal test script).
- Changed diagnostic messages when exceptions occur to show
method exception occurred in. Makes tracking failure easier.
- Added Test::Class::BaseTest - base class for creating a fixture
and testing it's of the correct class.
- Diagnostic messages improved
- Plan correctly shown when setup/teardown method without any
tests throws an exception
- TEST_VERBOSE now outputs a newline before the method name which
makes reading verbose output easier.
- Added startup and shutdown methods after suggestion from
Tony Bowden.
- Added run_all_classes and autorun - inspired by comments from
Tony Bowden on running multiple Test::Classes easily
- Changed runtests so that it will run all of a classes
autorunnable sub-classes if called as a class method with no
arguments.
0.03 Thu Jun 20 [2002-06-20]
- fixed README
- fixed tests that broke now Test::Builder (quite rightly) can
no longer display multiple plans in v0.15
- tidied up the code a little.
0.02 Sat Jun 15 [2002-06-15]
- released to [email protected]
0.01 Fri May 10 22:36:52 2002
- original version; created by h2xs 1.21 with options
-AX -n Test::Class