appium 2.0.0-beta.2 → 2.0.0-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -9
- package/build/lib/appium-config.schema.json +0 -0
- package/build/lib/appium.js +157 -53
- package/build/lib/cli/argparse-actions.js +104 -0
- package/build/lib/cli/args.js +115 -279
- package/build/lib/cli/driver-command.js +11 -1
- package/build/lib/cli/extension-command.js +60 -8
- package/build/lib/cli/extension.js +30 -7
- package/build/lib/cli/npm.js +17 -14
- package/build/lib/cli/parser.js +152 -89
- package/build/lib/cli/plugin-command.js +11 -1
- package/build/lib/cli/utils.js +29 -3
- package/build/lib/config-file.js +141 -0
- package/build/lib/config.js +76 -61
- package/build/lib/driver-config.js +42 -19
- package/build/lib/drivers.js +8 -4
- package/build/lib/ext-config-io.js +165 -0
- package/build/lib/extension-config.js +130 -61
- package/build/lib/grid-register.js +22 -24
- package/build/lib/logger.js +3 -3
- package/build/lib/logsink.js +11 -13
- package/build/lib/main.js +197 -77
- package/build/lib/plugin-config.js +20 -10
- package/build/lib/plugins.js +4 -2
- package/build/lib/schema/appium-config-schema.js +252 -0
- package/build/lib/schema/arg-spec.js +120 -0
- package/build/lib/schema/cli-args.js +173 -0
- package/build/lib/schema/cli-transformers.js +76 -0
- package/build/lib/schema/index.js +36 -0
- package/build/lib/schema/keywords.js +62 -0
- package/build/lib/schema/schema.js +357 -0
- package/build/lib/utils.js +44 -99
- package/lib/appium-config.schema.json +277 -0
- package/lib/appium.js +201 -65
- package/lib/cli/argparse-actions.js +77 -0
- package/lib/cli/args.js +174 -375
- package/lib/cli/driver-command.js +4 -0
- package/lib/cli/extension-command.js +70 -5
- package/lib/cli/extension.js +25 -5
- package/lib/cli/npm.js +18 -12
- package/lib/cli/parser.js +254 -79
- package/lib/cli/plugin-command.js +4 -0
- package/lib/cli/utils.js +21 -1
- package/lib/config-file.js +227 -0
- package/lib/config.js +109 -62
- package/lib/driver-config.js +66 -11
- package/lib/drivers.js +4 -1
- package/lib/ext-config-io.js +287 -0
- package/lib/extension-config.js +225 -67
- package/lib/grid-register.js +27 -24
- package/lib/logger.js +1 -1
- package/lib/logsink.js +10 -7
- package/lib/main.js +211 -77
- package/lib/plugin-config.js +34 -5
- package/lib/plugins.js +1 -0
- package/lib/schema/appium-config-schema.js +286 -0
- package/lib/schema/arg-spec.js +218 -0
- package/lib/schema/cli-args.js +273 -0
- package/lib/schema/cli-transformers.js +123 -0
- package/lib/schema/index.js +2 -0
- package/lib/schema/keywords.js +119 -0
- package/lib/schema/schema.js +577 -0
- package/lib/utils.js +42 -88
- package/package.json +55 -80
- package/postinstall.js +71 -0
- package/types/appium-config.d.ts +197 -0
- package/types/types.d.ts +201 -0
- package/CHANGELOG.md +0 -3515
- package/build/lib/cli/parser-helpers.js +0 -82
- package/lib/cli/parser-helpers.js +0 -79
package/README.md
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
[](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fappium%2Fappium?ref=badge_shield)
|
|
10
10
|
|
|
11
|
-
Appium is an open
|
|
12
|
-
hybrid and mobile web and desktop apps. We support simulators (iOS), emulators
|
|
11
|
+
Appium is an open-source, cross-platform test automation tool for native,
|
|
12
|
+
hybrid, and mobile web and desktop apps. We support simulators (iOS), emulators
|
|
13
13
|
(Android), and real devices (iOS, Android, Windows, Mac).
|
|
14
14
|
|
|
15
15
|
Want to skip straight to the action? Check out our [getting
|
|
@@ -35,7 +35,7 @@ specific information about how that driver works and how to set it up:
|
|
|
35
35
|
### Why Appium?
|
|
36
36
|
|
|
37
37
|
1. You don't have to recompile your app or modify it in any way, due
|
|
38
|
-
to use of standard automation APIs on all platforms.
|
|
38
|
+
to the use of standard automation APIs on all platforms.
|
|
39
39
|
2. You can write tests with your favorite dev tools using any
|
|
40
40
|
[WebDriver](https://w3c.github.io/webdriver/webdriver-spec.html)-compatible
|
|
41
41
|
language such as Java, Objective-C, JavaScript (Node), PHP, Python, Ruby,
|
|
@@ -43,22 +43,22 @@ specific information about how that driver works and how to set it up:
|
|
|
43
43
|
client libraries](/docs/en/about-appium/appium-clients.md).
|
|
44
44
|
3. You can use any testing framework.
|
|
45
45
|
4. Appium has built-in mobile web and hybrid app support. Within the same
|
|
46
|
-
script you can switch seamlessly between native app automation and webview
|
|
46
|
+
script, you can switch seamlessly between native app automation and webview
|
|
47
47
|
automation, all using the WebDriver model that's already the standard for
|
|
48
48
|
web automation.
|
|
49
49
|
|
|
50
50
|
Investing in the
|
|
51
51
|
[WebDriver](https://w3c.github.io/webdriver/webdriver-spec.html) protocol means
|
|
52
|
-
you are betting on a single, free and open protocol for testing that has become
|
|
52
|
+
you are betting on a single, free, and open protocol for testing that has become
|
|
53
53
|
a web standard. Don't lock yourself into a proprietary stack.
|
|
54
54
|
|
|
55
55
|
For example, if you use Apple's XCUITest library without Appium you can only
|
|
56
56
|
write tests using Obj-C/Swift, and you can only run tests through Xcode.
|
|
57
|
-
Similarly, with Google's UiAutomator or Espresso you can only write tests in
|
|
57
|
+
Similarly, with Google's UiAutomator or Espresso, you can only write tests in
|
|
58
58
|
Java/Kotlin. Appium opens up the possibility of true cross-platform native app
|
|
59
59
|
automation, for mobile and beyond. Finally!
|
|
60
60
|
|
|
61
|
-
If you're new to Appium
|
|
61
|
+
If you're new to Appium or want a more comprehensive description of what this is all
|
|
62
62
|
about, please read our [Introduction to Appium
|
|
63
63
|
Concepts](/docs/en/about-appium/intro.md).
|
|
64
64
|
|
|
@@ -74,7 +74,7 @@ Node.js 10+.
|
|
|
74
74
|
Check out our [Getting Started](/docs/en/about-appium/getting-started.md) guide
|
|
75
75
|
to get going with Appium.
|
|
76
76
|
|
|
77
|
-
There is also sample code that contains [many examples of tests in a variety
|
|
77
|
+
There is also a sample code that contains [many examples of tests in a variety
|
|
78
78
|
of different languages](https://github.com/appium/appium/tree/master/sample-code)!
|
|
79
79
|
|
|
80
80
|
### Documentation
|
|
@@ -92,7 +92,7 @@ Once the PR has been merged, the latest documentation will be in [appium.io](htt
|
|
|
92
92
|
### Contributing
|
|
93
93
|
|
|
94
94
|
Please take a look at our [contribution documentation](CONTRIBUTING.md)
|
|
95
|
-
for instructions on how to build, test and run Appium from source.
|
|
95
|
+
for instructions on how to build, test, and run Appium from the source.
|
|
96
96
|
|
|
97
97
|
### Roadmap
|
|
98
98
|
|
|
File without changes
|