ZF-3077: Unit tests should work offline wherever possible

Description

The unit test suite for Zend_Service_Simpy should have the capability to run offline. Typically this involves capturing responses from the service provider to files and adding these files to SVN for use with the test suite. See other test suites for more specifics on how this can be done.

Comments

Alex, please evaluate and decide whether we should fix this. If it is worth fixing, please contact the author of Simpy to see if she/he will fix it.

I'm working on separating the test suite out into both online and offline versions. I've run into an issue with Simpy itself that prevents some tests from running reliably and contacted its maintainer but as of yet have received no response. Copies of the communications are included below.

{quote} Date: Sat, 18 Apr 2009 10:12:42 -0500 Subject: Simpy Delete Link Bug? From: Matthew Turland tobias382@gmail.com To: Otis Gospodnetic otis@simpy.com

Hey Otis,

I'm having an issue deleting links on Simpy, both from the web interface and through the API. If you look under the syapizend account, you should see a single bookmark for http://framework.zend.com. Attempts to delete this link from the web interface appear to work as normal up to the point where the page refreshes, when the link is still shown despite the deletion attempt. The API returns the response shown below, also appearing to indicate that all is well, but a subsequent call to GetLinks shows the link to still be present. Any ideas on what could be causing this issue? Thanks in advance for your help.

<?xml version="1.0" encoding="utf-8" ?> 0 Link deleted successfully.

Regards,

Matthew Turland {quote}

{quote} Date: Sat, 18 Apr 2009 13:32:28 -0500 Subject: Re: Simpy Delete Link Bug? From: Matthew Turland tobias382@gmail.com To: Otis Gospodnetic otis@simpy.com

Hey Otis,

Another issue that came up after I'd already sent the previous e-mail: when I attempt to edit this link, I get the following.

Who Stole my Mojo!? (read: ooops, something broke) An error has occurred. This may be a temporary error. Please go back and try again. If the error persists, please let us know.

Perhaps this is an issue with the search index being out of sync with data storage? Please keep me apprised of what you find out.

Thanks,

Matt {quote}

{quote} @otisg Sent you an e-mail regarding a Simpy issue about 5 days ago. Should I be sending it elsewhere these days? -- http://twitter.com/elazar/statuses/1590896939/ {quote}

Finally got the response below. Starting work on this issue again.

{quote} Date: Sun, 3 May 2009 20:43:31 -0700 (PDT) To: simpy-user@yahoogroups.com From: Otis Gospodnetic <otis_gospodnetic@...> Subject: Re: [simpy-user] API and Web Issue

Hi,

All clear now - your account's underlying bookmark index needed reindexing, that's all. Note that I replied to you.... I think it was over IM, so maybe you didn't get my message.

Otis {quote}

Committed to trunk in r15885, merged to 1.8 release branch in r15893.