archetype-resources.README.md Maven / Gradle / Ivy
#set($hash = '#')
${hash} Spectrum e2e Tests
This project was generated via the Spectrum Archetype. Be sure to check the [full docs](https://giulong.github.io/spectrum/),
and consider [giving Spectrum a GitHub Star](https://github.com/giulong/spectrum/) ⭐
> ⚠️ JDK
> Since Spectrum is compiled with a jdk 21, you need a [jdk 21+](https://jdk.java.net/21/) to be able to run your tests.
${hash}${hash} How to run the tests
Two ways:
1. From your IDE: create a ```run configuration``` for the [LoginFormIT](src/test/java/${package.replace(".","/")}/tests/LoginFormIT.java) class.
1. With Maven: ```mvn integration-test``` or ```mvn verify```
${hash}${hash} Project Structure:
``` tree
${artifactId}
└─ src
| └─ test
| ├─ java
| | └─ ${package}
| | |─ pages
| | | └─ LoginPage.java
| | └─ tests
| | └─ LoginFormIT.java
| └─ resources
| └─ configuration.yaml
├─ target # Generated after the first build
| └─ spectrum
| |─ logs
| | └─ spectrum.log
| └─ reports
| └─ spectrum-report-
| |─ screenshots
| |─ videos
| └─ spectrum-report-.html
├─ .gitignore
├─ pom.xml
└─ README.md
```