On Sun, Aug 26, 2001 at 03:02:16PM +0100, Richard Clamp wrote:
>
> Caveats, this isn't heading to CPAN today at the testsuite is far from
> comprehensive, and I'd like some feedback before I release it. That
> and I was due to meet people at the pub an hour ago.
How would I keep it from complai
On Wed, Aug 29, 2001 at 01:51:48AM -0400, Michael G Schwern wrote:
>
> First, the syntax for the code examples has changed. Instead of
> "=also begin/end example" it's "=for example begin/end". This doesn't
> cause existing POD viewers to choke.
So they just silently throw away all the example
I've written a Test::Differences[1] that outputs things like:
not ok 5
# Failed test 5 in blib/lib/Test/Differences.pm at line 221 fail #4 *TODO*
# +-+--+
# | Got | Expected |
# +-+--+
# | a\n | a\n |
# >x* b\n <
# | c\n | c\n
On Wed, Dec 12, 2001 at 08:54:51PM -0500, Michael G Schwern wrote:
> On Wed, Dec 12, 2001 at 04:38:20PM -0500, Barrie Slaymaker wrote:
> > I've written a Test::Differences[1] that outputs things like:
> >
> > not ok 5
> > # Failed test 5 in blib/lib/Test
ss this behavior if you don't like the namespace pollution.
At this time, each data structure is flattened independantly, which
looks goofy if one goes through Data::Dumper and the other doesn't.
AUTHOR
Barrie Slaymaker <[EMAIL PROTECTED]>
LICENSE
Copyright 2001 Barrie Slaymaker, All Rights Reserved.
You may use this software under the terms of the GNU public license, any
version, or the Artistic license.
Thanks both for the testing & bugfixes. Here's the escaping portion of
changes from 0.2 to 0.3, does this seem better?
There's also a test script for the escaping now :). I'd love to test
characters for codepoints > 0xff, but they're borken / unsupported in
all released perls, I think. Other r
Now I see what you're after with the -M approach, thanks for the
example.
On Sat, Dec 15, 2001 at 07:54:17PM +0900, Tatsuhiko Miyagawa wrote:
> Two cases for using Test::*
>
> 1) Testing our application (for paying work)
>
> it's good to use T::D in the first place.
We're agreed here :).
> 2
On Sat, Dec 15, 2001 at 01:56:19AM -0500, Michael G Schwern wrote:
> On Sat, Dec 15, 2001 at 02:41:13AM -0500, Barrie Slaymaker wrote:
> > There's also a test script for the escaping now :). I'd love to test
> > characters for codepoints > 0xff, but they'r
On Sat, Dec 15, 2001 at 01:18:23PM -0500, Michael G Schwern wrote:
> On Sat, Dec 15, 2001 at 10:52:07AM -0700, chromatic wrote:
> > On Sat, 15 Dec 2001 07:10:33 -0700, Barrie Slaymaker wrote:
> >
> > > How about having Test::More use eq_or_diff_data() in is_deeply() if
I noticed that Test::Builder offers the ability to emit messages with
s/^/# /mg, which is very nice. Can/should this capability be exposed
via Test::Simple, Test::More, etc?
Sometimes it's nice to explain what to do about a test failure that may
be an intermittent failure, or to warn that they s
On Mon, Dec 17, 2001 at 04:10:30PM +0900, Tatsuhiko Miyagawa wrote:
> On Sat, 15 Dec 2001 09:10:33 -0500
> Barrie Slaymaker <[EMAIL PROTECTED]> wrote:
>
> > Now I see what you're after with the -M approach, thanks for the
> > example.
>
> Cool.
>
&
On Wed, Dec 19, 2001 at 12:20:35PM -0700, chromatic wrote:
> On Wed, 19 Dec 2001 05:12:05 -0700, Michael G Schwern wrote:
>
> > Its been on the TODO list to toss a diag() into Test::More.
> >
> > ok( ... ) || diag(...);
> >
> > for some reason I keep putting it off.
> >
> > Test::Simple wo
On Wed, Dec 19, 2001 at 04:11:00PM -0500, Barrie Slaymaker wrote:
>
> Looks nice to me (not that I have anything to do with Schwern's modules
> :), but I think it needs to be in Test::More instead of Test::Simple.
Sorry, misread the patch (gah, need a vacation).
- Barrie
This fixes a bug or two and improves readability by removing the middle
column of indexes if and only if it is identical to the first column and
by performing selective whitespace excaping to highlight differences in
whitespace (see below).
- Barrie
t/99example1..3
not ok 1 - differences in
On Wed, Jan 30, 2002 at 02:24:59AM +0900, Tatsuhiko Miyagawa wrote:
> Recently I've been doing this with two ways:
>
> 1) Unit testing for "Model/Control" classes
*nod*
> 2) Acceptance Testing with Live HTTP, DB Server
>
> We've acomplished with following tools:
>
> * shell script, to setup/t
As part of a much more detailed email about some cool code he's writing,
Yves Orton <[EMAIL PROTECTED]> wrote (in part):
>
> my ($ar,$x,$y)=([]);
> $ar->[0]=\$ar->[1];
> $ar->[1]=\$ar->[0];
> $x=\$y;
> $y=\$x;
>
> Test::Differences::eq_or_diff($ar,[$x,$y]);
>
> Outpu
Test-Differences-45 is now out with the below patch.
Also: I released a new Text::Diff, 0.35 (which Test-Differences-0.45
requires) that fixes and improves the escaping logic so that "\t" and
"\\t" are escaped properly ("\\t" was not being escaped properly) when
escaping.
Escaping (still) is onl
-n, --dry-run, --just-print, --recon
Print out the make command but don't run it.
-h, -?, --help
Print out full help text (this page).
See Test::Verbose for details.
COPYRIGHT
Copyright 2002, R. Barrie Slaymaker, Jr. All Rights Reserved.
LICENSE
You may use this under the terms of any of the BSD, Artistic, or GPL
licenses.
AUTHOR
Barrie Slaymaker <[EMAIL PROTECTED]>
On Fri, Sep 13, 2002 at 07:22:04AM -0700, David Wheeler wrote:
> On Friday, September 13, 2002, at 06:25 AM, Johan Vromans wrote:
>
> >Tchk. I think it's quite nice and powerful to be able to download an
> >arbitrary module's .tar.gz and get it going with the simple "perl
> >Makefile.PL; make al
New! Improved! As Seen On TV!!
ahem.
tv is a command bundled with Test::Verbose that puts an easier, smarter
interface around the ExtUtils testing system.
Aside from easing debugging access (see below), the main use of tv is to
run test scripts in verbose mode, either by naming them or by naming
Here's an interesting way of depicting the statements that are likely
to have cause test failures:
http://www.cc.gatech.edu/aristotle/Tools/tarantula/
Tarantula displays each source code statement using color models
that reflect its relative success rate of its execution by the test
Part of QA is defining best practices. I've been encoding a few
operations I use a lot when writing new perl module distributions in to
script form to make my code and POD more consistent. Here's a
prerelease of them:
http://users.telerama.com/~rbs/src/Module-Husbandry-0.0001.tar.gz
and the
On Fri, Dec 20, 2002 at 08:17:16AM -0500, darren chamberlain wrote:
> * Barrie Slaymaker <[EMAIL PROTECTED]> [2002-12-20 04:05]:
> > Part of QA is defining best practices. I've been encoding a few
> > operations I use a lot when writing new perl module distributions in
On Fri, Dec 20, 2002 at 09:12:09AM -0500, darren chamberlain wrote:
> * Barrie Slaymaker <[EMAIL PROTECTED]> [2002-12-20 08:52]:
> > I've kludged code to peer in to TT2 templates to get at [%META%]
> > declarations (it does not allow this by default AFAICS, surpris
On Fri, Dec 20, 2002 at 09:54:50AM -0500, darren chamberlain wrote:
>
> The docs for Template::Provider state:
>
> fetch($name)
fetch()ing's the easy part. Even *I* got that far long ago. It's the
fact that you can coax metadata out of the template objects with
AUTOLOADed methods that I didn
25 matches
Mail list logo