testcentricity_mobile 4.0.8 → 4.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +23 -25
- data/lib/testcentricity_mobile/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f614ec9e185b78ac414d59983cc909e2f989401ca8e118118a87954d5570e7b
|
4
|
+
data.tar.gz: 03a59837c4cdc0c4a143825c6e671cfaa247d1438d3641a501c2e47540e64294
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a0fd28581e86081760d8ef6370493d5942e97159289b33725edef4efea931b818b91b8dfca995a52d83b33a5a48dbfefc8f189bf35594cf9020069531340656
|
7
|
+
data.tar.gz: 9921931f165066e34fedee0667c4f38f94f2cd13338a569c6ea6bb1b4ac69efe4b301df31d7084327acce4d707fd183ad9998c769f2ebf7ac9fb1f560f7bfeba
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# TestCentricity™ Mobile
|
1
|
+
# TestCentricity™ For Mobile
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/testcentricity_mobile.svg)](https://badge.fury.io/rb/testcentricity_mobile)
|
4
4
|
[![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square)](http://opensource.org/licenses/BSD-3-Clause)
|
@@ -7,12 +7,12 @@
|
|
7
7
|
[![Docs](https://img.shields.io/badge/docs-rubydoc-blue.svg)](http://www.rubydoc.info/gems/testcentricity_mobile)
|
8
8
|
|
9
9
|
|
10
|
-
The TestCentricity™ Mobile core framework for native mobile iOS and Android app testing implements a Screen Object Model
|
10
|
+
The TestCentricity™ For Mobile core framework for native mobile iOS and Android app testing implements a Screen Object Model
|
11
11
|
DSL for use with Cucumber (version 7.x or greater) and Appium 2.x. It also facilitates the configuration of the appropriate
|
12
12
|
Appium capabilities and driver required to establish a connection with locally or cloud hosted iOS and Android real devices
|
13
13
|
or simulators.
|
14
14
|
|
15
|
-
The TestCentricity™ Mobile gem supports automated testing of native iOS and Android apps running on the following mobile
|
15
|
+
The TestCentricity™ For Mobile gem supports automated testing of native iOS and Android apps running on the following mobile
|
16
16
|
test targets:
|
17
17
|
* locally hosted iOS device simulators or physical iOS devices (using Appium and XCode on macOS)
|
18
18
|
* locally hosted Android devices or Android Studio virtual device emulators (using Appium and Android Studio)
|
@@ -24,12 +24,12 @@ test targets:
|
|
24
24
|
|
25
25
|
## What's New
|
26
26
|
|
27
|
-
A complete history of bug fixes and new features can be found in the
|
27
|
+
A complete history of bug fixes and new features can be found in the [CHANGELOG](https://github.com/TestCentricity/testcentricity_mobile/blob/master/CHANGELOG.md) file.
|
28
28
|
|
29
29
|
The RubyDocs for this gem can be found [here](https://www.rubydoc.info/gems/testcentricity_mobile/).
|
30
30
|
|
31
|
-
Two example projects that demonstrates the implementation of a screen object model framework using
|
32
|
-
|
31
|
+
Two example projects that demonstrates the implementation of a screen object model framework using TestCentricity™ For Mobile
|
32
|
+
and Cucumber can be found at the following:
|
33
33
|
* [tc_mobile_react_native_demo](https://github.com/TestCentricity/tc_mobile_react_native_demo)
|
34
34
|
* [tc_mobile_wdio_demo](https://github.com/TestCentricity/tc_mobile_wdio_demo)
|
35
35
|
|
@@ -39,23 +39,21 @@ ability to interact with and verify iOS system level modal dialogs.
|
|
39
39
|
|
40
40
|
### Which gem should I use?
|
41
41
|
|
42
|
-
* The [TestCentricity **Mobile** gem](https://rubygems.org/gems/testcentricity_mobile)
|
43
|
-
* The [TestCentricity **Apps** gem](https://rubygems.org/gems/testcentricity_apps)
|
44
|
-
* The [TestCentricity **Web** gem](https://rubygems.org/gems/testcentricity_web)
|
45
|
-
* The TestCentricity gem supports testing of native mobile apps and/or web interfaces via desktop and mobile web browsers.
|
42
|
+
* The [TestCentricity For **Mobile** gem](https://rubygems.org/gems/testcentricity_mobile) supports testing of native iOS and Android mobile apps
|
43
|
+
* The [TestCentricity For **Apps** gem](https://rubygems.org/gems/testcentricity_apps) supports testing of MacOS desktop apps and native iOS and Android mobile apps
|
44
|
+
* The [TestCentricity For **Web** gem](https://rubygems.org/gems/testcentricity_web) supports testing of web interfaces via desktop and mobile web browsers
|
46
45
|
|
47
|
-
| Tested platforms
|
48
|
-
|
49
|
-
| Native mobile iOS and/or Android apps only
|
50
|
-
| MacOS desktop apps
|
51
|
-
| Desktop/mobile web browsers only
|
52
|
-
| Native mobile apps and desktop/mobile web browsers | No | No | No | Yes |
|
46
|
+
| Tested platforms | TestCentricity For Mobile | TestCentricity For Apps | TestCentricity For Web |
|
47
|
+
|--------------------------------------------|:-:|:-:|:-:|
|
48
|
+
| Native mobile iOS and/or Android apps only | Yes | Yes | No |
|
49
|
+
| MacOS desktop apps | No | Yes | No |
|
50
|
+
| Desktop/mobile web browsers only | No | No | Yes |
|
53
51
|
|
54
52
|
|
55
53
|
## Installation
|
56
54
|
|
57
|
-
TestCentricity Mobile version 3.0 and above requires Ruby 3.0.0 or later. To install the TestCentricity Mobile gem,
|
58
|
-
this line to your automation project's Gemfile
|
55
|
+
TestCentricity For Mobile version 3.0 and above requires Ruby 3.0.0 or later. To install the TestCentricity For Mobile gem,
|
56
|
+
add this line to your automation project's `Gemfile`:
|
59
57
|
|
60
58
|
gem 'testcentricity_mobile'
|
61
59
|
|
@@ -878,7 +876,7 @@ axis that is set when instantiating an `AppList` element.
|
|
878
876
|
|
879
877
|
iOS Cloud List `ScreenObject`
|
880
878
|
```ruby
|
881
|
-
class CloudListScreen < ScreenObject
|
879
|
+
class CloudListScreen < TestCentricity::ScreenObject
|
882
880
|
trait(:screen_name) { 'Cloud List' }
|
883
881
|
trait(:screen_locator) { { class_chain: '**/XCUIElementTypeWindow/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther' } }
|
884
882
|
|
@@ -896,7 +894,7 @@ iOS Cloud List `ScreenObject`
|
|
896
894
|
|
897
895
|
Android CloudListScreen `ScreenObject`
|
898
896
|
```ruby
|
899
|
-
class CloudListScreen < ScreenObject
|
897
|
+
class CloudListScreen < TestCentricity::ScreenObject
|
900
898
|
trait(:screen_name) { 'Cloud List' }
|
901
899
|
trait(:screen_locator) { { xpath: '//android.widget.FrameLayout[@resource-id="android:id/content"]/android.view.ViewGroup' } }
|
902
900
|
|
@@ -939,7 +937,7 @@ from the above examples.
|
|
939
937
|
|
940
938
|
iOS Swipe `ScreenObject`
|
941
939
|
```ruby
|
942
|
-
class SwipeScreen < ScreenObject
|
940
|
+
class SwipeScreen < TestCentricity::ScreenObject
|
943
941
|
trait(:screen_name) { 'Swipe' }
|
944
942
|
trait(:screen_locator) { { accessibility_id: 'Swipe-screen' } }
|
945
943
|
|
@@ -960,7 +958,7 @@ iOS Swipe `ScreenObject`
|
|
960
958
|
|
961
959
|
Android Swipe `ScreenObject`
|
962
960
|
```ruby
|
963
|
-
class SwipeScreen < ScreenObject
|
961
|
+
class SwipeScreen < TestCentricity::ScreenObject
|
964
962
|
trait(:screen_name) { 'Swipe' }
|
965
963
|
trait(:screen_locator) { { accessibility_id: 'Swipe-screen' } }
|
966
964
|
|
@@ -1011,7 +1009,7 @@ The code snippet below demonstrate the use of the `AppList.define_list_elements`
|
|
1011
1009
|
|
1012
1010
|
Android FormScreen `ScreenObject`
|
1013
1011
|
```ruby
|
1014
|
-
class FormScreen < ScreenObject
|
1012
|
+
class FormScreen < TestCentricity::ScreenObject
|
1015
1013
|
trait(:screen_name) { 'Form' }
|
1016
1014
|
trait(:screen_locator) { { accessibility_id: 'Forms-screen' } }
|
1017
1015
|
|
@@ -1717,7 +1715,7 @@ Refer to the following pages for information on uploading your iOS `.ipa` or `.a
|
|
1717
1715
|
Sauce Labs servers:
|
1718
1716
|
- [Mobile App Storage](https://docs.saucelabs.com/mobile-apps/app-storage/)
|
1719
1717
|
|
1720
|
-
The TestCentricity Mobile gem does not currently support automatic upload of app files to Sauce Labs servers. Uploading
|
1718
|
+
The TestCentricity For Mobile gem does not currently support automatic upload of app files to Sauce Labs servers. Uploading
|
1721
1719
|
will have to be performed manually or via your CI workflow. If you have not specified a custom test ID for your apps, your
|
1722
1720
|
tests will most likely fail as a new `app_url` will be generated, and you will have to update your test configuration data
|
1723
1721
|
to use the new `app_url`. If you have specified a custom test ID for your apps, your tests should be able to run without
|
@@ -2013,7 +2011,7 @@ the `/features/support/<platform>/sections` folder, where `<platform>` is typica
|
|
2013
2011
|
---
|
2014
2012
|
## Mobile Test Automation Framework Implementation
|
2015
2013
|
|
2016
|
-
![TestCentricity Mobile Framework Overview](https://raw.githubusercontent.com/TestCentricity/testcentricity_mobile/main/.github/images/TC_Mobile.jpg "TestCentricity Mobile Framework Overview")
|
2014
|
+
![TestCentricity For Mobile Framework Overview](https://raw.githubusercontent.com/TestCentricity/testcentricity_mobile/main/.github/images/TC_Mobile.jpg "TestCentricity For Mobile Framework Overview")
|
2017
2015
|
|
2018
2016
|
|
2019
2017
|
---
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testcentricity_mobile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- A.J. Mrozinski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -212,14 +212,14 @@ dependencies:
|
|
212
212
|
requirements:
|
213
213
|
- - '='
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version: 4.
|
215
|
+
version: 4.22.0
|
216
216
|
type: :runtime
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
220
|
- - '='
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
-
version: 4.
|
222
|
+
version: 4.22.0
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: test-unit
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -250,7 +250,7 @@ dependencies:
|
|
250
250
|
version: '0'
|
251
251
|
description: |2-
|
252
252
|
|
253
|
-
The TestCentricity™ Mobile core framework for native mobile iOS and Android app testing implements a Screen Object
|
253
|
+
The TestCentricity™ For Mobile core framework for native mobile iOS and Android app testing implements a Screen Object
|
254
254
|
Model DSL for use with Cucumber or RSpec and Appium. The gem also facilitates the configuration of the appropriate
|
255
255
|
Appium capabilities required to establish a connection with locally or cloud hosted (using BrowserStack, Sauce Labs,
|
256
256
|
or TestingBot services) iOS or Android devices or simulators.
|