Floater_ alternatives and similar libraries
Based on the "UI Testing" category.
Alternatively, view Floater_ alternatives based on common mentions on social networks and blogs.
-
Bluepill
Bluepill is a reliable iOS testing tool that runs UI tests using multiple simulators on a single machine -
TouchVisualizer
DISCONTINUED. Lightweight touch visualization library in Swift. A single line of code and visualize your touches! -
ios-driver
Selenium server to test native, hybrid and web apps on IOS. Join us on IRC #ios-driver on freenode -
AutoMate
Swift framework containing a set of helpful XCTest extensions for writing UI automation tests -
appium
Appium is an open source test automation framework for use with native and hybrid mobile apps. -
Flawless App
tool for visual quality check of mobile app in a real-time. It compares initial design with the actual implementation right inside iOS simulator. -
UIAutomation
JavaScript library to write test scripts that exercise your app’s user interface elements while the app runs on a connected device.
InfluxDB - Power Real-Time Data Analytics at Scale
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Floater_ or a related project?
README
Add a floating fingertip & automate your app demo video using Xcode UI tests.
Check out our blog post for more info.
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Installation
1. Create UI test target
If you don't already have one, create a UI test target for your app.
2. Add Floater💩 to your app & UI test targets
CocoaPods
Floater💩 is available through CocoaPods, however the pod should not simply be imported in its entirety. Rather, the two subspecs Floater💩/AppStuff
and Floater💩/UITestStuff
should each be included separately into your app target & UI test target, respectively.
# Podfile
target 'MyApp' do
pod 'Floater💩/AppStuff'
end
target 'MyAppUITests' do
pod 'Floater💩/UITestStuff'
end
Sans CocoaPods
- Everything from
Floater💩/Classes/AppStuff
goes into your app target. - Everything from
Floater💩/Classes/UITestStuff
goes into your UI test target. - Everything from
Floater💩/Classes/Shared
goes into both your app target and your UI test target. - Add HSTestingBackchannel to both targets.
3. Use Floater💩Application
as the application class
Swift
Remove @UIApplicationMain
from your AppDelegate file, and create a main.swift file containing the following:
import Floater_
UIApplicationMain(Process.argc, Process.unsafeArgv, NSStringFromClass(Floater💩Application.self), NSStringFromClass(YOUR_APP_DELEGATE.self))
Objective-C
@import Floater_;
int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, NSStringFromClass([FLTRApplication class]), NSStringFromClass([AppDelegate class]));
}
}
Usage
Write UI tests!
Write your UI tests as usual, with one difference: Use the
float💩()
method prior to each tap to move the floating fingertip between tap events.let awesomeButton = XCUIApplication().buttons["Awesome Button"] awesomeButton.float💩() awesomeButton.tap()
You can call this method on both
XCUIElement
andXCUICoordinate
.If you've never written Xcode UI tests, check out the WWDC 2015 session UI Testing in Xcode.
Run your tests in the simulator by hitting ⌘+U. You'll be presented with the following prompt:
Hit “Allow”. This is necessary for the test process to communicate with your app process.
Use Quicktime Player to record your screen. Boom.