Skip to content

feat: Review service unit tests - #22

Merged
gustavo-atanazio merged 6 commits into
mainfrom
feat/tests
Apr 11, 2026
Merged

feat: Review service unit tests#22
gustavo-atanazio merged 6 commits into
mainfrom
feat/tests

Conversation

@gustavo-atanazio

Copy link
Copy Markdown
Collaborator

Criados os testes unitários para o service de Review

Também criei algumas fixtures para facilitar a criação de mocks para os testes. A ideia é criar automaticamente um objeto válido da entidade ou do DTO desejado, sem precisar poluir o teste com vários .set()

Futuramente podemos pensar em um builder para cada entidade, visando facilitar também a manipulação de objetos nos testes

@github-actions

github-actions Bot commented Mar 1, 2026

Copy link
Copy Markdown

✅ Test Results - Booker API

📊 Summary

  • Total Tests: 75
  • Failures: 0
  • Errors: 0
  • Status: ALL TESTS PASSED

🎉 Ready to merge!

📁 View Test Reports

Comment thread src/test/java/com/booker/services/ReviewServiceTest.java
@gustavo-atanazio
gustavo-atanazio merged commit ae9765c into main Apr 11, 2026
1 check passed
@gustavo-atanazio
gustavo-atanazio deleted the feat/tests branch April 11, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants