SwiftMonkey | A framework for doing randomised UI testing of iOS apps | Testing library
kandi X-RAY | SwiftMonkey Summary
kandi X-RAY | SwiftMonkey Summary
SwiftMonkey is a Swift library typically used in Testing, Ethereum applications. SwiftMonkey has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.
This project 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. It also contains a related framework called SwiftMonkeyPaws, which provides visualisation of the generated events. This greatly increases the usefulness of your randomised testing, as you can see what touches caused any crash you may encounter.
This project 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. It also contains a related framework called SwiftMonkeyPaws, which provides visualisation of the generated events. This greatly increases the usefulness of your randomised testing, as you can see what touches caused any crash you may encounter.
Support
Quality
Security
License
Reuse
Support
SwiftMonkey has a medium active ecosystem.
It has 1939 star(s) with 179 fork(s). There are 49 watchers for this library.
It had no major release in the last 12 months.
There are 25 open issues and 52 have been closed. On average issues are closed in 343 days. There are 3 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of SwiftMonkey is 2.2.0
Quality
SwiftMonkey has 0 bugs and 0 code smells.
Security
SwiftMonkey has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
SwiftMonkey code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
SwiftMonkey is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
SwiftMonkey releases are available to install and integrate.
Installation instructions, examples and code snippets are available.
It has 6417 lines of code, 0 functions and 20 files.
It has low code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of SwiftMonkey
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of SwiftMonkey
SwiftMonkey Key Features
No Key Features are available at this moment for SwiftMonkey.
SwiftMonkey Examples and Code Snippets
No Code Snippets are available at this moment for SwiftMonkey.
Community Discussions
Trending Discussions on SwiftMonkey
QUESTION
Launch Arguments in Xcode schemes
Asked 2019-Jul-18 at 07:53
I'm looking at SwiftMonkey. The link is: https://github.com/zalando/SwiftMonkey
They say to use command line flags as in:
...ANSWER
Answered 2019-Jul-18 at 07:53You can send launch arguments from UI tests to the application under test using the launchArguments
property on XCUIApplication
:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install SwiftMonkey
To see for yourself how this framework works, just grab the code and open SwiftMonkeyExample/SwiftMonkeyExample.xcodeproj. Then press Cmd-U to run the UI test.
As a high-level overview, add SwiftMonkey.framework to your UI test target. Then add a test that creates a Monkey object and uses it to generate events. Optionally, you also add the SwiftMonkeyPaws.framework to your main app, and create a MonkeyPaws object to enable visualisation. You probably only want to do this for debug builds, or when a specific command line flag is used.
Copy the SwiftMonkey and SwiftMonkeyPaws folders into your project. Next, drag the xcodeproj files into your project. Then, for SwiftMonkey, add SwiftMonkey.framework as a dependency for your test target, and add a Copy Files build phase to copy it into Frameworks. For SwiftMonkeyPaws, adding SwiftMonkeyPaws.framework to the Embedded Binaries section of your app target is enough. (You can also just directly link the Swift files, if you do not want to use frameworks.).
As a high-level overview, add SwiftMonkey.framework to your UI test target. Then add a test that creates a Monkey object and uses it to generate events. Optionally, you also add the SwiftMonkeyPaws.framework to your main app, and create a MonkeyPaws object to enable visualisation. You probably only want to do this for debug builds, or when a specific command line flag is used.
Copy the SwiftMonkey and SwiftMonkeyPaws folders into your project. Next, drag the xcodeproj files into your project. Then, for SwiftMonkey, add SwiftMonkey.framework as a dependency for your test target, and add a Copy Files build phase to copy it into Frameworks. For SwiftMonkeyPaws, adding SwiftMonkeyPaws.framework to the Embedded Binaries section of your app target is enough. (You can also just directly link the Swift files, if you do not want to use frameworks.).
Support
Feel free to file issues and send pull requests for this project! It is very new and not overly organised yet, so be bold and go ahead. We will sort out the details as we go along. Code style is currently just four-space identation and regular Apple Swift formatting.
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page