From d2bf40e32169e34f629d976e4dcbc55c30b1f6d7 Mon Sep 17 00:00:00 2001 From: Kazuaki MATSUO Date: Sat, 14 Apr 2018 17:20:30 +0100 Subject: [PATCH] remove old docs --- android_tests/readme.md | 45 +++++++++++++++-------------------------- ios_tests/Gemfile | 1 + ios_tests/readme.md | 12 +++++------ 3 files changed, 22 insertions(+), 36 deletions(-) diff --git a/android_tests/readme.md b/android_tests/readme.md index f4b74f53..b2fc58b1 100644 --- a/android_tests/readme.md +++ b/android_tests/readme.md @@ -12,18 +12,9 @@ ruby_lib's Android tests. Requires `Ruby 2.2+` or better. api.apk is from [appium/android-apidemos](https://github.com/appium/android-apidemos) The way to generate api.apk is described in the repository. -#### Documentation +--- -- [Installing Appium on OS X](https://github.com/appium/ruby_console/blob/master/osx.md) -- [Overview](https://github.com/appium/ruby_lib/blob/master/docs/docs.md) -- [Android methods](https://github.com/appium/ruby_lib/blob/master/docs/android_docs.md) -- [Minitest Expectations](http://ruby-doc.org/stdlib-1.9.3/libdoc/minitest/spec/rdoc/MiniTest/Expectations.html) - --- - -These results are run against Intel HAXM emulator (Nexus 7, Android 5.0.1, API 21) - -```java +```ruby Finished in 2 mins 57 secs 106 runs, 144 assertions, 0 failures, 0 errors, 0 skips @@ -34,21 +25,17 @@ Finished in 2 mins 57 secs - apk - [emma-build](https://github.com/appium/android-apidemos/blob/a20597cb97238bf43c073500444b9428fab53f50/README.md#emma-build-for-testing-code-coverage) - `appium.txt` -``` -[caps] -platformName = "android" -deviceName = "Nexus 7" -app = "../test_apps/api.apk" -appPackage = "io.appium.android.apis" -appActivity = "io.appium.android.apis.ApiDemos" -some_capability = "some_capability" -androidCoverage = 'io.appium.android.apis/io.appium.android.apis.app.LocalSampleInstrumentation' - -[appium_lib] -sauce_username = "" -sauce_access_key = "" -``` -- Documentations - - `uiautomationName` - - [appium](https://github.com/appium/appium/blob/0.18.x/docs/en/android_coverage.md) - - [uiautomator2](https://github.com/Sw0rdstream/appium/blob/6f11ede8df88d99ef90bc2776b8e9e26f7329242/docs/en/writing-running-appium/android_coverage.md) + ``` + [caps] + platformName = "android" + deviceName = "Nexus 7" + app = "../test_apps/api.apk" + appPackage = "io.appium.android.apis" + appActivity = "io.appium.android.apis.ApiDemos" + some_capability = "some_capability" + androidCoverage = 'io.appium.android.apis/io.appium.android.apis.app.LocalSampleInstrumentation' + + [appium_lib] + sauce_username = "" + sauce_access_key = "" + ``` diff --git a/ios_tests/Gemfile b/ios_tests/Gemfile index 9d070927..fee29063 100644 --- a/ios_tests/Gemfile +++ b/ios_tests/Gemfile @@ -2,3 +2,4 @@ source 'https://rubygems.org' gemspec path: File.expand_path('../../', __FILE__) # __dir__ fails on 1.9 gem 'appium_console' +gem 'parallel_tests' diff --git a/ios_tests/readme.md b/ios_tests/readme.md index e298de7d..63ac1bf7 100644 --- a/ios_tests/readme.md +++ b/ios_tests/readme.md @@ -17,17 +17,15 @@ ruby_lib's iOS tests. Requires `Ruby 2.2+` or better. There are two backend drivers available for iOS (automationName). UIAutomation which is supported up-to iOS 9.3 and XCUITest which is supported from 10.0 on. UIAutomation is deprecated but will continue to be supported for the time being. By default, the tests are now run against `iPhone 6 Simulator 10.1 (14A345)` -#### Documentation - -- [Installing Appium on OS X](https://github.com/appium/ruby_console/blob/master/osx.md) -- [Overview](https://github.com/appium/ruby_lib/blob/master/docs/docs.md) -- [iOS methods](https://github.com/appium/ruby_lib/blob/master/docs/ios_docs.md) -- [Minitest Expectations](http://ruby-doc.org/stdlib-1.9.3/libdoc/minitest/spec/rdoc/MiniTest/Expectations.html) -- -```java +```ruby Finished in 1 min 57 secs 123 runs, 164 assertions, 0 failures, 0 errors, 0 skips ``` + +### Tips for parallel + +- https://github.com/grosser/parallel_tests