Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/goto-eof/andre-i-test-selenium-cucumber-spring-boot-single-thread

POC for automated tests: Selenium, Cucumber and Spring Boot (single-thread)
https://github.com/goto-eof/andre-i-test-selenium-cucumber-spring-boot-single-thread

cucumber java junit selenium spring-boot

Last synced: about 14 hours ago
JSON representation

POC for automated tests: Selenium, Cucumber and Spring Boot (single-thread)

Awesome Lists containing this project

README

        

# Cucumber + Selenium + JUnit + Spring Boot POC (single-thread)

POC implemented with the latest versions of Cucumber + Selenium + JUnit + Spring Boot + JDK (21). It allows to make
automated tests for a web application (in this case the target is my portfolio https://andre-i.eu).
See also the [multi-thread](https://github.com/goto-eof/andre-i-test-selenium-cucumber-spring-boot-multi-thread) and [hybrid](https://github.com/goto-eof/andre-i-test-selenium-cucumber-spring-boot-jpa-hibernate-postgresql-hybrid) versions.

# Configuration

Edit `config.properties` by choosing your OS and browser:

```
# can be chrome or firefox
com.andreidodu.test.browser=chrome

# can be linux or windows
com.andreidodu.test.os=linux
```

# Run tests

Run the following command from the root of the project:

```
./gradlew clean test
```

# Moreover

- this application was developed on Linux and tested on Linux Ubuntu 24.04 LTS and Windows 11
- for Linux users: in case of browser issues, make sure that firefox or chrome were not installed from snap (but with
apt-get install)