iphone Programming Glossary: ocmock
Do OCUnit and OCMock work on the iPhone SDK? http://stackoverflow.com/questions/159280/do-ocunit-and-ocmock-work-on-the-iphone-sdk OCUnit and OCMock work on the iPhone SDK I simply could not make it work and I am wondering if I am wasting my time or if I am simply stupid..
Testing class method using OCMock release 2.1.1 http://stackoverflow.com/questions/16461274/testing-class-method-using-ocmock-release-2-1-1 class method using OCMock release 2.1.1 I am trying to check if a class method is getting invoked using OCMock. I have gathered from OCMock website.. class method using OCMock release 2.1.1 I am trying to check if a class method is getting invoked using OCMock. I have gathered from OCMock website and other answers on SO that the new OCMock release 2.1 adds support for stubbing class.. OCMock release 2.1.1 I am trying to check if a class method is getting invoked using OCMock. I have gathered from OCMock website and other answers on SO that the new OCMock release 2.1 adds support for stubbing class methods. I am trying to..
What is the best approach for writing unit tests for iPhone / iPad? http://stackoverflow.com/questions/2642869/what-is-the-best-approach-for-writing-unit-tests-for-iphone-ipad the best way to unit test in the iPhone iPad environment Answer for myself I skipped sen and moved onto GHUnit and OCMock. GHUnit allows in simulator testing and debugging where as sen doesn't. This alone makes it a better proposition for iPhone..
Testing use of NSURLConnection with HTTP response error statuses http://stackoverflow.com/questions/697108/testing-use-of-nsurlconnection-with-http-response-error-statuses my code in the case where the response has an HTTP error code like 404 or 500 . I'm using GTM for unit testing and OCMock for mocking. When the server returns an error the connection does not call connection didFailWithError on the delegate but..
|