Commit e1a1921
committed
test: 상품 조회 기능 테스트 추가
캐시, 커서 페이징, 인기 상품 기능에 대한 테스트 추가
- ProductReadServiceTest: 상품 조회 서비스 단위 테스트
- ProductRepositoryImplTest: 커서 페이징 레포지토리 통합 테스트
- ProductV1ApiE2ETest: 커서 페이징, 인기 상품 E2E 테스트 추가
- InMemoryProductRepository: 커서 페이징 및 인기 상품 조회 메서드 구현
- InMemoryMemberRepository: findByIdIn 메서드 추가1 parent 7339613 commit e1a1921
5 files changed
Lines changed: 1084 additions & 1 deletion
File tree
- apps/commerce-api/src/test/java/com/loopers
- domain
- members
- product
- infrastructure/product
- interfaces/api/product
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
| |||
Lines changed: 48 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
41 | 49 | | |
42 | 50 | | |
43 | 51 | | |
| |||
92 | 100 | | |
93 | 101 | | |
94 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
95 | 142 | | |
96 | 143 | | |
97 | 144 | | |
| |||
105 | 152 | | |
106 | 153 | | |
107 | 154 | | |
108 | | - | |
| 155 | + | |
0 commit comments