This project is based on test-software other project, which was created to explorer tests with: TestNG, Mockito, REST Assured, Cucumber, Selenium Webdriver and JMeter.
- JDK 17
- port 8080
- to build the image:
docker build -t test-software/api .(or put whatever name you want instead of teste-software) - to run:
docker run --name test-software-api -p 8080:8080 test-software-api/api(or the name of the image you gave on build)- --name will be the container name
- Maven
- JDK 17+
- Spring Boot 2.6.15+
This project uses some frameworks such as Spring Boot(thymeleaf, bootstrap) and Lombok, in case you come to use an IDE that has plugins to them, it's recommended that you install it.
- Enable annotation processing:
- Settings->Compiler->Annotation Processors: "Enable annotation processing"
- Install plugins to Spring Boot and Lombok(via Marketplace)
- Restart IDEA and enjoy it.
It's used Jacoco to apply the expected coverage in the code.
To apply the expected coverage ratio just execute: mvn clean verify
and check the report on /target/jacoco-report.
In case the coverage ratio is below expectations, it'll get a failure,
and you will see where the violation happened.
You can adjust the coverage changing the value of this property
<coverage_ratio_percentage> on pom.xml.
- The credentias are inside
security.acesss.propertieschange as you wish.
