-
Notifications
You must be signed in to change notification settings - Fork 4
Feat/2 implement performance #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Performance 관련 파일만 체크했습니다.
- User, Booking 제외
src/main/kotlin/com/group4/ticketingservice/controller/PerformanceController.kt
Show resolved
Hide resolved
src/main/kotlin/com/group4/ticketingservice/controller/PerformanceController.kt
Show resolved
Hide resolved
src/main/kotlin/com/group4/ticketingservice/service/PerformanceService.kt
Outdated
Show resolved
Hide resolved
매우 깔끔합니다. 수고하셨습니다!! Todo
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #29 +/- ##
=============================================
+ Coverage 50.00% 92.88% +42.88%
- Complexity 2 51 +49
=============================================
Files 2 15 +13
Lines 8 225 +217
Branches 0 1 +1
=============================================
+ Hits 4 209 +205
- Misses 4 15 +11
- Partials 0 1 +1
☔ View full report in Codecov by Sentry. |
src/test/kotlin/com/group4/ticketingservice/TicketingserviceApplicationTests.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Todo @bohblue2
- 해당 테스트 시나리오를 PR 내용 중 Test CheckList에 등록시켜주세요 (Test Title 들을 복붙해도 무관합니다)
BookingController
- BookingService_createBooking invoke BookingRepository_save
- …
BookingService
- BookingService_createBooking invoke BookingRepository_save
src/main/kotlin/com/group4/ticketingservice/service/BookingService.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
테스트 관련 수정
src/test/kotlin/com/group4/ticketingservice/controller/BookingControllerTest.kt
Outdated
Show resolved
Hide resolved
처리했습니다. |
테스트 확인했습니다! 감사합니다 그런데 해당 PR은 Performance에 대한 기능 구현인데... 왜 Booking이 메인 테스트를 짜신건지... #2 이슈 확인 바랍니다 Todo
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
공연 구현 좋습니다! 다만 이전에 남긴 리뷰에 Todo 확인해주십시요.
"Performance select 기능 테스트" 부분입니다.
src/main/kotlin/com/group4/ticketingservice/controller/PerformanceController.kt
Outdated
Show resolved
Hide resolved
src/test/kotlin/com/group4/ticketingservice/controller/PerformanceControllerTest.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정 부탁드립니다.
Transaction 어노테이션도 삭제 부탁드립니다.
src/test/kotlin/com/group4/ticketingservice/controller/PerformanceControllerTest.kt
Outdated
Show resolved
Hide resolved
고생하셨습니다. 마지막으로 Repository 통합 테스트 구현으로 해당 PR 마무리하면 될 것 같습니다. 아래 참고하셔서 Main branch 내용 받아오시고, 통합 테스트 구현 부탁드립니다. class BookmarkRepositoryTest(
@Autowired val bookmarkRepository: BookmarkRepository
) : AbstractIntegrationTest() {
|
@bohblue2 통합 테스트 구현 부탁드립니다~ |
What is this PR?
Key Changes
Test Checklist
Controller Layer
Booking
User
Performance
Service Layer
Booking
User
Performance