(GitHub project README.md)
Generating a QA Automation Project
Assuming JDK 11 and Maven 3.6+ are already installed, on Windows it would be:
mvn --batch-mode archetype:generate ^
-Dmaven.wagon.http.ssl.insecure=true ^
-DarchetypeGroupId=dev.aherscu.qa ^
-DarchetypeArtifactId=qa-testing-archetype ^
-DarchetypeVersion=LATEST ^
-DgroupId=com.acme ^
-DartifactId=testing ^
-Dversion=0.0.1-SNAPSHOT ^
-Dpackage=com.acme.testing
This will generate a fully configured QA Automation project in testing
directory.
The generated project inherits from QA Testing Parent and contains few exemplary tests, with all required dependencies for TestNG, JGiven BDD-reporting, Selenium, Appium, SouceLabs integration, and many other utility libraries which I found useful across a dozen of projects.
All above pieces are already integrated, all you have to do is:
- derive your automation classes from specific base class
- define your own configuration and environments
- optionally, add support modules; currently one of:
- QA JGiven REST
- QA JGiven SSH
- QA JGiven JDBC
- QA JGiven ElasticSearch
- QA JGiven RabbitMQ
- or prepare one of yours :)
See QA Testing Example, for more examples.