Skip to content

Repository files navigation

Spring Boot E-Commerce - Presentation Project

Aplicación e-commerce completa con ejemplos de tests unitarios, integración y end-to-end.

🧪 Ejecutar los Tests

Ejecutar todos los tests

mvn test

Ejecutar solo tests unitarios

mvn test -Dtest=*Test -Dexclude=**/*IntegrationTest.java,**/*E2ETest.java

Ejecutar solo tests de integración

mvn test -Dtest=*IntegrationTest

Ejecutar solo tests E2E

mvn test -Dtest=*E2ETest

Ejecutar una clase de tests específica

mvn test -Dtest=ProductServiceTest
mvn test -Dtest=ProductControllerIntegrationTest
mvn test -Dtest=EcommerceE2ETest

Ejecutar un método específico

mvn test -Dtest=ProductServiceTest#shouldCreateProductWithValidData

Ver reporte de cobertura

mvn test jacoco:report
# Abierto en: target/site/jacoco/index.html

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages