Test::Harness is included in perl>=5.8.3, and for that reason,
p5-Test-Harness has a CONFLICT on perl>=5.8.3 which was blocking many
packages from being installed.
- use buildlink2
Changes :
0.47 Mon Aug 26 03:54:22 PDT 2002
* Tatsuhiko Miyagawa noticed Test::Builder was accidentally storing
objects passed into test functions causing problems with tests
relying on object destruction.
- Added example of calculating the number of tests to Test::Tutorial
- Peter Scott made the ending logic not fire on child processes when
forking.
* Test::Builder is once again ithread safe.
0.46 Sat Jul 20 19:57:40 EDT 2002
- Noted eq_set() isn't really a set comparision.
- Test fix, exit codes are broken on MacPerl (bleadperl@16868)
- Make Test::Simple install itself into the core for >= 5.8
- Small fixes to Test::Tutorial and skip examples
* Added TB->has_plan() from Adrian Howard
- Clarified the meaning of 'actual_ok' from TB->details
* Added TB->details() from chromatic
- Neil Watkiss fixed a pre-5.8 test glitch with threads.t
* If the test died before a plan, it would exit with 0 [ID 20020716.013]
0.45 Wed Jun 19 18:41:12 EDT 2002
- Andy Lester made the SKIP & TODO docs a bit clearer.
- Explicitly disallowing double plans. (RT #553)
- Kicking up the minimum version of Test::Harness to one that's
fairly bug free.
- Made clear a common problem with use_ok and BEGIN blocks.
- Arthur Bergman made Test::Builder thread-safe.
Changes since p5-Test-Simple-0.43 :
- names containing newlines no longer produce confusing output
(from chromatic)
- chromatic provided a fix so can_ok() honors can() overrides.
- Nick Ing-Simmons suggested todo_skip() be a bit clearer about
the skipping part.
- Making plan() vomit if it gets something it doesn't understand.
- Tatsuhiko Miyagawa fixed use_ok() with pragmata on older perls.
- quieting diag(undef)
- change to my email address
Changes since p5-Test-Simple-0.42
- Adrian Howard added TB->maybe_regex()
- Adding Mark Fowler's suggestion to make diag() return
false.
- TB->current_test() still not working when no tests were run via
TB itself. Fixed by Dave Rolsky.
- Setting Test::Builder->current_test() now works (see what happens
when you forget to test things?)
- The change in is()'s undef/'' handling in 0.34 was an API change,
but I forgot to declare it as such.
- The apostrophilic jihad attacks! Philip Newtons patch for
grammar mistakes in the doc's.
- isa_ok() now accepts unblessed references gracefully
- exit.t was hanging on 5.005_03 VMS perl. Test now skipped.
- can_ok() would pass if no methods were given. Now fails.
- isnt() diagnostic output format changed
- Added Test::More->builder
- Added cmp_ok(), todo_skip(), unlike()
Changes :
- Empty string no longer matches undef in is() and isnt()
- Added isnt_eq and isnt_num to Test::Builder
- Little glitch in the test suite.
- fixed intermixed prints to STDOUT and test output came
out in the wrong order when piped
* It's now officially safe to redirect STDOUT and STDERR without
affecting test output.
- License and POD cleanup by Autrijus Tang
- Synched up Test::Tutorial with the wiki version
- Minor VMS test nit.
* Finally added a seperate plan() function
* Adding a name field to isa_ok()
(Requested by Dave Rolsky)
- Test::More was using Carp.pm, causing the occasional false positive.
(Reported by Tatsuhiko Miyagawa)
* Added Test::Builder
(Thanks muchly to chromatic for getting this off the ground!)
* Diagnostics are back to using STDERR *unless* it's from a todo
test. Those go to STDOUT.
- Fixed it so nothing is printed if a test is run with a -c flag.
Handy when a test is being deparsed with B::Deparse.
* Test::Simple and Test::More no longer print their diagnostics
to STDERR. It instead goes to STDOUT.
* TODO tests which fail now print full failure diagnostics.
- Minor bug in ok()'s test name diagnostics made it think a blank
name was a number.
- ok() less draconian about test names
- Added temporary special case for Parrot::Test
- Now requiring File::Spec for our tests.
* ***API CHANGE*** can_ok() only counts as one test
- can_ok() has better diagnostics
- Minor POD fixes from mjd
- adjusting the internal layout to make it easier to put it into
the core
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
This is an extremely simple, extremely basic module for writing tests
suitable for CPAN modules and other pursuits. If you wish to do more
complicated testing, use the Test::More module (a drop-in replacement
for this one).
Provided in pkg/13846 by Sen Nagata <sen@eccosys.com>.