Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Commit

Permalink
Add README, LICENSE and podspec.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dag Ågren committed Nov 15, 2016
1 parent 12b02ab commit 73ddda7
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 3 deletions.
7 changes: 7 additions & 0 deletions LICENSE
@@ -0,0 +1,7 @@
The MIT License (MIT) Copyright © 2016 Zalando SE, https://tech.zalando.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
40 changes: 40 additions & 0 deletions README.md
@@ -0,0 +1,40 @@
# SwiftMonkey

This is a framework for generating randomised user input in iOS
apps. This kind of monkey testing is useful for stress-testing
apps and finding rare crashes.

There is a related project, [SwiftMonkeyPaws][], which provides
visualisation of the generated events. This greatly increases
the usefulness of the randomised testing, as you can see what
touches caused any crash you may encounter.

### Requirements

SwiftMonkey uses Swift 3.0. It has no other dependencies
other than iOS itself. Pairing it with the [SwiftMonkeyPaws][]
framework is a good idea, but not required.

### Usage

To be written.

### Contact

This software is written by Dag Ågren (dag.agren@zalando.fi)
for Zalando SE.

Bug reports and feature requests are more likely to be addressed
if posted as issues here on GitHub.

### License

The MIT License (MIT) Copyright © 2016 Zalando SE, https://tech.zalando.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

[SwiftMonkeyPaws]: https://github.bus.zalan.do/dagren/SwiftMonkeyPaws
20 changes: 20 additions & 0 deletions SwiftMonkey.podspec
@@ -0,0 +1,20 @@
Pod::Spec.new do |s|
s.name = "SwiftMonkey"
s.version = "0.0.2"
s.summary = "Monkey testing framework for iOS apps"
s.description = <<-DESC
A framework for generating randomised user
input in iOS apps. This kind of monkey testing
is useful for stress-testing apps and finding
rare crashes.
DESC
s.homepage = "https://github.bus.zalan.do/dagren/SwiftMonkey"
s.license = { type: 'MIT', file: 'LICENSE' }
s.author = { "Dag Ågren" => "dag.agren@zalando.fi" }
s.social_media_url = "http://twitter.com/WAHa_06x36"
s.platform = :ios, '9.0'
s.source = { :git => "git@github.bus.zalan.do:dagren/SwiftMonkey.git", :tag => "#{s.version}" }
s.source_files = "*.swift"
s.exclude_files = "Package.swift"
s.framework = 'XCTest'
end
13 changes: 10 additions & 3 deletions SwiftMonkey.xcodeproj/project.pbxproj
Expand Up @@ -8,6 +8,7 @@

/* Begin PBXBuildFile section */
C929B55F1DD0B966004B256F /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C929B55E1DD0B966004B256F /* UIKit.framework */; };
C94326421DDB2F260038A891 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C94326411DDB2F260038A891 /* XCTest.framework */; };
OBJ_22 /* Monkey.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_9 /* Monkey.swift */; };
OBJ_23 /* MonkeyUIAutomation.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_10 /* MonkeyUIAutomation.swift */; };
OBJ_24 /* MonkeyXCTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_11 /* MonkeyXCTest.swift */; };
Expand All @@ -17,6 +18,9 @@

/* Begin PBXFileReference section */
C929B55E1DD0B966004B256F /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
C943263F1DDB2D130038A891 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
C94326401DDB2D130038A891 /* SwiftMonkey.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = SwiftMonkey.podspec; sourceTree = "<group>"; };
C94326411DDB2F260038A891 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
OBJ_10 /* MonkeyUIAutomation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MonkeyUIAutomation.swift; sourceTree = "<group>"; };
OBJ_11 /* MonkeyXCTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MonkeyXCTest.swift; sourceTree = "<group>"; };
OBJ_12 /* MonkeyXCTestPrivate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MonkeyXCTestPrivate.swift; sourceTree = "<group>"; };
Expand All @@ -31,6 +35,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 0;
files = (
C94326421DDB2F260038A891 /* XCTest.framework in Frameworks */,
C929B55F1DD0B966004B256F /* UIKit.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -41,6 +46,7 @@
C929B55D1DD0B966004B256F /* Frameworks */ = {
isa = PBXGroup;
children = (
C94326411DDB2F260038A891 /* XCTest.framework */,
C929B55E1DD0B966004B256F /* UIKit.framework */,
);
name = Frameworks;
Expand All @@ -61,16 +67,17 @@
name = Products;
sourceTree = BUILT_PRODUCTS_DIR;
};
OBJ_5 /* */ = {
OBJ_5 = {
isa = PBXGroup;
children = (
C943263F1DDB2D130038A891 /* README.md */,
OBJ_6 /* Package.swift */,
C94326401DDB2D130038A891 /* SwiftMonkey.podspec */,
OBJ_7 /* Sources */,
OBJ_14 /* Tests */,
OBJ_15 /* Products */,
C929B55D1DD0B966004B256F /* Frameworks */,
);
name = "";
sourceTree = "<group>";
};
OBJ_7 /* Sources */ = {
Expand Down Expand Up @@ -128,7 +135,7 @@
knownRegions = (
en,
);
mainGroup = OBJ_5 /* */;
mainGroup = OBJ_5;
productRefGroup = OBJ_15 /* Products */;
projectDirPath = "";
projectRoot = "";
Expand Down

0 comments on commit 73ddda7

Please sign in to comment.