Re: Unable to unit test code containing *_uploaded_file()

From: Date: Wed, 23 Apr 2008 13:52:05 +0000
Subject: Re: Unable to unit test code containing *_uploaded_file()
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-37203@lists.php.net to get a copy of this message
Pierre Joye schrieb:
However, as far as I remember phpunit does not "fork" php and uses the current instance and that will not allow you to use the phpt method. If it is not the case, then it should be relatively easy to port the phpt system to phpunit (or use phpt :).
PHPUnit_Extensions_PhptTestCase should support this. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69

« previous php.internals (#37203) next »