Re: RFC: Automated Testing Of Code Examples In Documentation and "=for example"

2000-07-26 Thread Michael G Schwern
removing it). This is a possibility for perl's internal docs, but its kind of a pain fr external stuff. Perhaps we can distribute perl's internal docs with the '=for example' built in (since if you install the docs you should also install the new POD utilities) and provide

Re: RFC: Automated Testing Of Code Examples In Documentation and "=for example"

2000-07-26 Thread Michael G Schwern
by that's okay its just the autochecker making a mistake." On the issue of compatibility, we can use a POD autoconverter as Tim suggested to translate the '=for example's into C<> as part of the release (or build) process. This avoids the necessity of patching all the PO

Re: RFC: A Test For Every Patch

2000-07-26 Thread Michael G Schwern
barfoo'); =pod We state that Perl does something in the docs and we put a test right after it (or near it). This isn't any sort of WONDERTEST but I'm trying to start small and solve the problems I know we can solve with the least amount of effort. -- Michael G Schwern htt

Mail Archives

2000-07-26 Thread Michael G Schwern
If you missed it, Ask has mail archives for this list up on http://tmtowtdi.perl.org/. Yay Ask! -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid Consultant Perl6 Kwalitee Ashuranse make a channel called Perl, and infest

Re: RFC: A Test For Every Patch

2000-07-27 Thread Michael G Schwern
m up, if Perl 6 wants a formal spec, then that's the spec. But we'll always have the regression suite to fall back on. PS I'm trying to keep QA RFC discussions on perl-qa rather than bootstrap. -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just

Re: RFC: JART - Just Another Regression Test

2000-07-27 Thread Michael G Schwern
esting the perl6->perl5 translation stuff that's planned. But you'll note this is perl-qa, not perl6-qa. We're not waiting for perl6, we want to use this on perl5. Now. Yinz'll just have to catch up. -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PR

Re: RFC: Automated Testing Of Code Examples In Documentation and "=for example"

2000-07-27 Thread Michael G Schwern
On Wed, Jul 26, 2000 at 09:01:22PM -0400, Chaim Frenkel wrote: > If you do this for new code or changed documentation adding > a =for result would add more test cases. Sorry, I don't follow. -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Ano

Re: RFC: Automated Testing Of Code Examples In Documentation and "=for example"

2000-07-27 Thread Michael G Schwern
On Wed, Jul 26, 2000 at 09:49:29PM -0400, Clinton A. Pierce wrote: > Michael G Schwern wrote: > > In One Sentence > > --- > > > > All code examples in the Perl docs can be at a minimum tested for syntax > > errors in an automated fashion. > >

Re: RFC: A Test For Every Patch

2000-07-27 Thread Michael G Schwern
-qa only. Sorry if I didn't make this explicit. > In <[EMAIL PROTECTED]>, Michael G Schwern writes: > :In One Sentence > :--- > : > :All patches to perl must have an associated testing patch. > > Can you explain more about how you'll test documentat

Re: RFC: A Test For Every Patch

2000-07-27 Thread Michael G Schwern
was actually a subtle hint that YOU might want to write an RFC on it. ;) -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid Consultant Perl6 Kwalitee Ashuranse The adverse effect is your bone cells will try to grow back to its o

Re: RFC: Automated Testing Of Code Examples In Documentation and "=for example"

2000-07-28 Thread Michael G Schwern
27;t make it anyting but easy to write POD. -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid Consultant Perl6 Kwalitee Ashuranse Sometimes these hairstyles are exaggerated beyond the laws of physics - Unknown nar

Re: =also for example [was - Re: RFC: Automated Testing Of Code Examples ...]

2000-07-28 Thread Michael G Schwern
ewers and yet has special meaning to certain viewers. =begin also /=end also works similarly for arbitrary blocks. Barrie, you suggested it, so its your babe now! You have the option to sketch out a new RFC and start working on this or punt the responsibility to somebody els

Re: About the following RFCs

2000-07-28 Thread Michael G Schwern
rs to help new code patchers along in authoring tests. There is the problem of teaching how to write a proper test, since I think there's little practical experience out there, and also convincing people that the tests are necessary and we're not just being anal-retentive. -- Michael G Schw

Re: RFC: A Test For Every Patch

2000-07-28 Thread Michael G Schwern
decide how they want things spec'd. Should they decide the regression tests should be the spec, we'll have one ready and waiting! If not, we still have a nice set of tests. Maybe I shouldn't even have brought it up. -- Michael G Schwern http://www.pobox.com/~schwern/

Re: RFC: Embedded Tests and =test

2000-07-28 Thread Michael G Schwern
On Thu, Jul 27, 2000 at 03:08:43PM -0400, Barrie Slaymaker wrote: > Michael G Schwern wrote: > > Regression tests should be embedded in the code and documentation near what > > it is they're testing. > > s/embedded/embeddable/ and I'm there. I don't think you

Re: RFC: JART - Just Another Regression Test

2000-07-28 Thread Michael G Schwern
perl-qa FAQ or get someone to do it for you. -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid Consultant Perl6 Kwalitee Ashuranse Plus I remember being impressed with Ada because you could write an infinite loop without a fak

Re: On QA/QC [Was: RFC: JART - Just Another Regression Test]

2000-07-28 Thread Michael G Schwern
Group/RFC process we're > inventing. Why distinct? BTW Does QA need QA? Should there be a formal way to make sure that QA is doing its job? -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid Consultant Perl6 Kwal

Re: Coverage analysis

2000-07-28 Thread Michael G Schwern
really done much coverage analysis. Would someone with time and experience step forward and take responsiblity for it? PS In case people aren't aware, there's Devel::Coverage. -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid C

Re: RFC: Automated Testing Of Code Examples In Documentation and "=for example"

2000-07-30 Thread Michael G Schwern
a bit. -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid Consultant Perl6 Kwalitee Ashuranse But why? It's such a well designed cesspool of C++ code. Why wouldn't you want to hack mozilla? -- Ziggy

Re: RFC: JART - Just Another Regression Test

2000-07-30 Thread Michael G Schwern
nal attention. Either way, start collecting FAQs. -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid Consultant Perl6 Kwalitee Ashuranse make a channel called Perl, and infest it with joking and funit doesnt make alot of sense.

Re: Coverage analysis

2000-07-30 Thread Michael G Schwern
rt us to uncovered portions of code. > Also, I expect that some of the people willing to work on QA for perl6 > will have access to commercial tools. I have access to Pure Coverage > for Solaris and am certainly willing to run tests and post results. Sure! Need all the help we can ge

Re: =also for example [was - Re: RFC: Automated Testing Of Code Examples ...]

2000-07-30 Thread Michael G Schwern
On Fri, Jul 28, 2000 at 07:49:59PM -0500, Jonathan Scott Duff wrote: > On Fri, Jul 28, 2000 at 06:25:43PM -0400, Michael G Schwern wrote: > > 3) =begin preamble/=end preamble/paragraph to test is compatible, but its > > kind of annoying to write (or even explain) and will ru

Re: About the following RFCs

2000-07-31 Thread Michael G Schwern
which doesn't have an associated testing patch as opposed to the current situation (patch now, test later). -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid Consultant Perl6 Kwalitee Ashuranse turds slide easily spoo

Re: Bug Tracking

2000-07-31 Thread Michael G Schwern
o have bugs.perl.org. Anyone know the state of that? -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid Consultant Perl6 Kwalitee Ashuranse But why? It's such a well designed cesspool of C++ code. Why wouldn't you want

CPANTS - CPAN Testing Service [synopsis]

2000-08-19 Thread Michael G Schwern
x27;t apply to them. Rather than attempting to explicitly enumerate all these special cases, we'll just wrap them up in one meta-case and note the specifics as they come. =head2 Independent auditors CPANTS will be its own thing. While it wll obviously work with CPAN and the Perl developers, it will be beholden to neither and act as a wholely independent auditing service. Accordingly, it will have no direct effect on CPAN or Perl, only whatever influence is granted to it. This will hopefully keep CPANTS honest as well as avoid the problem of appearing to dictate style to authors. -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid Consultant Perl6 Kwalitee Ashuranse BOFH excuse #65: system needs to be rebooted

What CPANTS needs

2000-08-19 Thread Michael G Schwern
Experience in large-scale automation. I'm sure people will be knocking down my inbox to volunteer their time, RIGHT? PS CPANTS currently lives at http://www.pobox.com/~schwern/CPANTS/ -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just

Perl QA FAQ

2000-08-30 Thread Michael G Schwern
This was mentioned briefly a while ago. Barrie, are you still up for maintaining a FAQ? -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid Consultant Perl6 Kwalitee Ashuranse Our business in life is not to succeed but to

Re: Indexing p6 documentation

2000-08-30 Thread Michael G Schwern
splayed. Seemed very natural to me to wrap X<> around keywords as I wrote them. Yes, we'll have to take this up with the POD people. -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid Consultant Perl6 Kwalitee A

Re: Should we dump the perl5 t/ tests?

2000-08-31 Thread Michael G Schwern
, yes? Not the Makemaker module testing suite. Right? Reading over this... I have little idea what you're talking about. Sorry. It seems a little jumbled. Perhaps you could start over and try again? Possibly not at 1am this time? :) -- Michael G Schwern http://www.pobox.com/~schw

Re: RFC 183 (v1) "=for testing" - Embedded tests

2000-08-31 Thread Michael G Schwern
file_name, $dest_dir ) = @_ ; > $self->{DEST_DIR} = $dest_dir ; > croak "No destination directory supplied" >unless defined $dest_dir && length $dest_dir ; > $self->parse_from_file( $file_name ) ; > } Shouldn't that be $self->

CVS repository?

2000-08-31 Thread Michael G Schwern
Hey! We've got code! Barrie has Pod::Tests, Pod::AlsoSelect and I have a prototype for the JART. Where do we put it? We have an "official" perl 6 repository, or should I just go use Sourceforge? -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTE

Pre-RFC - "use warnings" by default for all non-one-liners

2000-09-04 Thread Michael G Schwern
I wanted to run this by the QA group before letting it loose on the language folks. =pod =head1 TITLE "use warnings" by default for all non-one-liners. =head1 VERSION Maintainer: Michael G Schwern <[EMAIL PROTECTED]> Date: Mon Sep 4 00:02:12 EDT 2000 Ver

Re: Pre-RFC - "use warnings" by default for all non-one-liners

2000-09-04 Thread Michael G Schwern
ch to ask? > And the -M-warnings, is taking up a lot of room on the #! line. I knew real-estate prices were high, but this is rediculous! Seriously, if you're going to shut off warnings in the program, you wouldn't do it on the #! line, you'd put a "no warnings"

Re: RFC: Automated Testing Of Code Examples In Documentation and "=for example"

2000-07-26 Thread Michael G Schwern
portant enough. Are you speaking of the idea as a whole, or simply what tests we should run on code examples? PS Try to keep discussion of this on perl-qa only. -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid Consultant

Re: RFC: Automated Testing Of Code Examples In Documentation and "=for example"

2000-07-26 Thread Michael G Schwern
hes the english documentation. Now, while it might be possible to generate API-style docs from the code contract, I don't think we can do that in general for the docs as a whole. Although the idea is intriging. Run some feasibilty tests. See what happens. -- Michael G Schwern

Re: RFC: Automated Testing Of Code Examples In Documentation and "=for example"

2000-07-26 Thread Michael G Schwern
he feasibility of automating the testing without modifying the existing POD? Maybe run it over a few of the existing perl man pages. -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid Consultant Perl6 Kwalitee Ashuranse &

Re: Pre-RFC - "use warnings" by default for all non-one-liners

2000-09-07 Thread Michael G Schwern
y code to check for definedness) it may make sense for the default to be the equivalent of: use warnings; no warnings 'uninitialized'; Everyone will have their own pet-peeve category of warnings, but I think keepking uninitialized value warnings off by default will make many

Re: Pre-RFC - "use warnings" by default for all non-one-liners

2000-09-07 Thread Michael G Schwern
efault will make > >many people happy. > > Not this people. Makes no sense in a default. Could you expand on that? -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid Consultant Perl6 Kwalitee Ashuranse But why? It&

Re: Pre-RFC - "use warnings" by default for all non-one-liners

2000-09-07 Thread Michael G Schwern
ndefined value" warning from print because in all cases, shift returns undef. I'm thinking the number of cases where you'll actually get a "Use of uninitialized value" warning (meaning the variable was never set to anything) would be very low. -- Michael G Schwern

Re: Pre-RFC - "use warnings" by default for all non-one-liners

2000-09-07 Thread Michael G Schwern
On Thu, Sep 07, 2000 at 11:13:10PM -0400, Chaim Frenkel wrote: > >>>>> "MGS" == Michael G Schwern <[EMAIL PROTECTED]> writes: > MGS> no warnings 'uninitialized'; > > I'm thinking of a switch, which is there external to the text of

RFC: Automated Testing Of Code Examples In Documentation and "=for example"

2000-07-26 Thread Michael G Schwern
he core POD utilities to display =for example. - Write POD::Example. - Examine the feasibility of modifiying all the core documentation to use this new tag for example code. - Run the tests and be appalled. Blame - All blame for this RFC can be transfered to Michael G Schwern <[EMAIL PROT

Re: Pre-RFC: undef =~ s/def/initialize/

2000-09-08 Thread Michael G Schwern
undef) = localtime; -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid Consultant Perl6 Kwalitee Ashuranse no paste enema lycos is taught about it my ass is sealed -- Schwern

Re: Risk of unacceptably slow perl6 performance

2000-09-11 Thread Michael G Schwern
(not until feature freeze). -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid Consultant Perl6 Kwalitee Ashuranse Maybe they hooked you up with one of those ass-making magazines. -- brian d foy as misheard by Michael G Schwern

Rambling on Benchmarking [was Re: Risk of unacceptably slow perl6 performance]

2000-09-12 Thread Michael G Schwern
s well as a single, comprehensive report file (also containing perl -V info). People will be encouraged to run the benching suite and mail it back to us for evaluation. As long as I'm rambling, if we're going to embed tests in the code, there's no reason we couldn't also em

Re: Rambling on Benchmarking [was Re: Risk of unacceptably slow perl6 performance]

2000-09-13 Thread Michael G Schwern
On Wed, Sep 13, 2000 at 09:18:24AM -0700, Dave Storrs wrote: > Is it worth opening a new list, "perl6-benchmarks"? I have a > feeling that the traffic flow could be fairly high, at least for a while. "perl-benchmarks" good idea. Who's chairing? (not me,

I'm going to be insane for a while

2000-09-13 Thread Michael G Schwern
basic responsibility is nudging things forward (a thing which I haven't been doing lately) along with requesting mailing lists when necessary and that's about it. I'll follow up with a list of projects that I see perl-qa as currently doing (a post I should have made a while ago). Take

Projects List

2000-09-13 Thread Michael G Schwern
Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid Consultant Perl6 Kwalitee Ashuranse If my Eternal Life Device does not give immortality, then the entire bible is a joke. --Alex Chiu, Immortality Guy

Re: I'm going to be insane for a while

2000-09-15 Thread Michael G Schwern
ion, its yours for the next two weeks. -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid Consultant Perl6 Kwalitee Ashuranse make a channel called Perl, and infest it with joking and funit doesnt make alot of sense.

Re: freezing RFCs

2000-09-21 Thread Michael G Schwern
; are frozen? Is Friday a reasonable date for that, since there doesn't > seem to be much more discussion happening on them? I may be able to get to mine Friday night. -- Michael G Schwern http://www.pobox.com/~schwern/ [EMAIL PROTECTED] Just Another Stupid Consultant

Re: Pre-RFC - "use warnings" by default for all non-one-liners

2000-09-08 Thread Michael G Schwern
ted to this conversation, but I think isa() should continue to represent the class of the object, not the type. Consider: my Dog $spot = Cat->new; print $spot->isa('Dog') ? 'Dog' : 'not dog'; Currently, $spot is not a dog. It should probably remain that wa

Re: Appointing an interim comissioner

2001-01-18 Thread Michael G Schwern
*pop* *pop* *pop* -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ They just don't make any good porn music anymore, do they? - WXDX DJ refering to "More, More, More"

[ANNOUNCE Pod-Tests and pod2test 0.01] implementation of RFC 183

2001-02-01 Thread Michael G Schwern
not there yet, try http://www.pobox.com/~schwern/src/Pod-Tests-0.01.tar.gz -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ But unluckily most Germans here are too smart. They all speak good English and won't be able to speak German to me.

Re: SelfTest -> selftest

2001-03-01 Thread Michael G Schwern
and =alsofor. This is Very Bad for getting this working under Perl 5. Even if we modified the POD tools, people who haven't upgraded wouldn't be able to read the docs. That's Bad. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ my mother once said "never eat paste my darling" would that I heeded -- stimps

ANNOUNCE - Pod::Tests 0.02

2001-03-05 Thread Michael G Schwern
vert embedded tests and code examples to .t files SYNOPSIS pod2test [-Mmodule] [input [output]] DESCRIPTION pod2test is a front-end for Pod::Tests. It generates MakeMaker style .t testing files from embedded tests and code examples. -- Michael G. Schwern <[

Re: SelfTest -> selftest

2001-03-05 Thread Michael G Schwern
st need to make sure that > Pod::Parser and it's clients are backwards compatible with older perls. That's an interesting possiblity. Shouldn't be too hard to convince Brad to have Pod::Parser let unrecognized tags off with a warning instead of dying. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ That which stirs me, stirs everything. -- Squonk Opera, "Spoon"

Re: ANNOUNCE - Pod::Tests 0.02

2001-03-05 Thread Michael G Schwern
FYI If it hasn't made it to CPAN yet, its available from http://www.pobox.com/~schwern/src/ as usual. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Sometimes these hairstyles are exaggerated beyond the laws of physics - Unknown narrator spe

Suggestions about Testing.pm

2001-03-06 Thread Michael G Schwern
d values. =item B eqset(\@this, \@that); Similar to eqarray(), except the order of the elements is B important. This is again a deep check and the irrelevancy of order applies to all levels. =back =head1 BUGS and CAVEATS Other than that there's no code? None of the function names ar

Re: Suggestions about Testing.pm

2001-03-14 Thread Michael G Schwern
and-paste + search-and-replace. > > ok($this eq $that); > > ok($this eq $that, $test_name); > > This is implicitly promoting the call with lower diagnostic value. You're right. (I habitually put calls in order of least arguments) > Hey, howabout Huffman coding the API

Re: Suggestions about Testing.pm

2001-03-14 Thread Michael G Schwern
;) > We could allow ok($cond) for backwards compatibility, I suppose. I can't do complete backwards compatibility with Test::ok(). Its too weird, too undocumented and too good a name not to use. But we've got to provide some way to ease the switch over from Test. Maybe provide a C 4

Re: Suggestions about Testing.pm

2001-03-14 Thread Michael G Schwern
is not the same as "I expect $obj->is_foo to return a true value". Ditto 0 and false. I've deliberately made routines like is_foo() return things like "basset hounds got long ears" just to screw with tests like that. The only way I can think of getting around that is:

Re: Suggestions about Testing.pm

2001-03-14 Thread Michael G Schwern
it simple. > especially if you can detect old-style ok() calls and give a helpful > suggestion like "did you forget to convert from Test::ok to > Testing::ok", as perl does in some other cases. How can you tell? Testing::ok() nromally takes two arguments, so do

Re: Suggestions about Testing.pm

2001-03-14 Thread Michael G Schwern
Only the rare three arg form will be recognizable as a mistake. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One Maybe they hooked you up with one of those ass-making magazines.

Re: Suggestions about Testing.pm

2001-03-14 Thread Michael G Schwern
some code if I'm feeling energetic. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One BOFH excuse #180: ether leak

Stuck on Testing::skip()

2001-03-15 Thread Michael G Schwern
. use a local __DIE__ handler inside the skip() to trap and ignore dies. We'd have to be careful not to screw up eval and $@ in the code we're testing (using $^S), but it will mess up any code that relies on its own __DIE__ handler. However... since the purpose here is not to act

Aegis

2001-03-15 Thread Michael G Schwern
really lost. Review and coding is still going on, just down different tracks. So an individual change might take more schedule time, but you can work in parallel so overall work is greater. PS I've only been using Aegis now for a few weeks. After this contract, I might launch into rebui

Re: Stuck on Testing::skip()

2001-03-15 Thread Michael G Schwern
uting the tests, only printing > "ok - Message # Skipping"). That's the basic idea, but different to my current problem. As written, running head() will cause the above block to die (even though skip() will trap it in an eval). That means none of the ok()s will be run, and th

Re: Stuck on Testing::skip()

2001-03-15 Thread Michael G Schwern
On Thu, Mar 15, 2001 at 12:54:34AM +, Michael G Schwern wrote: > Another possibility... use a local __DIE__ handler inside the skip() > to trap and ignore dies. We'd have to be careful not to screw up eval > and $@ in the code we're testing (using $^S), but it will mess

Re: Stuck on Testing::skip()

2001-03-16 Thread Michael G Schwern
So here's some revelations I'd like to share with you when I put this problem to the Fun With Perl mailing list. -- Forwarded message from <[EMAIL PROTECTED]> --- From: Rick Delaney <[EMAIL PROTECTED]> To: Michael G Schwern <[EMAIL PROTECTED]> Cc: [EMAIL

Re: Stuck on Testing::skip()

2001-03-18 Thread Michael G Schwern
dy been fixed (with concessions for backwards compatibility) and will be in the next version of Test.pm. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One Hey Schwern! honk, honk, honk, hon

Re: Stuck on Testing::skip()

2001-03-18 Thread Michael G Schwern
onversation with Tony Bowden in his kitchen. It kills two birds with one stone. You have an extremely simple, extremely basic, extremely quick to learn testing system seperate from one that handles all these advanced special cases we're worrying about. I'll post it up next. -- Michael

Test::Simple

2001-03-18 Thread Michael G Schwern
served that the main problem is not dealing with these edge cases but that people hate to write tests at all. What was needed was a dead simple module that took all the hard work out of testing and was really, really easy to learn. This is it. AUTHOR Idea by Tony Bowden, code by Michae

Re: Test::Simple

2001-03-18 Thread Michael G Schwern
is is a concession to simplicity. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One You see, in this world there's two kinds of people. Those with loaded guns, a

New Carp::Assert function, affirm()

2001-03-18 Thread Michael G Schwern
(&;$) { unless( eval { &{$_[0]}; } ) { my $name = $_[1]; if( !defined $name and eval { require B::Deparse } ) { $name = B::Deparse->new->coderef2text($_[0]); } require Carp; Carp::confess( _fail_msg($name) ); } return undef; } -- M

QA-ish talks at TPC5

2001-03-21 Thread Michael G Schwern
..) http://www.pobox.com/~schwern/talks/ for abstracts -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One BOFH excuse #308: CD-ROM server needs recalibration

[ANNOUNCE] Test::Simple 0.01

2001-03-28 Thread Michael G Schwern
Y This module was conceived while talking with Tony Bowden in his kitchen one night about the problems I was having writing some really complicated feature into the new Testing module. He observed that the main problem is not dealing with these edge cases but that people hate to

[ANNOUNCE] Test::More

2001-03-30 Thread Michael G Schwern
NOTE These are NOT well-tested on circular references. Nor am I quite sure what will happen with filehandles. eq_array eq_array(\@this, \@that); Checks if two arrays are equivalent. This is a deep check, s

B::Scan, Perl Refactoring Tool, CPANTS attainable...

2001-04-15 Thread Michael G Schwern
~schwern/src/B-Scan-0.01.tar.gz It needs UNIVERSAL::exports (available from CPAN) and perl5.6.0. It might work on 5.005_03, dunno. I had to dig into some undocumented things in B. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[

Re: B::Scan, Perl Refactoring Tool, CPANTS attainable...

2001-04-15 Thread Michael G Schwern
h... $ perl -cwe 'sub __ANON__::BEGIN { print 23 } BEGIN { print 42 }' -e syntax OK 2342 Don't know where that gets you, though. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One Any sufficiently encapsulated hack is no longer a hack.

Re: B::Scan, Perl Refactoring Tool, CPANTS attainable...

2001-04-17 Thread Michael G Schwern
equals something that's not a built in type should also be noted. That actually makes the @ISA scan alot easier. If @ISA is mentioned more than once in any package (use vars aside) its noted. The ref() check is also simple in its basic form, although regexes will be a problem. -- Michael G

BOFH?

2001-04-17 Thread Michael G Schwern
Conferences coming up! Should we throw together a QA BoF? At TPC? At YAPC? At both? -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One An 87 year old man had no sex at all befor

BoF (was BOFH?)

2001-04-17 Thread Michael G Schwern
Right, that's BoF, not BOFH. Sorry, the Bastard Operator From Hell book just came out and I've been meaning to order it. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One But I wore the juice!

Re: [PATCH Pod::Tests 0.021] #line

2001-04-20 Thread Michael G Schwern
to switch over to Test::More as the default testing module next version anyway. This might break any existing embedded tests you have (since Test::More::ok() behaves differently than Test::ok()). Ummm... not sure how to ease that bit of pain. Wait... how are you doing this at all? Pod::Tests d

Re: [PATCH Pod::Tests 0.021] #line

2001-04-21 Thread Michael G Schwern
On Sat, Apr 21, 2001 at 04:06:52AM -0400, barries wrote: > On Sat, Apr 21, 2001 at 08:10:43AM +0100, Michael G Schwern wrote: > > So basically you want a default name for a block of tests? I can do > > that, basically by calling an ok() that's a wrapper around Test::ok() >

Re: [PATCH Pod::Tests 0.021] #line

2001-04-21 Thread Michael G Schwern
cs. pod2test -MTest::More=noplan Foo.pm It will also understand the "=for testing use ..." syntax. Not sure which one will take precedence just yet. But there will be a default testing library and it will be Test::More. This default should satisfy 80% of all uses and th

Untested libraries.

2001-04-21 Thread Michael G Schwern
:Text::Termcap Shell Term::Cap Term::Complete Term::ReadLine Time::gmtime Time::localtime Time::tm User::grent User::pwent attributes autouse blib filetest less open sigtrap unicode::distinct -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Qualit

Proposed basic criteria for accepting new core modules

2001-04-21 Thread Michael G Schwern
than simply a compile test. What is "reasonable" in each case is ultimately left up to the Pumpking. I don't think these are too hard to swallow. I don't want to get any more elaborate for the moment to avoid lengthy debate. We can always add. -- Michael G. Schwern &l

Re: Untested libraries.

2001-04-21 Thread Michael G Schwern
On Sat, Apr 21, 2001 at 10:39:23PM +0100, Nicholas Clark wrote: > Are there prizes for every regression test added? :-) What a thoroughly wonderful idea!!! Excuse me while I get carried away for a moment... I, Michael G Schwern, HERE and NOW do declare that I will donate FIVE HUNDRED UNI

Re: Untested libraries.

2001-04-22 Thread Michael G Schwern
ure out if a filesystem has ACLs and only run the test in that case. > > open > > See PerlIO. See PerlIO. ;) > > unicode::distinct > > Hmmm. I don't know what to do with this. Do we still want to use it? All I know about Unicode is it means my keyboard isn't big enough anymore. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One That which stirs me, stirs everything. -- Squonk Opera, "Spoon"

Re: Proposed basic criteria for accepting new core modules

2001-04-22 Thread Michael G Schwern
nd spotting of undocumented functions. > - (maybe) standards on version numbers? I'll be happy if it has some sort of $VERSION at all. The problem with trying to standardize the actual number is what happens with things that have dual lives on CPAN? Does the version number suddenly c

Re: Proposed basic criteria for accepting new core modules

2001-04-22 Thread Michael G Schwern
king. > > Always qualify your suggestions in group posts, please. The P5P may be > used to working as an oligarchical monarchy, but the P6 groups have a > happy democracy with only an occasional trump from above. Having abstained > from the P5P for so long, it's been a lon

CPANTS hack session at YAPC

2001-04-23 Thread Michael G Schwern
b site, right?) If there's sufficient interest we can do a second session at YAPC::Europe. * CPANTS is the CPAN Testing Service (currently vapor) to automate quality assurance of CPAN. Synopsis is here: http://archive.develooper.com/perl-qa%40perl.org/msg00148.html -- Michael G. Schw

Re: Untested libraries.

2001-05-02 Thread Michael G Schwern
I::Cookie > > > > CGI::Push > > > > CGI::Switch > > Lincoln has no tests for these. Hmmm, his email address has mysteriously appeared in the CC line of this reply. How odd. > > > The tests coming with Filter::Simple were too...simple. > > > > Bett

Re: Untested libraries.

2001-05-02 Thread Michael G Schwern
On Wed, May 02, 2001 at 03:25:08PM -0500, Jarkko Hietaniemi wrote: > > Hmmm, his email address has mysteriously appeared in the CC line of > > this reply. How odd. > > You really should get your MUA exorcised. I take my mutt out for a run every day! -- Michael G. Schwern

ANNOUNCE Test::Simple 0.05

2001-05-09 Thread Michael G Schwern
ok" or "not ok" to indicate pass or fail. You do this with the ok() function (see below). -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One You're smoother than a tunnel of shining sorrow.

ANNOUNCE Test::Simple 0.06

2001-05-09 Thread Michael G Schwern
tests. - Trouble with exiting properly under 5.005_03 and 5.6.1 fixed - Turned off buffering * 5.004 new minimum version - Now explicitly tested with 5.6.1, 5.6.0, 5.005_03 and 5.004 -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Ass

Test::Simple's a bit overzealous...

2001-05-10 Thread Michael G Schwern
h) and I'm considering splitting this off into a seperate function a la Test.pm's plan(). use Test::Simple; plan tests => 42; while leaving the current interface in place. Just bouncing the idea out there. Thoughts? -- Michael G. Schwern <[EMAIL PROTE

Re: Test::Simple's a bit overzealous...

2001-05-10 Thread Michael G Schwern
ry to keep it there for a little bit. I'll definately keep it in the back of my mind, though. -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One ...and I pull out the Magnum from und

Re: CPAN Test Data

2001-05-18 Thread Michael G Schwern
ttle environmental differences, it still adds confidence to have ten pass reports from ten different testers than only one. The cpan-tester's database should be able to sift and collate this data and present it in a non-redundant manner. PS Is the CC too wide? -- Michael G. Schwern &l

ANNOUNCE Test::More 0.04

2001-06-07 Thread Michael G Schwern
19:59:59 BST 2001 - Fixed export problem in 5.004. - prototyped the functions properly * fixed bug with like() involving qr// -- Michael G. Schwern <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/ Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is

Re: Descriptive strings?

2001-06-20 Thread Michael G Schwern
all the test output. For failed tests it will just report their numbers. Currently, Test::Harness is not aware of test names at all. It just ignores the extra info. I'm not sure what I'm going to do about that. As sort of a simple, half-ass solution I'm going to have Test::Har

  1   2   3   4   5   6   7   8   9   10   >