TAWS 0.1.0

TAWS 0.1.0

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 0.1.0

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!

Usage

  1. To run the example project, clone the repo, and run pod install from the Example directory first.
  2. #import <TAWS/TAWS.h> in your test case.

AWSMock

AWSMock *mock = [AWSMock mockWith:AWSServiceSNS
                          receive:@selector(subscribe:)
                             with:request 
                        andReturn:response];

// Call Subscribe API

[mock verify];

AWSStub

AWSStub is alias to AWSMock.

AWSStub *stub = [AWSStub stubWith:AWSServiceSNS
                          receive:@selector(subscribe:)
                             with:request 
                        andReturn:response];

Suported Services

  • AWSAutoScaling
  • AWSCloudWatch
  • AWSCognitoIdentity
  • AWSCognitoSync
  • AWSDynamoDB
  • AWSEC2
  • AWSElasticLoadBalancing
  • AWSKinesis
  • AWSLambda
  • AWSMachineLearning
  • AWSS3
  • AWSSES
  • AWSSNS
  • AWSSQS
  • AWSSimpleDB

Requirements

TAWS require AWSiOSSDKv2.

Installation

TAWS is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "TAWS"

Author

Classmethod, Inc.

License

TAWS is available under the MIT license. See the LICENSE file for more info.