Hi Everyone,
I recently committed Zend_Service_Amazon_S3 to the laboratory and am interested in any feedback anyone might be able to provide. This class is meant to be used as a PHP stream wrapper (stream_wrapper_register()) and that's primarily how my unit tests interface with the class as well. Since that is the way the class was intended to be used, should I try to test the class outside of the stream wrapper or leave the tests as-is?

The tests do completely successfully when used with a valid AWS access key and secret key. Since each test case needs to have a valid bucket to test again, and I'm build and tearing down the bucket on each test, should I move that into the setUp() method instead?

I haven't really written PHPUnit tests before so I'm looking for suggestions.

Thanks.

-Justin

Reply via email to