About POC for automated tests: Selenium, Cucumber and Spring Boot (single/multi-thread)
POC implemented with the latest versions of Cucumber + Selenium + TestNG + Spring Boot + Spring JPA + Hibernate + JDK (21) - sequential and parallel testing. 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 single-thread and multi-thread versions.
Run docker container from docker
directory. This is the test DBMS. It should be used also by the application that is
under test.
sudo docker compose up -d
Edit config.properties
by choosing your OS and browser:
# can be linux or windows
com.andreidodu.test.os=linux
# can be firefox or chrome
com.andreidodu.test.browser=chrome
Run the following command from the root of the project:
./gradlew clean test
Selenium in action:
this application was developed on Linux and tested on Linux Ubuntu 24.04 LTS (and should work also on 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)