]>
git.vpit.fr Git - perl/modules/Test-Leaner.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Vincent Pit [Fri, 8 Apr 2011 18:30:04 +0000 (20:30 +0200)]
Silence ugly 'redefined' warnings in t/01-import.t with old Test::More
Vincent Pit [Fri, 8 Apr 2011 18:25:14 +0000 (20:25 +0200)]
Skip the first import argument test with Test::More 0.51 and lower
Since its plan() function wrongly exports symbols.
Vincent Pit [Fri, 8 Apr 2011 18:22:52 +0000 (20:22 +0200)]
Handle all-negated imports properly
In particular, make sure stubs are imported with old versions of
Test::More.
Vincent Pit [Fri, 8 Apr 2011 18:04:38 +0000 (20:04 +0200)]
Report the correct line in import argument tests
Vincent Pit [Fri, 8 Apr 2011 17:40:34 +0000 (19:40 +0200)]
Croak when importing symbols from Test::More that aren't in Test::Leaner
Vincent Pit [Fri, 8 Apr 2011 15:58:57 +0000 (17:58 +0200)]
Fix the handling of the "import" import argument
And test it for Test::Leaner and for the Test::More fallback interface.
Vincent Pit [Wed, 23 Feb 2011 22:23:00 +0000 (23:23 +0100)]
Document that isn't() is not aliased to isnt()
Vincent Pit [Mon, 24 Jan 2011 12:19:47 +0000 (13:19 +0100)]
Bump copyright year
Vincent Pit [Fri, 21 Jan 2011 12:48:22 +0000 (13:48 +0100)]
Test that ok() really honors 'bool' overloading
Vincent Pit [Fri, 21 Jan 2011 11:16:26 +0000 (12:16 +0100)]
Directly test the truth of $ok in ok()
Vincent Pit [Fri, 21 Jan 2011 11:15:50 +0000 (12:15 +0100)]
Document that isnt() honors 'ne' overloading
Vincent Pit [Fri, 21 Jan 2011 11:05:44 +0000 (12:05 +0100)]
Another POD typo
Vincent Pit [Tue, 18 Jan 2011 10:30:24 +0000 (11:30 +0100)]
Clean up the import replacement a bit
Vincent Pit [Tue, 18 Jan 2011 10:15:26 +0000 (11:15 +0100)]
Talk about is_deeply() in POD
Vincent Pit [Tue, 18 Jan 2011 10:12:11 +0000 (11:12 +0100)]
POD typo
Vincent Pit [Wed, 29 Dec 2010 16:53:42 +0000 (17:53 +0100)]
This is 0.02
Vincent Pit [Wed, 29 Dec 2010 16:40:58 +0000 (17:40 +0100)]
Only run the END block in the main process
This prevents from outputting the plan several times at the end when
the process is forked and 'no_plan' was specified.
Vincent Pit [Wed, 29 Dec 2010 16:30:38 +0000 (17:30 +0100)]
Remove the dependency on Scalar::Util
It will be loaded only if it is available.
Vincent Pit [Wed, 29 Dec 2010 16:17:47 +0000 (17:17 +0100)]
Fall back to Test::More when PERL_TEST_LEANER_USES_TEST_MORE is set
Vincent Pit [Wed, 29 Dec 2010 00:13:47 +0000 (01:13 +0100)]
Also print the plan at the END when a test failed under 'no_plan'
Vincent Pit [Tue, 28 Dec 2010 23:49:27 +0000 (00:49 +0100)]
Test is_deeply against deep datastructures
Vincent Pit [Tue, 28 Dec 2010 22:34:05 +0000 (23:34 +0100)]
Optimize is_deeply for large datastructures
Vincent Pit [Tue, 28 Dec 2010 21:31:05 +0000 (22:31 +0100)]
Add pointers to the original documentation from Test::More
Vincent Pit [Tue, 28 Dec 2010 21:24:56 +0000 (22:24 +0100)]
In _deep_check, always iterate on $y
This change actually has no practical consequence.
Vincent Pit [Tue, 28 Dec 2010 21:23:44 +0000 (22:23 +0100)]
Document two more differences with Test::More
Vincent Pit [Tue, 28 Dec 2010 16:56:35 +0000 (17:56 +0100)]
This is 0.01
Vincent Pit [Tue, 28 Dec 2010 16:45:39 +0000 (17:45 +0100)]
Prevent vivification of deleted elements by fetching the array values
Vincent Pit [Tue, 28 Dec 2010 14:36:36 +0000 (15:36 +0100)]
Document that we don't output default diagnostics
Vincent Pit [Tue, 28 Dec 2010 14:31:22 +0000 (15:31 +0100)]
Implement and test is_deeply()
Vincent Pit [Tue, 28 Dec 2010 11:49:55 +0000 (12:49 +0100)]
Add a sample contrived benchmark
Vincent Pit [Tue, 28 Dec 2010 11:31:14 +0000 (12:31 +0100)]
Document THREADSAFE
Vincent Pit [Tue, 28 Dec 2010 11:27:29 +0000 (12:27 +0100)]
Make _sanitize_comment() private
Vincent Pit [Tue, 28 Dec 2010 11:20:22 +0000 (12:20 +0100)]
Expand the list of valid operators for cmp_ok
Vincent Pit [Tue, 28 Dec 2010 11:07:15 +0000 (12:07 +0100)]
Get rid of skip_all()
It is only implemented in Test::Builder.
Vincent Pit [Tue, 28 Dec 2010 11:06:15 +0000 (12:06 +0100)]
Document differences
Vincent Pit [Tue, 28 Dec 2010 10:33:05 +0000 (11:33 +0100)]
Test cmp_ok() with overloading
Vincent Pit [Tue, 28 Dec 2010 10:13:37 +0000 (11:13 +0100)]
Test ok() return value, with overloading, and failing
Vincent Pit [Tue, 28 Dec 2010 09:48:47 +0000 (10:48 +0100)]
Factor the capturing logic into Test::Leaner::TestHelper
Vincent Pit [Mon, 27 Dec 2010 22:49:16 +0000 (23:49 +0100)]
Test BAIL_OUT()
Vincent Pit [Mon, 27 Dec 2010 22:25:23 +0000 (23:25 +0100)]
Test pass() and fail()
Vincent Pit [Mon, 27 Dec 2010 21:48:17 +0000 (22:48 +0100)]
Add tap_stream()/diag_stream()
Vincent Pit [Sat, 25 Dec 2010 18:42:18 +0000 (19:42 +0100)]
Document that tests functions return the value of the test
Vincent Pit [Sat, 25 Dec 2010 18:28:36 +0000 (19:28 +0100)]
Add author tests and minimal documentation
Vincent Pit [Sat, 25 Dec 2010 11:04:55 +0000 (12:04 +0100)]
Turn autoflush on as soon as the module is loaded
With done_testing(), it is valid to run tests before outputting the plan.
Vincent Pit [Sat, 25 Dec 2010 11:02:14 +0000 (12:02 +0100)]
Lock before setting $no_diag
Vincent Pit [Fri, 24 Dec 2010 17:59:58 +0000 (18:59 +0100)]
Also share $done_testing
Vincent Pit [Fri, 24 Dec 2010 17:49:43 +0000 (18:49 +0100)]
Fix and test skip()
Vincent Pit [Fri, 24 Dec 2010 17:44:03 +0000 (18:44 +0100)]
More cmp_ok() tests
Vincent Pit [Fri, 24 Dec 2010 17:33:43 +0000 (18:33 +0100)]
Generate binop comparators on the fly
Except for is_like() and is_unlike() which are needed for like() and
unlike().
This should also make cmp_ok() a little faster since we don't have to
resolve the symbolic reference at each run.
Vincent Pit [Fri, 24 Dec 2010 17:21:08 +0000 (18:21 +0100)]
Better variable names
Vincent Pit [Fri, 24 Dec 2010 17:15:02 +0000 (18:15 +0100)]
Only is() should treat undef specially
Vincent Pit [Fri, 24 Dec 2010 17:01:18 +0000 (18:01 +0100)]
Fix, export and test cmp_ok()
Vincent Pit [Fri, 24 Dec 2010 16:31:57 +0000 (17:31 +0100)]
Fix and test thread safety
Vincent Pit [Fri, 24 Dec 2010 15:32:30 +0000 (16:32 +0100)]
Initial commit