https://github.com/praveen-garg/selenium_demo/wiki
To use this repo and run tests on your machine, you must have installed maven and git.
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
The src directory contains all of the source material for building the project, its site and so on. It contains a subdirectory for each type: main for the main build artifact, test for the test code and resources and so on.
$ mvn clean install
Then run the test:
$ mvn clean test
To generate reports:
$ mvn site
if successful, Terminal will show:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: xx:xx min
[INFO] Finished at: 201x-xx-xxTxx:xx:xx xx:xx
[INFO] Final Memory: xxM/xxM
[INFO] ------------------------------------------------------------------------
Open:
{PROJECT DIR}/target/site/allure-maven-plugin.html
- An Allure report can be generated for any JUnit 4 test.