andre-i-test-selenium-cucumber-spring-boot-single-thread

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

Stars
0
Committers
1

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 and 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)
Related Projects