Unit testing POST in PHP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Unit Tester

    #1

    Unit testing POST in PHP

    Hi,

    I would like to fake a file submission POST for testing purpose.

    I have PHP 4.2.2 with PEAR 1.3.1 including PhpUnit 1.0.1.

    I want to know how to make a testing context that deals with $_FILES
    and move_uploaded_f ile for my unit tests.

    Help will be greatly appreciated.

    Thanks in advance.

    Best regards,

Working...