CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✓ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Jul 2015 |
Maintained by suwa-yuki.
| Depends on: | |
| AWSCore | ~> 2.2.2 |
| AWSAutoScaling | ~> 2.2.2 |
| AWSCloudWatch | ~> 2.2.2 |
| AWSDynamoDB | ~> 2.2.2 |
| AWSEC2 | ~> 2.2.2 |
| AWSElasticLoadBalancing | ~> 2.2.2 |
| AWSKinesis | ~> 2.2.2 |
| AWSMobileAnalytics | ~> 2.2.2 |
| AWSS3 | ~> 2.2.2 |
| AWSSES | ~> 2.2.2 |
| AWSSimpleDB | ~> 2.2.2 |
| AWSSNS | ~> 2.2.2 |
| AWSSQS | ~> 2.2.2 |
| AWSCognito | ~> 2.2.2 |
| AWSLambda | ~> 2.2.2 |
| AWSMachineLearning | ~> 2.2.2 |
| AWSAPIGateway | ~> 2.2.2 |
| OCMock | ~> 3.1.2 |
| Bolts | ~> 1.1.5 |
TAWS is a Mocking & Stubbing Library for AWSiOSSDKv2.
AWSMock is simple class that can write stub & mock, it like RSpec.
Let try mocking and stubbing to AWS!
pod install from the Example directory first.#import <TAWS/TAWS.h> in your test case.AWSMock *mock = [AWSMock mockWith:AWSServiceSNS
receive:@selector(subscribe:)
with:request
andReturn:response];
// Call Subscribe API
[mock verify];AWSStub is alias to AWSMock.
AWSStub *stub = [AWSStub stubWith:AWSServiceSNS
receive:@selector(subscribe:)
with:request
andReturn:response];TAWS require AWSiOSSDKv2.
TAWS is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "TAWS"TAWS is available under the MIT license. See the LICENSE file for more info.