AW: [PHP-QA] SKIPIF print vs die

From: Date: Tue, 28 Apr 2009 08:04:15 +0000
Subject: AW: [PHP-QA] SKIPIF print vs die
References: 1 2  Groups: php.qa 
Request: Send a blank email to php-qa+get-64808@lists.php.net to get a copy of this message
Hey Is there need to update the slides and the wiki page ? S. -----Ursprüngliche Nachricht----- Von: zoe [mailto:zoe.slattery@googlemail.com] Gesendet: Dienstag, 28. April 2009 08:29 An: Daniel Convissor Cc: PHP QA List Betreff: Re: [PHP-QA] SKIPIF print vs die Daniel Convissor wrote: > Hi Folks: > > I'm reading up on .phpt's because I'll be giving a tutorial at New York's > test fest event. > > The SKIPIF section info at http://qa.php.net/write-test.php > uses print > 'skip whatever' rather than die('skip whatever'), which is commonly used > in actual tests. die() seems preferable since it will halt undesirable > execution when calling the .phpt file directly (as discussed at the > bottom of the write-test web page. > Yes, I see your point. From that point of view using die() is preferable. > I'm wondering what people think about this and whether write-test needs > tweaking. > I'll tweak it no one comes up with a counter argument. Z -- PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.qa (#64808) next »