Getting Started
Prerequisites
Following instructions apply to Windows machines:
- Run PowerShell as Administrator – required by Chocolatey
- Install Chocolatey – https://chocolatey.org/install#individual
choco install -y jdk11
choco install -y maven
choco install -y intellijidea-ultimate
orchoco install eclipse
There should be alternative commands for Mac and various Linux distros.
Generate a QA Automation Project
See QA Testing Archetype for generating a skeleton automation project.
Running Tests
cd testing
mvnw -Ptesting-self
You should see some tests running in console and Chrome opening two times.
Browsing the Reports
By default, two kinds of reports will be generated
under target/site/jgiven-reports
, looking like these:
- JGiven Dashboard – an interactive site
- QA Report – single HTML document
Next: IDE Configuration