| 1 |
Revision history for Perl extension Test::Spec. |
| 2 |
|
| 3 |
0.54 Tue Nov 21 12:46:00 MSK 2017 |
| 4 |
- `around` method added to allow localized variables and other local setup. |
| 5 |
Call `yield` method to run examples by `around` CODE. |
| 6 |
Contributed by @akzhan |
| 7 |
|
| 8 |
- Replace some `use base` with `use parent` and other minor updates. |
| 9 |
Contributed by @akzhan |
| 10 |
|
| 11 |
- Now tested under Perl 5.22-5.26 too |
| 12 |
Contributed by @akzhan |
| 13 |
|
| 14 |
- predictable_destroy spec fixed under Perl 5.8 |
| 15 |
Contributed by @akzhan |
| 16 |
|
| 17 |
0.53 Wed Aug 16 09:49:00 BST 2017 |
| 18 |
- POD links are clickable |
| 19 |
Contributed by @manwar (issue #42) |
| 20 |
|
| 21 |
0.52 Tue Aug 15 10:20:00 BST 2017 |
| 22 |
- Pass example instance to each test |
| 23 |
Contributed by @jamhed (issue #30, #41) |
| 24 |
- Fix runtests to run all examples that match any of the patterns |
| 25 |
Contributed by @mpw96 (issue #37, #38) |
| 26 |
- Ensure META.json includes requirements |
| 27 |
Reported by @joelrebel (issue #39) |
| 28 |
|
| 29 |
0.51 Mon Jul 27 20:05:00 BST 2015 |
| 30 |
- Fixed top level describe blocks running out of order |
| 31 |
Contributed by @mla (issue #28) |
| 32 |
|
| 33 |
0.50 Sun Apr 19 18:13:00 BST 2015 |
| 34 |
- Removed several memory leaks |
| 35 |
Reported by @JRaspass (issue #24) |
| 36 |
- any_number() no longer fails if it is never called |
| 37 |
Contributed by @ptolemarch and @cavemanpi (issue #25) |
| 38 |
|
| 39 |
0.49 Sun Jan 18 12:56:00 EST 2015 |
| 40 |
- Added with_deep |
| 41 |
Contributed by Andy Jones (issue #21) |
| 42 |
- Documented memory leak in stub() |
| 43 |
Reported by Victor Efimov (issue #14) |
| 44 |
- Added Travis CI info |
| 45 |
Contributed by Andy Jones (issue #23) |
| 46 |
- Fixed mock() example documentation |
| 47 |
Reported by Victor Efimov (issue #15) |
| 48 |
Contributed by Andy Jones (issue #22) |
| 49 |
|
| 50 |
0.48 Tue Jan 06 22:52:00 EST 2015 |
| 51 |
- Testing fixes for Alpha branch of Test::More |
| 52 |
Contributed by Chad Granum (issue #18) |
| 53 |
- Metadata fixes |
| 54 |
Contributed by Graham Knop (issue #19) |
| 55 |
|
| 56 |
0.47 Fri Oct 11 01:22:00 EDT 2012 |
| 57 |
- added repository metadata for CPAN |
| 58 |
Contributed by David Steinbrunner (issue #13) |
| 59 |
|
| 60 |
0.46 Tue Oct 2 13:23:00 EDT 2012 |
| 61 |
- with() enables argument matching on mocked methods |
| 62 |
- raises() makes mocked methods raise exceptions |
| 63 |
Contributed by Kjell-Magne Øierud (issue #12) |
| 64 |
|
| 65 |
0.45 Mon May 7 10:08:13 EDT 2012 |
| 66 |
- Add support for TAP version 13. |
| 67 |
Contributed by Michael G. Schwern (issue #11) |
| 68 |
|
| 69 |
0.44 Mon Apr 30 11:04:00 CST 2012 |
| 70 |
- Allow shared_examples_for to be defined in any context. |
| 71 |
|
| 72 |
0.43 Sat Apr 14 16:22:00 EST 2012 |
| 73 |
- Fixed runtests() to honor its contract to run only the examples specified |
| 74 |
in its @patterns parameter or SPEC environment variable. |
| 75 |
|
| 76 |
0.42 Mon Mar 05 21:18:00 CST 2012 |
| 77 |
- Added context() and xcontext() aliases for describe/xdescribe |
| 78 |
(reported by intrigeri) |
| 79 |
|
| 80 |
0.41 Sat Mar 03 19:04:00 EST 2012 |
| 81 |
- Added license info to Makefile.PL (RT #75400) |
| 82 |
- Fixed test suite problems on Windows |
| 83 |
|
| 84 |
0.40 Mon Jan 30 18:38:00 EST 2012 |
| 85 |
- Fixed problem that caused Test::Spec usage errors (e.g. 'describe "foo";' |
| 86 |
without a subroutine argument) to be reported from inside the library, |
| 87 |
instead of the caller's perspective where the actual error is. |
| 88 |
|
| 89 |
0.39 Wed Aug 31 00:52:00 EST 2011 |
| 90 |
- Added xit/xthey/xdescribe to mark TODO tests, inspired by the |
| 91 |
Jasmine JavaScript framework. |
| 92 |
Contributed by Marian Schubert (issue #10). |
| 93 |
|
| 94 |
0.38 Sat Jul 09 23:16:00 EST 2011 |
| 95 |
- Added share() function to facilitate spec refactoring. |
| 96 |
|
| 97 |
0.37 Thu Jul 07 13:55:00 EST 2011 |
| 98 |
- Fixed bug where shared examples defined in one package could not be |
| 99 |
used in another package. |
| 100 |
|
| 101 |
0.36 Tue Jul 05 18:23:00 EST 2011 |
| 102 |
- Improved reporting of errors using spec_helper. |
| 103 |
- Minor documentation formatting fixes |
| 104 |
|
| 105 |
0.35 Wed Jun 29 16:52:00 UTC 2011 |
| 106 |
- Fixed test suite for Windows environments. |
| 107 |
|
| 108 |
0.34 |
| 109 |
- Added spec_helper utility function to load helper scripts |
| 110 |
relative to the spec. |
| 111 |
|
| 112 |
0.33 Mon Jun 13 15:03:03 UTC 2011 |
| 113 |
- Added shared_examples_for/it_should_behave_like to allow |
| 114 |
factorization of tests. |
| 115 |
|
| 116 |
0.32 Thu Jun 9 16:09:55 UTC 2011 |
| 117 |
- Fixed a problem with the tests that occurred only when |
| 118 |
Package::Stash::XS was not installed (issue #8). |
| 119 |
|
| 120 |
0.31 |
| 121 |
- "use Test::Spec" now enables strict and warnings in the calling |
| 122 |
scope to lessen boilerplate code in specs. |
| 123 |
Contributed by Marian Schubert (issues #2, #3, #4, #7) |
| 124 |
- 6x speed improvement by removing Moose (test suite went from 8.33s |
| 125 |
to 1.25s). |
| 126 |
- Diagnostics improvements (issue #5) |
| 127 |
|
| 128 |
0.30 Fri Jun 3 04:55:54 2011 |
| 129 |
- Examples that die will now display the error message even when run |
| 130 |
through a harness like prove(1). |
| 131 |
|
| 132 |
0.29 Thu May 19 18:49:00 2011 |
| 133 |
- Quell annoying Test::Deep::isa() warnings. |
| 134 |
|
| 135 |
0.28 Thu May 19 11:15:58 2011 |
| 136 |
- Extracted from ICA::Test::Spec |
| 137 |
|