ZF-3077: Unit tests should work offline wherever possible

Issue Type: Unit Tests: Improvement Created: 2008-04-08T14:51:06.000+0000 Last Updated: 2009-06-04T18:51:59.000+0000 Status: Resolved Fix version(s): - 1.8.3 (09/Jun/09)

Reporter: Darby Felton (darby) Assignee: Matthew Turland (elazar) Tags: - Zend_Service_Simpy

Related issues: Attachments:


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.


Posted by Wil Sinclair (wil) on 2009-01-05T14:05:50.000+0000

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.

Posted by Matthew Turland (elazar) on 2009-04-22T20:01:48.000+0000

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 To: Otis Gospodnetic

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 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.

`0` Link deleted successfully.


Matthew Turland {quote}

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

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.


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? -- {quote}

Posted by Matthew Turland (elazar) on 2009-05-10T14:24:08.000+0000

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

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


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}

Posted by Matthew Turland (elazar) on 2009-06-04T18:51:27.000+0000

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

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.