390 lines
11 KiB
Plaintext
390 lines
11 KiB
Plaintext
|
2003-01-15 13:48 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* t/15_setupteardown.t (1.4):
|
||
|
|
||
|
- Added/refined tests to match refined setup/teardown behaviour.
|
||
|
|
||
|
2003-01-15 13:47 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* Makefile.PL (1.5):
|
||
|
|
||
|
- Converted to use ExtUtils::AutoInstall.
|
||
|
|
||
|
2003-01-15 13:46 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* t/: 05_importTestData.t (1.1), 12_testdata.t (1.1):
|
||
|
|
||
|
Initial commit.
|
||
|
|
||
|
2003-01-15 12:58 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* lib/Test/SimpleUnit.pm (1.21):
|
||
|
|
||
|
- Removed leftover conflict section.
|
||
|
|
||
|
2003-01-15 12:48 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* lib/Test/SimpleUnit.pm (1.20):
|
||
|
|
||
|
- Added 'AutoskipFailedTeardown' global and accessors.
|
||
|
|
||
|
- Added loadTestData() and saveTestData() functions and ':testdata' export flag
|
||
|
|
||
|
- Modified comparison assertions to use Data::Compare.
|
||
|
|
||
|
- Added functions/data to allow modification of output handle.
|
||
|
|
||
|
- Generalized assertion-bookkeeping into functions.
|
||
|
|
||
|
- Handled undefined values more cleanly in assertion messages.
|
||
|
|
||
|
- Added ability to stack setup/teardown functions for one-time setup or
|
||
|
teardowns.
|
||
|
|
||
|
2002-06-24 16:28 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* t/: 05_asserts.t (1.5), 06_skips.t (1.4), 07_setupteardown.t
|
||
|
(1.4), 08_emptysuite.t (1.2), 09_bugs.t (1.2):
|
||
|
|
||
|
'Updated'
|
||
|
|
||
|
2002-05-14 17:39 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* lib/Test/SimpleUnit.pm (1.19):
|
||
|
|
||
|
- Cleaned up handling of undef values in default error messages for
|
||
|
assertKindOf() and assertInstanceOf().
|
||
|
|
||
|
2002-05-13 21:02 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* Makefile.PL (1.4, RELEASE_1_18):
|
||
|
|
||
|
- Added some dependencies to the require list.
|
||
|
|
||
|
2002-05-13 21:01 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* lib/Test/SimpleUnit.pm (1.18, RELEASE_1_18):
|
||
|
|
||
|
- Added functions/package variables to support switching the test output IO
|
||
|
handle to something different for the purposes of self-testing.
|
||
|
|
||
|
- Modified assertion counter code to support recursive calls to runTests().
|
||
|
|
||
|
2002-05-13 20:59 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* t/: 09_bugs.t (1.1), 30_bugs.t (1.1) (utags: RELEASE_1_18):
|
||
|
|
||
|
- Initial commit.
|
||
|
|
||
|
2002-04-25 14:53 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* t/: 07_setupteardown.t (1.3), 15_setupteardown.t (1.3) (utags:
|
||
|
RELEASE_1_18, RELEASE_1_17):
|
||
|
|
||
|
- Modified to test the setup/teardown superseding rules.
|
||
|
|
||
|
2002-04-25 14:52 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* README (1.4, RELEASE_1_18, RELEASE_1_17):
|
||
|
|
||
|
- Cleaned up to reflect the changes made to the module.
|
||
|
|
||
|
- Clarified meaning of parts, added better example, etc.
|
||
|
|
||
|
- Removed references to XUnit, as this isn't exactly an XUnit-type framework.
|
||
|
|
||
|
2002-04-25 14:50 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* lib/Test/SimpleUnit.pm (1.17, RELEASE_1_17):
|
||
|
|
||
|
- Cleaned up and corrected documentation.
|
||
|
|
||
|
- Separated example code from synopsis
|
||
|
|
||
|
- Added beginnings of debugging code
|
||
|
|
||
|
- Modified setup/teardown to use superseding rule instead of additive rules.
|
||
|
|
||
|
2002-04-23 16:04 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* lib/Test/SimpleUnit.pm (1.16, RELEASE_1_16):
|
||
|
|
||
|
- Split up somewhat into functions.
|
||
|
|
||
|
- Fixed bug that surfaced when running an empty test suite, or a suite with only
|
||
|
'setup' and 'teardown' tests.
|
||
|
|
||
|
- Fixed error reporting: now failures are reported for TEST_VERBOSE=1 as well as
|
||
|
VERBOSE=1.
|
||
|
|
||
|
2002-04-23 16:01 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* t/: 08_emptysuite.t (1.1), 20_emptysuite.t (1.1) (utags:
|
||
|
RELEASE_1_18, RELEASE_1_17, RELEASE_1_16):
|
||
|
|
||
|
Initial commit.
|
||
|
|
||
|
2002-04-22 16:15 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* lib/Test/SimpleUnit.pm (1.15, RELEASE_1_15):
|
||
|
|
||
|
- Fixed some X<> POD constructs that should have been L<> ones.
|
||
|
|
||
|
2002-04-22 16:14 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* README (1.3, RELEASE_1_16, RELEASE_1_15):
|
||
|
|
||
|
- Added longer description.
|
||
|
|
||
|
2002-04-15 13:54 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* t/: 06_skips.t (1.3), 11_skips.t (1.3) (utags: RELEASE_1_18,
|
||
|
RELEASE_1_15, RELEASE_1_14, RELEASE_1_17, RELEASE_1_16):
|
||
|
|
||
|
- Added 'AutoskipFailedSetup' tests.
|
||
|
|
||
|
2002-04-15 13:54 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* lib/Test/SimpleUnit.pm (1.14, RELEASE_1_14):
|
||
|
|
||
|
- Updated, added documentation
|
||
|
|
||
|
- Changed AutoskipFailedSetup to a function, as it was rather incongruous as a
|
||
|
method. The method style stills works, but it's deprecated.
|
||
|
|
||
|
- Added code to allow 'setup' and 'teardown' cases to specify their coderefs
|
||
|
with a 'func' key rather than 'test' for clarity.
|
||
|
|
||
|
2002-04-08 12:57 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* README (1.2, RELEASE_1_14, RELEASE_1_13):
|
||
|
|
||
|
- De-tabified.
|
||
|
|
||
|
2002-04-08 12:52 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* README (1.1):
|
||
|
|
||
|
Initial commit.
|
||
|
|
||
|
2002-04-08 12:50 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* t/: 05_asserts.t (1.4), 10_asserts.t (1.4) (utags: RELEASE_1_18,
|
||
|
RELEASE_1_15, RELEASE_1_14, RELEASE_1_17, RELEASE_1_16,
|
||
|
RELEASE_1_13):
|
||
|
|
||
|
- Modified error messages to reflect changes in assert().
|
||
|
|
||
|
2002-04-08 12:47 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* lib/Test/SimpleUnit.pm (1.13, RELEASE_1_13):
|
||
|
|
||
|
- Modified to pass "\n" as the last arg to die to remove the irrelevant 'at
|
||
|
line...' message. When I have more time, I should add code to backtrace
|
||
|
through caller() and get a useful equivalent.
|
||
|
|
||
|
- Look for $ENV{TEST_VERBOSE}, too.
|
||
|
|
||
|
2002-03-29 16:45 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* Makefile.PL (1.3, RELEASE_1_17, RELEASE_1_16, RELEASE_1_15,
|
||
|
RELEASE_1_14, RELEASE_1_13, RELEASE_1_12):
|
||
|
|
||
|
- Fixed ci/tag target
|
||
|
|
||
|
2002-03-29 16:41 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* Makefile.PL (1.2), lib/Test/SimpleUnit.pm (1.12, RELEASE_1_12),
|
||
|
t/00_require.t (1.2, RELEASE_1_18, RELEASE_1_17, RELEASE_1_16,
|
||
|
RELEASE_1_15, RELEASE_1_14, RELEASE_1_13, RELEASE_1_12),
|
||
|
t/01_importAll.t (1.2, RELEASE_1_18, RELEASE_1_17, RELEASE_1_16,
|
||
|
RELEASE_1_15, RELEASE_1_14, RELEASE_1_13, RELEASE_1_12),
|
||
|
t/02_importAsserts.t (1.3, RELEASE_1_18, RELEASE_1_17,
|
||
|
RELEASE_1_16, RELEASE_1_15, RELEASE_1_14, RELEASE_1_13,
|
||
|
RELEASE_1_12), t/03_importTfuncs.t (1.2, RELEASE_1_18,
|
||
|
RELEASE_1_17, RELEASE_1_16, RELEASE_1_15, RELEASE_1_14,
|
||
|
RELEASE_1_13, RELEASE_1_12), t/04_importSkips.t (1.2, RELEASE_1_18,
|
||
|
RELEASE_1_17, RELEASE_1_16, RELEASE_1_15, RELEASE_1_14,
|
||
|
RELEASE_1_13, RELEASE_1_12), t/05_asserts.t (1.3, RELEASE_1_12),
|
||
|
t/06_skips.t (1.2, RELEASE_1_13, RELEASE_1_12),
|
||
|
t/07_setupteardown.t (1.2, RELEASE_1_16, RELEASE_1_15,
|
||
|
RELEASE_1_14, RELEASE_1_13, RELEASE_1_12), t/10_asserts.t (1.3,
|
||
|
RELEASE_1_12), t/11_skips.t (1.2, RELEASE_1_13, RELEASE_1_12),
|
||
|
t/15_setupteardown.t (1.2, RELEASE_1_16, RELEASE_1_15,
|
||
|
RELEASE_1_14, RELEASE_1_13, RELEASE_1_12):
|
||
|
|
||
|
- Renamed to Test::SimpleUnit
|
||
|
|
||
|
2002-03-29 15:59 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* TestFramework.pm (1.12):
|
||
|
|
||
|
Renamed and moved into lib/Test
|
||
|
|
||
|
2002-03-28 14:01 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* TestFramework.pm (1.11, RELEASE_1_11), lib/Test/SimpleUnit.pm
|
||
|
(1.11):
|
||
|
|
||
|
- Fixed copyright.
|
||
|
|
||
|
2002-03-28 13:59 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* TestFramework.pm (1.10), lib/Test/SimpleUnit.pm (1.10):
|
||
|
|
||
|
- assertExceptionMatches(): New assertion function.
|
||
|
|
||
|
- assertExceptionType(): New assertion function.
|
||
|
|
||
|
- assertKindOf(): New assertion function.
|
||
|
|
||
|
- Corrected skip handling for setup/teardown.
|
||
|
|
||
|
- Added handler for 'skipAll' to setup/teardown.
|
||
|
|
||
|
2002-03-28 12:00 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* t/: 05_asserts.t (1.2), 10_asserts.t (1.2) (utags: RELEASE_1_11):
|
||
|
|
||
|
- Added tests for assertExceptionType() and assertExceptionMatch().
|
||
|
|
||
|
- Simplified some of the other tests with new asserts.
|
||
|
|
||
|
2002-03-22 18:21 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* t/: 07_setupteardown.t (1.1), 15_setupteardown.t (1.1) (utags:
|
||
|
RELEASE_1_11, RELEASE_1_09):
|
||
|
|
||
|
First commit.
|
||
|
|
||
|
2002-03-22 18:20 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* TestFramework.pm (1.9, RELEASE_1_09), lib/Test/SimpleUnit.pm
|
||
|
(1.9):
|
||
|
|
||
|
- Added 'setup' and 'teardown' test handling to facilitate XUnit-style pre- and post-test functions. This feature still needs documenting.
|
||
|
|
||
|
- AutoskipFailedSetup(): New method to automatically skip any tests in a test case after a 'setup' test has failed.
|
||
|
|
||
|
2002-03-21 18:30 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* t/: 04_importSkips.t (1.1, RELEASE_1_11), 05_asserts.t (1.1),
|
||
|
06_skips.t (1.1, RELEASE_1_11), 10_asserts.t (1.1), 11_skips.t
|
||
|
(1.1, RELEASE_1_11) (utags: RELEASE_1_09):
|
||
|
|
||
|
Initial commit.
|
||
|
|
||
|
2002-03-21 18:30 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* t/04_asserts.t (1.3):
|
||
|
|
||
|
- Renamed to 05_asserts.t to make room for the skip-import tests.
|
||
|
|
||
|
2002-03-21 18:27 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* TestFramework.pm (1.8), lib/Test/SimpleUnit.pm (1.8):
|
||
|
|
||
|
- fail: New function
|
||
|
|
||
|
- skipOne: New function
|
||
|
|
||
|
- skipAll: New function
|
||
|
|
||
|
- Fixed up some warnings that showed up when using assertUndef() and assertNot()
|
||
|
with undefined values and no message.
|
||
|
|
||
|
2002-03-05 15:47 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* t/04_asserts.t (1.2):
|
||
|
|
||
|
- Modified import tag to reflect name change from 'assertFunctions' to
|
||
|
'asserts'.
|
||
|
|
||
|
- Added tests for new assertions 'assertDefined' and 'assertUndef'.
|
||
|
|
||
|
2002-03-05 15:46 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* t/02_importAsserts.t (1.2, RELEASE_1_11, RELEASE_1_09):
|
||
|
|
||
|
- Modified import tag to reflect name change from 'assertFunctions' to
|
||
|
'asserts'.
|
||
|
|
||
|
2002-03-05 15:46 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* TestFramework.pm (1.7), lib/Test/SimpleUnit.pm (1.7):
|
||
|
|
||
|
- Changed the name of the assertion exporter tag to 'asserts'; an
|
||
|
'assertFunctions' tag remains for backwards-compatibility, but may be
|
||
|
deprecated in the future.
|
||
|
|
||
|
- Added 'assertUndef' assertion
|
||
|
|
||
|
- Added 'assertDefined' assertion
|
||
|
|
||
|
2001-11-28 13:13 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* TestFramework.pm (1.6), lib/Test/SimpleUnit.pm (1.6):
|
||
|
|
||
|
- Update documentation.
|
||
|
|
||
|
2001-10-29 12:43 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* t/04_asserts.t (1.1):
|
||
|
|
||
|
First release.
|
||
|
|
||
|
2001-10-29 12:43 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* TestFramework.pm (1.5), lib/Test/SimpleUnit.pm (1.5):
|
||
|
|
||
|
- Cleaned up a bunch of places where an undefined value in an assertion value
|
||
|
was not handled gracefully. There are probably more somewhere.
|
||
|
|
||
|
- Added two more assertion functions: assertMatches() and assertNotRef().
|
||
|
|
||
|
- Moved the scalar test out of assertRef() and into the new assertNotRef().
|
||
|
|
||
|
- Made the error message for assertInstanceOf() a bit more accurate.
|
||
|
|
||
|
2001-09-08 23:12 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* TestFramework.pm (1.4), lib/Test/SimpleUnit.pm (1.4):
|
||
|
|
||
|
- Fixed POD escape thingies in the docs.
|
||
|
|
||
|
2001-09-08 23:10 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* TestFramework.pm (1.3), lib/Test/SimpleUnit.pm (1.3):
|
||
|
|
||
|
- Fixed auto-generated docs, as the moduletool parser apparently doesn't like
|
||
|
code sample indent stuff.
|
||
|
|
||
|
2001-08-03 16:35 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* TestFramework.pm (1.2), lib/Test/SimpleUnit.pm (1.2):
|
||
|
|
||
|
- Fixed and added more documentation
|
||
|
|
||
|
- Added true return value at module end
|
||
|
|
||
|
2001-08-03 15:55 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* Makefile.PL (1.1.1.1, RELEASE_1_11, RELEASE_1_09, RELEASE_1_1),
|
||
|
TestFramework.pm (1.1.1.1, RELEASE_1_1), lib/Test/SimpleUnit.pm
|
||
|
(1.1.1.1), t/00_require.t (1.1.1.1, RELEASE_1_11, RELEASE_1_09,
|
||
|
RELEASE_1_1), t/01_importAll.t (1.1.1.1, RELEASE_1_11,
|
||
|
RELEASE_1_09, RELEASE_1_1), t/02_importAsserts.t (1.1.1.1,
|
||
|
RELEASE_1_1), t/03_importTfuncs.t (1.1.1.1, RELEASE_1_11,
|
||
|
RELEASE_1_09, RELEASE_1_1):
|
||
|
|
||
|
Initial release.
|
||
|
|
||
|
2001-08-03 15:55 Michael Granger <ged@FaerieMUD.org>
|
||
|
|
||
|
* Makefile.PL (1.1), TestFramework.pm (1.1), lib/Test/SimpleUnit.pm
|
||
|
(1.1), t/00_require.t (1.1), t/01_importAll.t (1.1),
|
||
|
t/02_importAsserts.t (1.1), t/03_importTfuncs.t (1.1):
|
||
|
|
||
|
Initial revision
|
||
|
|