https://github.com/rodrigor4mirez/test-spring-petclinic-rest
https://github.com/rodrigor4mirez/test-spring-petclinic-rest
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/rodrigor4mirez/test-spring-petclinic-rest
- Owner: RodrigoR4mirez
- License: apache-2.0
- Created: 2024-07-29T08:39:12.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-31T11:42:25.000Z (almost 2 years ago)
- Last Synced: 2025-03-21T00:44:38.014Z (about 1 year ago)
- Language: Java
- Size: 8.49 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Pruebas de Controladores REST para Pet Clinic
## Descripción
Este proyecto contiene pruebas unitarias para los controladores REST de la aplicación Spring Pet Clinic, específicamente para:
- `org.springframework.samples.petclinic.rest.controller.PetRestController`
- `org.springframework.samples.petclinic.rest.controller.SpecialtyRestController`
## Pruebas Implementadas
### PetRestControllerTest
- `getPetNotFoundTest()`
- `deletePetNotFoundTest()`
- `savePetSuccessTest()`
- `listPetsSuccessTest()`
- `updatePetNotFoundTest()`
- `updatePetSuccessTest()`
- `deletePetSuccessTest()`
- `getPetSuccessTest()`
- `listPetsNotFoundTest()`
### SpecialtyRestControllerTest
- `updateSpecialityNotFoundTest()`
- `deleteSpecialtySuccessTest()`
- `addSpecialtySuccessTest()`
- `getSpecialtySuccessTest()`
- `listSpecialtiesSuccessTest()`
- `deleteSpecialtyNotFoundTest()`
- `listSpecialtiesNotFoundTest()`
- `updateSpecialitySuccessTest()`

## Tecnologías Utilizadas
- **Java 17**: Lenguaje de programación.
- **Maven 3.9.6**: Gestión de construcción y dependencias.
### Additional Information
- Informe generado: 31-07-2024 00:42
### Ejecución de Pruebas
Para ejecutar las pruebas e2e, utiliza el siguiente comando:
```sh
mvn clean test
```