10.107 2 3Test::Tester::Capgture::new used to just return __PACKAGE__ 4because Test::Builder::new enforced it's singleton nature by 5return __PACKAGE__. That has since changed, Test::Builder::new now 6returns a blessed has and around version 0.78, Test::Builder::todo 7started wanting to modify $self. To cope with this, we now return 8a blessed hash. This is a short-term hack, the correct thing to do 9is to detect which style of Test::Builder we're dealing with and 10act appropriately. 11 120.106 13 14Some doc clarifications and improvements. 15 160.105 17 18Fixed documentation for run_tests - looks like I copied code for 19check_test and didn't alter it correctly. Ricardo Signes pointed out 20the errors. 21 22Removed the code and docs related to the $name parameter of run_tests, 23it had no effect and a name makes no sense (again a hang over from 24factoring this out of check_tests I guess). 25 260.104 27 28Removed a bogus entry for Exporter in @ISA in Test::Tester::Capture 29and add a "use Test::Builder". This can cause problems that I can't 30reproduce. Thanks to Andres Koenig. 31 320.103 33 34Default to checking depth (check against 1 if none specified). This means 35that by default we are checking that the line number/file in failure 36messages will be correct. 37 380.102 39 40Fixed a problem due to subroutine argument aliasing which meant the 41delegate object could be replaced by the real Test::Builder object. 42 43Test::Tester must be loaded before Test::Builder. Check for this and warn if 44it's not true. 45 460.101 47 48Added colourisation support. 49 500.10 51 52Automatically add \n to the expected diagnostics if it's not already there, 53because Test::Builder::diag does the same. Thanks to James FitzGibbon for 54the suggestion. 55 56Now it's much easier to spot trailing spaces in diagnostics and also 57possible to escape all "tricky" characters to make them easy to 58troubleshoot. 59 600.09 61 62The depth calculation would die if it couldn't find the correct things in 63the call stack. This seemed like a good idea but it breaks tests which are 64triggered in signal handlers. So now the calculation will fail silently. 65 66Using local rather than set/unset for the delegator so that if something 67dies, we will drop back to the correct test object. 68 690.08 70 71check_test was getting the Level wrong 72 73Made it all very nice so that don't have to worry about providing capture 74objects or any of that messiness. Things are automatically captured once 75you're inside one of Test::Tester's testing routines. 76 77Added depth to allow testing $Test::Builder::Level. 78 79Updated the POD a bit. 80 810.07 82 83Spellchecked the POD 84 850.06 86 87Allow getting current_test but still die if someone tries to set it. Needed 88for testing Test::Warn::None 89 900.05 91 92Added string length length to the diags diags 93 94Corrected level problem cmp_results 95 960.04 97 98Got rid of undef warning when no name supplied 99 100got rid of unneeded result counting in hceck_test 101 1020.03 103 104Can now capture test output in a veriety of ways, although at the moment I'm 105only including one way as I think the other way is quite sucky. 106 107added capturing of skip, and todo_skip 108 109big changes resulting in better handling of everything 110 1110.02 112 113made the diag comparison output nicer 114 1150.01 116 117First release 118