From aaa85df8651168bcc92219daef544e59de64fdd4 Mon Sep 17 00:00:00 2001 From: Rob Date: Tue, 10 Nov 2015 22:45:28 +0000 Subject: [PATCH] 1.2.0 updates --- HSTestingBackchannel.podspec | 6 +++--- README.md | 12 ++++++++++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/HSTestingBackchannel.podspec b/HSTestingBackchannel.podspec index 1bb92be..742e7a9 100644 --- a/HSTestingBackchannel.podspec +++ b/HSTestingBackchannel.podspec @@ -3,7 +3,7 @@ Pod::Spec.new do |s| s.name = "HSTestingBackchannel" - s.version = "1.1.2" + s.version = "1.2.0" s.summary = "Send notifications directly from your UITesting classes to your running app." @@ -21,9 +21,9 @@ Pod::Spec.new do |s| s.author = { "Rob" => "Rob@HobbyistSoftware.com" } - s.platform = :ios, "6.0" + s.platform = :ios, "7.0" - s.source = { :git => "https://github.com/ConfusedVorlon/HSTestingBackchannel.git", :tag => "1.1.2" } + s.source = { :git => "https://github.com/ConfusedVorlon/HSTestingBackchannel.git", :tag => "1.2.0" } s.source_files = "Classes", "Classes/**/*.{h,m}" diff --git a/README.md b/README.md index 5e30489..e8082c8 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,12 @@ or download the class and add it to your project. 3. Send notifications from your UITesting class - [HSTestingBackchannel sendNotification:@“SnapshotTest"]; + [HSTestingBackchannel sendNotification:@"SnapshotTest"]; + +or + + [HSTestingBackchannel sendNotification:@"SnapshotTest" + withDictionary:@{@"key":@"value"}]; 5. Respond to notifications within your app @@ -57,7 +62,10 @@ or download the class and add it to your project. Within a test method (or in setUp), call something like - [HSTestingBackchannel installFilesFrom:@“..pathTo/fastlane/DummyImages" to:HSTestingResources]; + [HSTestingBackchannel installFilesFrom:@"..pathTo/fastlane/DummyImages" + to:HSTestingResources]; + + This will install the contents of DummyImages in the resources folder of your running app. You can also install directly to the Documents directory in the app.