Re: TAP has no exit code
# from Michael G Schwern # on Sunday 30 March 2008 23:35: >There is a TAP proposal to add meta information such as the exit > codes. http://testanything.org/wiki/index.php/TAP_meta_information Yay. Can we put 'hostname' in there too? --Eric -- "Left to themselves, things tend to go from bad to worse." --Murphy's Corollary --- http://scratchcomputing.com ---
Re: An alternate view on deferred plans
Seems most of this has already been hashed out, but here are a couple of other comments. > all my scripts ended with a simple print statement: "ALL > DONE". I ran the script, and if I saw my ALL DONE at the end, the > script was fine. If I didn't, I obviously had a problem. Conceptually this is fine, but it touches on something chromatic wrote: Any solution which requires a human being to read and think about the output beyond "It's all okay!" or "Something fell!"* is not a long-term solution. This is a critical point in testing. Having 'messy' test output is dangerous and the companies I've worked with who've tolerated this have had buggy tests, sometimes quite serious ones. TODO output, diagnostics, warnings, or just plain having stuff printed to STDOUT and STDERR are all things which clutter the output of a test suite. With cluttered output, the eyes start glazing over and mentally programmers say "yeah, yeah, I've already seen that" and when that output is indicative of bugs, they stop paying attention. As a result, printing "ALL DONE" for tests, while solving one problem, exacerbates another. I would be extremely leery of anything which increases output I HAVE to read. > Not criticizing, not claiming my method is better, just looking for > any reasons why this wouldn't work. And, JIC there's some agreement > that it _would_ work, I've already put together a patch for > Test::Most > that does it. I'm favorably inclined to introduce a feature like this. That is, at the top of your script, you put this: > > use Test::Most 'defer_plan'; > > and at the bottom of your script, you put this: > > all_done(); How easy it is for that to also allow a specified plan? all_done(23); And from another email: > The all_done() is handled by each individual test script. It should > never be called in a library. Test::Aggregate might have to perform > some magic to make sure it only gets called once, but my impression > is that Test::Aggregate is already fairly magical. I have a version here at work which is slightly less magical, but still is forced to do some monkey patching of Test::Builder. It's a bit safer than what is currently on the CPAN but it's still pretty magical. In particular, I've had to write a lot of special case code to work around Test::NoWarnings because that magically adds another test and I'm adding plan safety to this code. Any other code which has an impact on plans would be extremely problematic since the inflexibility of plans is very painful. That being said, I recommend that people *not* use Test::Aggregate unless they are backed into a corner. It works surprisingly well, but the baling wire and duct tape is clearly visible. Test::Class is a far better solution for this problem, assuming a single driver script. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Perl and CGI - http://users.easystreet.com/ovid/cgi_course/ Personal blog - http://publius-ovidius.livejournal.com/ Tech blog - http://use.perl.org/~Ovid/journal/
Friday afternoon in Oslo
I'll be getting into Oslo Friday mid-morning. Assuming no mishaps finding the hotel, I'll be up for touring around Oslo on Friday afternoon. If anyone from the hackathon has similar plans and is interested in meeting up, please email and let me know. (And if any locals want to play tour guide, that's great too!) Regards, David
Re: Friday afternoon in Oslo
On 31 Mar 2008, at 14:34, David Golden wrote: I'll be getting into Oslo Friday mid-morning. Assuming no mishaps finding the hotel, I'll be up for touring around Oslo on Friday afternoon. If anyone from the hackathon has similar plans and is interested in meeting up, please email and let me know. (And if any locals want to play tour guide, that's great too!) I'm getting in on Thursday night - so I'll be around. Just planning to wander around taking pictures but could be persuaded by something more structured :) -- Andy Armstrong, Hexten
Re: Friday afternoon in Oslo
--- Andy Armstrong <[EMAIL PROTECTED]> wrote: > On 31 Mar 2008, at 14:34, David Golden wrote: > > I'll be getting into Oslo Friday mid-morning. Assuming no mishaps > > finding the hotel, I'll be up for touring around Oslo on Friday > > afternoon. If anyone from the hackathon has similar plans and is > > interested in meeting up, please email and let me know. (And if > any > > locals want to play tour guide, that's great too!) > > > I'm getting in on Thursday night - so I'll be around. Just planning > to > wander around taking pictures but could be persuaded by something > more > structured :) Friday afternoon for me, too. Hopefully I won't have too much trouble getting to the hotel. I should probably look up the information now, but I suppose it doesn't matter -- the taxis will screw me no matter what I do :) Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Perl and CGI - http://users.easystreet.com/ovid/cgi_course/ Personal blog - http://publius-ovidius.livejournal.com/ Tech blog - http://use.perl.org/~Ovid/journal/
Re: Friday afternoon in Oslo
On Mon, Mar 31, 2008 at 9:36 AM, Andy Armstrong <[EMAIL PROTECTED]> wrote: > I'm getting in on Thursday night - so I'll be around. Just planning to > wander around taking pictures but could be persuaded by something more > structured :) Wandering around taking pictures is cool, too. I've got a guide book that has a "1-day must see" section, so I planned to go look at a couple of those, perhaps. David
Re: Friday afternoon in Oslo
* David Golden <[EMAIL PROTECTED]> [2008-03-31T10:07:57] > On Mon, Mar 31, 2008 at 9:36 AM, Andy Armstrong <[EMAIL PROTECTED]> wrote: > > I'm getting in on Thursday night - so I'll be around. Just planning to > > wander around taking pictures but could be persuaded by something more > > structured :) > > Wandering around taking pictures is cool, too. I've got a guide book > that has a "1-day must see" section, so I planned to go look at a > couple of those, perhaps. Yup, I arrive at OSL, Friday morning at 9:30, along with Michael Peters. Assuming we can find the hotel, I (at least) am all for forming a touring company. Since I have NFI what the cell situation will be, shall we establish a time to try and meet up and depart the Anker? -- rjbs
Re: Friday afternoon in Oslo
On 31 Mar 2008, at 15:29, Ricardo SIGNES wrote: Yup, I arrive at OSL, Friday morning at 9:30, along with Michael Peters. Assuming we can find the hotel, I (at least) am all for forming a touring company. Since I have NFI what the cell situation will be, shall we establish a time to try and meet up and depart the Anker? I'll already be there so I'll fit in with everyone else's arrival times. -- Andy Armstrong, Hexten
Re: Friday afternoon^Wevening in Oslo
David Golden said: I'll be getting into Oslo Friday mid-morning. Assuming no mishaps finding the hotel, I'll be up for touring around Oslo on Friday afternoon. If anyone from the hackathon has similar plans and is interested in meeting up, please email and let me know. (And if any locals want to play tour guide, that's great too!) On a related note, we'll have a pre-hackathon pub meetup at The Shamrock at Grünerløkka from about 18-ish on friday. They have good pubgrub and drink, and aren't overly expensive. It's also within acceptable walking distance from the Anker hotel, and if you take the last tram, it'll bring you back to your hotel in just a few minutes. :) Place: The Shamrock (10 minutes tram ride from Anker hotel) Time:Friday, April 4th, from 18-ish and onward URL: http://shamrock.no//index.php?LangId=3 Food:Pub grub, not too expensive More details later on the wiki... - Salve -- #!/usr/bin/perl sub AUTOLOAD{$AUTOLOAD=~/.*::(\d+)/;seek(DATA,$1,0);print# Salve Joshua Nilsen getc DATA}$"="'};&{'";@_=unpack("C*",unpack("u*",':4@,$'.# <[EMAIL PROTECTED]> '2!--"5-(50P%$PL,!0X354UC-PP%/0\`'."\n"));eval "&{'@_'}"; __END__ is near! :)
Re: Friday afternoon in Oslo
On Mon, Mar 31, 2008 at 10:29 AM, Ricardo SIGNES <[EMAIL PROTECTED]> wrote: > Yup, I arrive at OSL, Friday morning at 9:30, along with Michael Peters. > Assuming we can find the hotel, I (at least) am all for forming a touring > company. Since I have NFI what the cell situation will be, shall we > establish > a time to try and meet up and depart the Anker? I'm arriving 9:35 AM (Continental from Newark). After immigration/customs/transit, I would imagine that meeting at the Anker Best Western around noon would be possible and whoever is there can find a place for lunch and figure out a plan for the afternoon. I would think that any GSM quad-band phone should work as long as you tell your carrier to enable international roaming. Given prohibitive roaming charges, though, texting may be the better option for ad hoc coordination. David
Re: Friday afternoon^Wevening in Oslo
On 31 Mar 2008, at 15:48, Salve J Nilsen wrote: On a related note, we'll have a pre-hackathon pub meetup at The Shamrock at Grünerløkka from about 18-ish on friday. They have good pubgrub and drink, and aren't overly expensive. It's also within acceptable walking distance from the Anker hotel, and if you take the last tram, it'll bring you back to your hotel in just a few minutes. :) Place: The Shamrock (10 minutes tram ride from Anker hotel) Time:Friday, April 4th, from 18-ish and onward URL: http://shamrock.no//index.php?LangId=3 Food:Pub grub, not too expensive More details later on the wiki... Excellent, thanks Salve :) -- Andy Armstrong, Hexten
Oslo Hackathon schedule page
For those attending the Oslo hackathon, please see the new schedule page: http://perl-qa.hexten.net/wiki/index.php/Oslo_QA_Hackathon_2008_:_Schedule As we start making plans (hacking or social), please add them to the page. You may also want to add the page to your watchlist and set your preferences to notify you when anything on your watchlist changes. Regards, David
Re: Oslo Hackathon schedule page
On 31 Mar 2008, at 15:58, David Golden wrote: For those attending the Oslo hackathon, please see the new schedule page: http://perl-qa.hexten.net/wiki/index.php/Oslo_QA_Hackathon_2008_:_Schedule I've just added a map page: http://perl-qa.hexten.net/wiki/index.php/Editing_Oslo_QA_Hackathon_2008_:_Locations If I get time I'll turn whatever locations have accumulated there by Thursday morning into a KML file. -- Andy Armstrong, Hexten
Re: Oslo Hackathon schedule page
On 31 Mar 2008, at 16:12, Andy Armstrong wrote: On 31 Mar 2008, at 15:58, David Golden wrote: For those attending the Oslo hackathon, please see the new schedule page: http://perl-qa.hexten.net/wiki/index.php/Oslo_QA_Hackathon_2008_:_Schedule I've just added a map page: http://perl-qa.hexten.net/wiki/index.php/Editing_Oslo_QA_Hackathon_2008_:_Locations If I get time I'll turn whatever locations have accumulated there by Thursday morning into a KML file. That link should be: http://perl-qa.hexten.net/wiki/index.php/Oslo_QA_Hackathon_2008_:_Locations -- Andy Armstrong, Hexten
Re: Oslo Hackathon schedule page
Important info about the schedule: David Golden said: For those attending the Oslo hackathon, please see the new schedule page: http://perl-qa.hexten.net/wiki/index.php/Oslo_QA_Hackathon_2008_:_Schedule As we start making plans (hacking or social), please add them to the page. You may also want to add the page to your watchlist and set your preferences to notify you when anything on your watchlist changes. Please note, that my first intention is that the entire schedule will be decided _onsite_ by the people who actually _meet up_. This page will therefore have to be a _secondary_ source for scheduling information, but if people want to keep it uptodate with the authoritative one at the venue, then that's awesome. :) I repeat: Only the people who meet up _physically_ at the venue get to decide the actual schedule. The authoritative schedule will hang on the wall at the venue, and will probably be updated as needed. - Salve -- #!/usr/bin/perl sub AUTOLOAD{$AUTOLOAD=~/.*::(\d+)/;seek(DATA,$1,0);print# Salve Joshua Nilsen getc DATA}$"="'};&{'";@_=unpack("C*",unpack("u*",':4@,$'.# <[EMAIL PROTECTED]> '2!--"5-(50P%$PL,!0X354UC-PP%/0\`'."\n"));eval "&{'@_'}"; __END__ is near! :)
Re: Oslo Hackathon schedule page
On 31 Mar 2008, at 16:15, Salve J Nilsen wrote: I repeat: Only the people who meet up _physically_ at the venue get to decide the actual schedule. The authoritative schedule will hang on the wall at the venue, and will probably be updated as needed. Understood. Speaking of the venue - could you add it to the map please? :) http://perl-qa.hexten.net/wiki/index.php/Oslo_QA_Hackathon_2008_:_Locations -- Andy Armstrong, Hexten
Re: Friday afternoon in Oslo
David Golden wrote: > I'm arriving 9:35 AM (Continental from Newark) That's actually the same flight that Ricardo and I are on. -- Michael Peters Plus Three, LP
Re: Friday afternoon in Oslo
On Mon, Mar 31, 2008 at 11:59 AM, Michael Peters <[EMAIL PROTECTED]> wrote: > David Golden wrote: > > > I'm arriving 9:35 AM (Continental from Newark) > > That's actually the same flight that Ricardo and I are on. That's handy. If you, Ricardo and I don't make it to the hotel, AndyA will only have to send out *one* search party instead of *three*. :-) Daivd
Re: TAP has no exit code
Eric Wilhelm wrote: # from Michael G Schwern # on Sunday 30 March 2008 23:35: There is a TAP proposal to add meta information such as the exit codes. http://testanything.org/wiki/index.php/TAP_meta_information Yay. Can we put 'hostname' in there too? You can put whatever you want in there, the magic of YAML! The scheme of reserving all leading lower case keys seems to be working well for META.yml, I've changed the extension rules to reflect that, but it would be a worthwhile official field. (Note, no fields are required). -- 191. Our Humvees cannot be assembled into a giant battle-robot. -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army http://skippyslist.com/list/
Re: Friday afternoon in Oslo
David Golden wrote: I'll be getting into Oslo Friday mid-morning. Assuming no mishaps finding the hotel, I'll be up for touring around Oslo on Friday afternoon. If anyone from the hackathon has similar plans and is interested in meeting up, please email and let me know. (And if any locals want to play tour guide, that's great too!) I'll be in Friday afternoon, Ryan Air willing, probably around 2 or 3. Count me in. -- 151. The proper way to report to my Commander is “Specialist Schwarz, reporting as ordered, Sir” not “You can’t prove a thing!” -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army http://skippyslist.com/list/
More topics for the hackathon
Eric brining up TAP meta information made me think of some more hackathon topics. Finish and implement the TAP meta information proposals. Everybody wants them. http://perl-qa.hexten.net/wiki/index.php/Oslo_QA_Hackathon_2008_:_Topics#TAP_Meta_Information Revise the TAP specification, it's out of date and incomplete. http://perl-qa.hexten.net/wiki/index.php/Oslo_QA_Hackathon_2008_:_Topics#Revise_TAP_Specification Begin a universal test suite for TAP interpreters so other languages can write one and we're not all relying on TAP::Parser. http://perl-qa.hexten.net/wiki/index.php/Oslo_QA_Hackathon_2008_:_Topics#Universal_TAP_interpreter_test_suite Finish or kill the existing TAP proposals, they've been in limbo for a while. http://perl-qa.hexten.net/wiki/index.php/Oslo_QA_Hackathon_2008_:_Topics#Finish_or_Kill_TAP_Proposals -- Reality is that which, when you stop believing in it, doesn't go away. -- Phillip K. Dick
Re: Oslo Hackathon schedule page
On 31 Mar 2008, at 16:18, Andy Armstrong wrote: Understood. Speaking of the venue - could you add it to the map please? :) http://perl-qa.hexten.net/wiki/index.php/Oslo_QA_Hackathon_2008_:_Locations Now with added Google Earth network link - because it was more fun that what I was supposed to be doing and I'm excited about Oslo. Only 3 sleeps! :) -- Andy Armstrong, Hexten
Re: Test::Harness wishlist: trap $SIG{INT}
On Wed, Mar 26, 2008 at 07:55:25AM -0400, David Golden wrote: > For Oslo or whenever, I'd like to see Test::Harness trap $SIG{INT} > when running test files. On Win32, CTRL-C at the console hits every > process on it, so killing a hung process kills the harness, too. I'd > prefer to see the harness trap CTRL-C, check for subprocess exiting > with an error and do an orderly FAIL. FWIW, I'm experiencing similar weirdness on Solaris and NetBSD, but haven't taken the time to thoroughly investigate it. I probably should. -- David Cantrell | top google result for "topless karaoke murders" You know you're getting old when you fancy the teenager's parent and ignore the teenager -- Paul M in uknot
YA Hackathon Topic: Help Improve Parrot's Smoke Testing
If by some chance you run out of things to hack on, you can help out the Parrot project by taking a look at our smoke testing system -- specifically, its reliance on, and hackish overriding of, two CPAN modules. http://perl-qa.hexten.net/wiki/index.php/Oslo_QA_Hackathon_2008_:_Topics#Improve_Parrot.27s_smoke_testing