Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iljapavlovs/selenium-testng-allure-maven
Sample project using Selenium WebDriver, TestNg, Allure2 and Maven
https://github.com/iljapavlovs/selenium-testng-allure-maven
allure2 maven selenium-java testng
Last synced: 8 days ago
JSON representation
Sample project using Selenium WebDriver, TestNg, Allure2 and Maven
- Host: GitHub
- URL: https://github.com/iljapavlovs/selenium-testng-allure-maven
- Owner: iljapavlovs
- Created: 2017-11-07T21:18:01.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-07T21:23:27.000Z (almost 7 years ago)
- Last Synced: 2024-10-06T22:21:26.770Z (about 1 month ago)
- Topics: allure2, maven, selenium-java, testng
- Language: Java
- Size: 9.77 MB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# selenium-testng-allure-maven
Sample project using:
1. Selenium WebDriver
2. TestNg
3. Allure2
4. Maven### Command for execution
#### To run tests and generate Allure report:
```
mvn clean site -P [singleThreaded,nogrid,grid,parallelSuite]
```* *singleThreaded* - execute tests sequentially, omits parallel execution
* *nogrid* - execute tests locally
* *grid* - execute tests on Selenium Grid. Grid Hub can be set in pom in `seleniumGridURL` property
* Thread count can be set via `-Dthreads` argument
* *parallelSuite* - run parallel suiteFor example, invoking
```
clean verify -P parallelPlugin,nogrid -Dthreads=3 -Dbrowser=chrome
```
will execute tests in parallel 3 threads on local machine and using *cucumber-jvm-parallel-plugin* plugin. In addition, `-Dbrowser` setting will set browser to Chrome.#### Reports
Reports will be generated in `target/site` folder