Re: question on writing tests
| From: | Ligaya Turmelle | Date: | Sun, 04 Jun 2006 23:23:14 +0000 |
| Subject: | Re: question on writing tests | ||
| References: | 1 2 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-26803@lists.php.net to get a copy of this message | ||
Marcus Boerger wrote:
Hello Ligaya, in head php behaves different depending on the unicode_semantics ini setting. For example var_dump("Hello") shows as string(5) "Hello" in all versions up to 5.* and HEAD in native mode. If you turn on unicode in HEAD the output changes to unicode(5) "Hello". To allow to test against both modes in a single phpt file you can add a second expect block whose name is preceeded with a U, e.g. --EXPECT-- -> --UEXPECT-- best regards marcus Friday, June 2, 2006, 8:42:02 AM, you wrote:-- life is a game... so have fun.I noticed that on some of the tests i wrote that a --UEXPECTF-- was added, but I can not find an explanation of what that is for on the http://qa.php.net/write-test.php page. Can someone please explain what it is and if it is something I need to add to the tests I am writing. I don't want to add work after all.I am writing the tests on PHP version 5.1.4, Windows XP SP2 (yeah i know - I swear I am in the process on learning Ubuntu). Anything I should keep in mind - or should I just keep going on my merry way?Respectfully, Ligaya TurmelleBest regards, Marcus Well crap :) Hmm - guess it is about time for me to learn how to install PHP from source on my Linux lappy (that may take me a bit but I can figure it out)... I want to help do the work. Not add more.