Michael G Schwern wrote:
* Added the long delayed BAIL_OUT to Test::More.
So, the way I would go about using this would be something like this?
my $obj=new SomeObj();
isa($obj, "SomeObj") or BAIL_OUT("It wasn't my object :(");
--Peter
proposal :-)
Have you seen Damian's design by contract stuff? Your other proposal for
builtin tests made me think of it. Not a perfect impedance match perhaps,
but worth considering.
--
Peter Scott
Pacific Systems Design Technologies
We could make it that skip takes a fourth
How about letting skip() do a
local $skip_oks = 1;
in case it detects need for skipping? That would let ok behave
differently (i.e. not really executing the tests, only printing
"ok - Message # Skipping").
Please excuse the noise if this is stupid in some way :-)
peter - just another perl-qa lurker
re covered and which not?
Because currently I know that for example 80% are covered, but not which
branches are not covered.
Cheers Peter
[EMAIL PROTECTED]
I get the following error message from Devel::Cover:
Can't locate object method "find_cv" via package "B::SPECIAL" (perhaps you
forgot to load "B::SPECIAL"?) at /usr/lib/perl5/5.6.1/i586-linux/B.pm line
213.
END failed--call queue aborted.
See below the complete outoput:
iol-dev-07:/usr/local/xs
Just a comment; could Tinderbox's code be used to manage the
client/server interaction?
--Peter
ts output to some file... But
there has to be some better way, right?
Thanks!
--Peter
as the last one
who left, and was not fired. :-(
Sorry if this post is too OT.
HTH
--
Peter Masiar
ot;label":
http://thesaurus.reference.com/search?q=label
- mark
- stamp
- sticker
- tag (but taken by HTML)
- badge
I agree that should not be called "label" ot "comment":
these words have other semantics in perl, already taken, sorry.
Anything but "label" or "comment".
But then again I am not perl guru, and my opinion are only mine.
--
Peter Masiar
And it appears to be mostly intact from how I remembered it a year or so ago.
Steve Peters
The formatting seems a bit off ( =head2 as opposed to == ... == ). Is
this easier to fix progromatically, or should I be editing as I read?
--WikiGnome
was it possible/impossible for you to go that route
with this?
--Peter
Chromatic wrote:
1) an optional description of a test, which occurs after the test number
but precedes an optional '#' character and anything following until the
newline character, having no effect on parsing
Summary?
That's what the one line short description in Bugzilla is called.
--Peter
Peter Kay wrote:
The formatting seems a bit off ( =head2 as opposed to == ... == ). Is
this easier to fix progromatically, or should I be editing as I read?
Too late, I changed it!
--Peter
ional improvement that really isn't much better than just looking
at the test output.
Sure it's better than just looking at test output - just looking
requires human interaction. Correctly grabbing test comments means that
an automated system can display comments when a test fails.
--Peter
http://qa.perl.org/test-modules.html has a bunch of test modules listed.
However, there are no harnesses listed. I know Test::Harness, and I'm
going to go read about Test::Builder, but what other "meta-testing"
modules are there?
Did anything ever happen with a distributed tester?
--Peter
lFork only does one fork at
a time, where MultiFork does them all at once. It's also much easier
to give descriptive labels with SerialFork, so the output of the test
program is much clearer.
--
Peter Haworth [EMAIL PROTECTED]
perl -Mstrict -we '$_ = "goto F.print chop;\n
d/re-release with
> cpan-upload every so often to keep it fresh.
>
Geeze, you guys weren't kidding about the "competitive" part, were you?
--Peter
acked-tarball consistent within the package.
NOTE: it's been a while since I've submitted a patch - if the format
isn't quite right, let me know, I'd be happy to re-submit.
Peter
--- lib/TAP/Harness/Archive.pm 2009-07-27 09:28:20.0 -0400
+++ lib/TAP/Harness/Archive.
Ari,
It's a couple of years old, and the examples are in Java, but the
philosophy still holds, and it's a good book on the subject:
Test Driven Development by Kent Beck
http://www.amazon.com/Test-Driven-Development-Kent-Beck/dp/0321146530/
On 10/28/2010 07:05 PM, Ari King wrote:
Hi all,
sof' or 'netstat' I think.
Does such a stuff exist? Partial solution(s) should be interesting, too.
--
Peter Vereshagin (http://vereshagin.org) pgp: A0E26627
20 matches
Mail list logo