https://github.com/ardesco/appium-maven-plugin
A maven plugin for appium
https://github.com/ardesco/appium-maven-plugin
appium maven-plugin
Last synced: 5 months ago
JSON representation
A maven plugin for appium
- Host: GitHub
- URL: https://github.com/ardesco/appium-maven-plugin
- Owner: Ardesco
- License: apache-2.0
- Created: 2017-01-30T19:20:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-10T12:25:30.000Z (about 8 years ago)
- Last Synced: 2025-04-30T22:52:30.745Z (5 months ago)
- Topics: appium, maven-plugin
- Language: Java
- Size: 412 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
#Appium Maven Plugin
=================================[](https://gitter.im/Ardesco/appium-maven-plugin?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://travis-ci.org/Ardesco/appium-maven-plugin)
[](https://maven-badges.herokuapp.com/maven-central/com.lazerycode.jmeter/jmeter-maven-plugin)
[](http://www.javadoc.io/doc/com.lazerycode.appium/appium-maven-plugin)A maven plugin for appium
#Basic Usage
-----### Add the plugin to your project
* Add the plugin to the build section of your pom's project :
```
com.lazerycode.appium
appium-maven-plugin
0.1.0
${project.basedir}
${project.basedir}
start appium
pre-integration-test
start
stop appium
post-integration-test
stop
```
* Use the frontend-maven-plugin to download node and appium
```
com.github.eirslett
frontend-maven-plugin
1.3
src/test
install node and npm
process-resources
install-node-and-npm
v7.4.0
4.1.1
npm install
process-resources
npm
install
```
This will require a package.json:
```
{
"name": "mobile-appium-tests",
"private": true,
"license": "",
"version": "0.0.0",
"description": "Download appium for automated tests",
"devDependencies": {
"appium": "1.6.5",
"ios-deploy":"1.9.1"
},
"scripts": {
"prestart": "npm install",
"pretest": "npm install"
}
}
```### Run the build
`mvn verify`
Now node and appium will be downloaded and appium will stop and start as part of your build.