Skip to content

feature: 상품 상세 조회 api (#76) #159

feature: 상품 상세 조회 api (#76)

feature: 상품 상세 조회 api (#76) #159

GitHub Actions / Test Results succeeded Feb 15, 2024 in 0s

All 133 tests pass in 9s

 28 files  + 1   28 suites  +1   9s ⏱️ -1s
133 tests +14  133 ✅ +14  0 💤 ±0  0 ❌ ±0 
177 runs  +16  177 ✅ +16  0 💤 ±0  0 ❌ ±0 

Results for commit 2315865. ± Comparison against earlier commit 929ef9b.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

133 tests found

There are 133 tests, see "Raw output" for the full list of tests.
Raw output
com.petqua.PetquaApplicationTests ‑ contextLoads()
com.petqua.application.announcement.AnnouncementServiceTest ‑ Then: 모든 공지사항이 조회 된다
com.petqua.application.announcement.AnnouncementServiceTest ‑ Then: 퀴리가 발생 하지 않는다
com.petqua.application.auth.AuthServiceTest ‑ Then: 멤버의 인증 토큰을 발급한다
com.petqua.application.auth.AuthServiceTest ‑ Then: 발급한 refreshToken을 저장한다
com.petqua.application.auth.AuthServiceTest ‑ Then: 예외가 발생한다
com.petqua.application.banner.BannerServiceTest ‑ Then: 모든 Banner가 조회 된다
com.petqua.application.banner.BannerServiceTest ‑ Then: 퀴리가 발생 하지 않는다
com.petqua.application.cart.CartProductServiceTest ‑ Then: 봉달 상품 리스트를 반환 한다
com.petqua.application.cart.CartProductServiceTest ‑ Then: 빈 리스트를 반환 한다
com.petqua.application.cart.CartProductServiceTest ‑ Then: 삭제할 수 있다
com.petqua.application.cart.CartProductServiceTest ‑ Then: 상품의 판매 여부를 포함한 리스트를 반환 한다
com.petqua.application.cart.CartProductServiceTest ‑ Then: 수정할 수 있다
com.petqua.application.cart.CartProductServiceTest ‑ Then: 예외가 발생 한다
com.petqua.application.cart.CartProductServiceTest ‑ Then: 저장할 수 있다
com.petqua.application.product.ProductServiceTest ‑ Then: 상품 이름과 연관된 상품을 조회할 수 있다
com.petqua.application.product.ProductServiceTest ‑ Then: 상품 키워드 목록이 문자 길이 오름차순으로 반환된다
com.petqua.application.product.ProductServiceTest ‑ Then: 상품 키워드와 연관된 상품을 조회할 수 있다
com.petqua.application.product.ProductServiceTest ‑ Then: 상품의 찜 여부는 false로 상품 정보가 반환된다
com.petqua.application.product.ProductServiceTest ‑ Then: 상품의 찜 여부와 함께 상품 정보가 반환된다
com.petqua.application.product.ProductServiceTest ‑ Then: 예외를 던진다
com.petqua.application.product.ProductServiceTest ‑ Then: 찜 여부는 false 로 상품 상세정보를 반환한다
com.petqua.application.product.ProductServiceTest ‑ Then: 회원의 찜 여부와 함께 상품 상세정보를 반환한다
com.petqua.application.product.WishProductServiceTest ‑ Then: 마지막으로 조호한 찜 상품 이후부터 찜 목록이 찜 등록 순서대로 반환된다
com.petqua.application.product.WishProductServiceTest ‑ Then: 예외가 발생한다
com.petqua.application.product.WishProductServiceTest ‑ Then: 정해진 개수만큼 찜 목록이 찜 등록 순서대로 반환된다
com.petqua.application.product.WishProductServiceTest ‑ Then: 찜 목록이 찜 등록 순서대로 반환된다
com.petqua.application.product.WishProductServiceTest ‑ Then: 찜 상품이 삭제되고, 상품의 찜 개수가 감소한다
com.petqua.application.product.WishProductServiceTest ‑ Then: 찜 상품이 추가되고, 상품의 찜 개수가 증가한다
com.petqua.application.product.category.CategoryServiceTest ‑ Then: 상품들이 조건에 맞게 정렬되어 반환된다
com.petqua.application.product.category.CategoryServiceTest ‑ Then: 입력한 배송 조건에 해당하는 상품들이 반환된다
com.petqua.application.product.category.CategoryServiceTest ‑ Then: 입력한 어과에 해당하는 상품들이 반환된다
com.petqua.application.product.category.CategoryServiceTest ‑ Then: 입력한 어과와 어종에 해당하는 상품들이 반환된다
com.petqua.application.product.category.CategoryServiceTest ‑ Then: 입력한 조건에 해당하는 전체 상품의 개수가 함께 반환된다
com.petqua.application.product.category.CategoryServiceTest ‑ Then: 조건에 해당하는 어종 목록이 반환된다
com.petqua.application.product.category.CategoryServiceTest ‑ Then: 해당 개수만큼 반환되며 다음 페이지가 존재하는지 여부를 반환한다
com.petqua.application.product.review.ProductReviewServiceTest ‑ Then: 사진이 포함된 상품 후기 목록만 반환한다
com.petqua.application.product.review.ProductReviewServiceTest ‑ Then: 조건에 맞는 상품 후기 목록을 반환한다
com.petqua.application.product.review.ProductReviewServiceTest ‑ Then: 조회된 상품 후기 목록을 반환한다
com.petqua.application.product.review.ProductReviewServiceTest ‑ Then: 해당 별점의 상품 후기들이 정렬 조건으로 정렬 되어 반환한다
com.petqua.common.config.CorsConfigTest ‑ Then: 접근 제어를 허용한다
com.petqua.domain.auth.AuthTokenProviderTest ‑ Then: JWT타입인 accessToken과 refreshToken이 발급된다
com.petqua.domain.cart.CartProductQuantityTest ‑ 상품 수량 값객체 생성
com.petqua.domain.cart.CartProductQuantityTest ‑ 최대 수량 초과인 경우 생성 실패
com.petqua.domain.cart.CartProductQuantityTest ‑ 최소 수량 미만인 경우 생성 실패
com.petqua.domain.cart.CartProductTest ‑ 장바구니 상품 소유자 확인
com.petqua.domain.cart.CartProductTest ‑ 장바구니 상품 수정
com.petqua.domain.product.ProductCustomRepositoryImplTest ‑ Then: 관련된 이름의 상품들을 반환한다
com.petqua.domain.product.ProductCustomRepositoryImplTest ‑ Then: 낮은 가격순, 최신 등록 순으로 반환된다
com.petqua.domain.product.ProductCustomRepositoryImplTest ‑ Then: 높은 가격순, 최신 등록 순으로 반환된다
com.petqua.domain.product.ProductCustomRepositoryImplTest ‑ Then: 리뷰 많은 순, 최신 등록 순으로 반환된다
com.petqua.domain.product.ProductCustomRepositoryImplTest ‑ Then: 상품을 반환하지 않는다
com.petqua.domain.product.ProductCustomRepositoryImplTest ‑ Then: 입력한 Id의 상품과 상세정보가 반환된다
com.petqua.domain.product.ProductCustomRepositoryImplTest ‑ Then: 입력한 예외를 던진다
com.petqua.domain.product.ProductCustomRepositoryImplTest ‑ Then: 입력한 조건에 맞는 상품들을 반환한다
com.petqua.domain.product.ProductCustomRepositoryImplTest ‑ Then: 최신 등록 순으로 반환된다
com.petqua.domain.product.ProductCustomRepositoryImplTest ‑ Then: 추천 상품의 개수를 반환한다
com.petqua.domain.product.ProductCustomRepositoryImplTest ‑ Then: 추천 상품이 최신 등록 순으로 반환된다
com.petqua.domain.product.ProductCustomRepositoryImplTest ‑ Then: 해당 id의 ProductResponse를 반환한다
com.petqua.domain.product.ProductCustomRepositoryImplTest ‑ Then: 해당 개수만큼 반환한다
com.petqua.domain.product.ProductCustomRepositoryImplTest ‑ Then: 해당 이름의 상품을 반환한다
com.petqua.domain.product.ProductKeywordCustomRepositoryImplTest ‑ Then: false 를 반환한다
com.petqua.domain.product.ProductKeywordCustomRepositoryImplTest ‑ Then: true 를 반환한다
com.petqua.domain.product.ProductKeywordCustomRepositoryImplTest ‑ Then: 조회할 수 있다
com.petqua.domain.product.ProductKeywordTest ‑ 상품 키워드 빈 값일 경우 생성 실패
com.petqua.domain.product.ProductKeywordTest ‑ 상품 키워드 생성
com.petqua.domain.product.ProductTest ‑ Then: 소수점 두 번째 자리에서 반올림 된다
com.petqua.domain.product.WishProductRepositoryTest ‑ Then: false를 반환한다
com.petqua.domain.product.WishProductRepositoryTest ‑ Then: true를 반환한다
com.petqua.domain.product.WishProductRepositoryTest ‑ Then: 입력한 상품 id 목록 중 회원이 찜한 상품들의 id들이 반환된다
com.petqua.domain.product.category.CategoryCustomRepositoryImplTest ‑ Then: 낮은 가격순, 최신 등록 순으로 반환된다
com.petqua.domain.product.category.CategoryCustomRepositoryImplTest ‑ Then: 높은 가격순, 최신 등록 순으로 반환된다
com.petqua.domain.product.category.CategoryCustomRepositoryImplTest ‑ Then: 리뷰 많은 순, 최신 등록 순으로 반환된다
com.petqua.domain.product.category.CategoryCustomRepositoryImplTest ‑ Then: 입력한 배송 조건에 해당하는 상품들이 반환된다
com.petqua.domain.product.category.CategoryCustomRepositoryImplTest ‑ Then: 입력한 배송 조건에 해당하는 상품의 개수가 반환된다
com.petqua.domain.product.category.CategoryCustomRepositoryImplTest ‑ Then: 입력한 어과에 해당하는 상품들이 반환된다
com.petqua.domain.product.category.CategoryCustomRepositoryImplTest ‑ Then: 입력한 어과에 해당하는 상품의 개수가 반환된다
com.petqua.domain.product.category.CategoryCustomRepositoryImplTest ‑ Then: 입력한 어과와 어종에 해당하는 상품들이 반환된다
com.petqua.domain.product.category.CategoryCustomRepositoryImplTest ‑ Then: 입력한 어과와 어종에 해당하는 상품의 개수가 반환된다
com.petqua.domain.product.category.CategoryCustomRepositoryImplTest ‑ Then: 최신 등록 순으로 반환된다
com.petqua.domain.product.category.CategoryCustomRepositoryImplTest ‑ Then: 해당 개수만큼 반환한다
com.petqua.domain.product.review.ProductReviewCustomRepositoryImplTest ‑ Then: 사진 리뷰만 조회 된다
com.petqua.domain.product.review.ProductReviewCustomRepositoryImplTest ‑ Then: 점수 필터가 적용된 사진 리뷰가 조회된다
com.petqua.domain.product.review.ProductReviewCustomRepositoryImplTest ‑ Then: 조회된 상품 후기 목록을 반환한다
com.petqua.domain.product.review.ProductReviewCustomRepositoryImplTest ‑ Then: 해당 id 이후의 상품 후기 목록을 반환한다
com.petqua.domain.product.review.ProductReviewCustomRepositoryImplTest ‑ Then: 해당 기준으로 정렬된 상품 후기를 반환 한다
com.petqua.presentation.announcement.AnnouncementControllerTest ‑ Then: 모든 공지 사항 목록이 반환된다.
com.petqua.presentation.auth.AuthControllerTest ‑ Then: 인증토큰이 반환된다.
com.petqua.presentation.banner.BannerControllerTest ‑ Then: 배너 목록을 응답한다.
com.petqua.presentation.cart.CartProductControllerTest ‑ Then: 봉달 목록에 상품이 저장된다
com.petqua.presentation.cart.CartProductControllerTest ‑ Then: 봉달 목록이 조회된다
com.petqua.presentation.cart.CartProductControllerTest ‑ Then: 봉달 상품의 옵션이 수정된다
com.petqua.presentation.cart.CartProductControllerTest ‑ Then: 봉달 상품이 삭제된다
com.petqua.presentation.cart.CartProductControllerTest ‑ Then: 빈 목록이 조회된다
com.petqua.presentation.cart.CartProductControllerTest ‑ Then: 삭제된 상품은 구매 불가능 하도록 조회된다
com.petqua.presentation.cart.CartProductControllerTest ‑ Then: 예외가 발생한다
com.petqua.presentation.product.ProductControllerTest ‑ Then: 상품 이름과 연관된 상품들 중 조건에 해당하는 상품들이 최신 등록 순으로 반환된다
com.petqua.presentation.product.ProductControllerTest ‑ Then: 상품 이름과 연관된 상품들이 정렬 조건순으로 반환된다
com.petqua.presentation.product.ProductControllerTest ‑ Then: 상품 이름과 연관된 상품들이 최신 등록 순으로 반환된다
com.petqua.presentation.product.ProductControllerTest ‑ Then: 상품 키워드 목록이 문자 길이 오름차순으로 반환된다
com.petqua.presentation.product.ProductControllerTest ‑ Then: 상품 키워드와 연관된 상품들이 최신 등록 순으로 반환된다
com.petqua.presentation.product.ProductControllerTest ‑ Then: 상품들이 최신 등록 순으로 반환된다
com.petqua.presentation.product.ProductControllerTest ‑ Then: 신규 입고 상품들이 반환된다
com.petqua.presentation.product.ProductControllerTest ‑ Then: 예외가 발생한다
com.petqua.presentation.product.ProductControllerTest ‑ Then: 입력한 조건에 해당하는 상품들이 정렬 조건순으로 반환된다
com.petqua.presentation.product.ProductControllerTest ‑ Then: 입력한 조건에 해당하는 상품들이 최신 등록 순으로 반환된다
com.petqua.presentation.product.ProductControllerTest ‑ Then: 찜 여부는 false로 해당 ID의 상품의 상세 정보가 반환된다
com.petqua.presentation.product.ProductControllerTest ‑ Then: 찜 여부는 항상 false로 검색 결과가 반환된다
com.petqua.presentation.product.ProductControllerTest ‑ Then: 찜 여부는 항상 false로 상품들이 반환된다
com.petqua.presentation.product.ProductControllerTest ‑ Then: 찜 여부와 함께 검색 결과가 반환된다
com.petqua.presentation.product.ProductControllerTest ‑ Then: 찜 여부와 함께 상품들이 반환된다
com.petqua.presentation.product.ProductControllerTest ‑ Then: 추천 상품들이, 가격 낮은 순으로 반환된다
com.petqua.presentation.product.ProductControllerTest ‑ Then: 추천 상품들이, 최신 등록 순으로 반환된다
com.petqua.presentation.product.ProductControllerTest ‑ Then: 해당 ID의 다음 상품들이 최신 등록 순으로 반환된다
com.petqua.presentation.product.ProductControllerTest ‑ Then: 해당 개수와 함께 다음 페이지가 존재하는지 여부가 반환된다
com.petqua.presentation.product.ProductControllerTest ‑ Then: 회원의 찜 여부를 포함한 해당 ID 상품의 상세 정보가 반환된다
com.petqua.presentation.product.ProductReviewControllerTest ‑ Then: 그 이후의 상품 후기 목록을 반환한다
com.petqua.presentation.product.ProductReviewControllerTest ‑ Then: 사진이 있는 상품 후기 목록을 반환한다
com.petqua.presentation.product.ProductReviewControllerTest ‑ Then: 조회된 상품 후기 목록을 반환한다
com.petqua.presentation.product.ProductReviewControllerTest ‑ Then: 해당 별점의 상품 후기 목록만 반환한다
com.petqua.presentation.product.WishProductControllerTest ‑ Then: 찜 목록에 상품이 추가되거나 제거된다
com.petqua.presentation.product.WishProductControllerTest ‑ Then: 찜 상품들이 반환된다
com.petqua.presentation.product.category.CategoryControllerTest ‑ Then: 상품들이 반환되지 않는다
com.petqua.presentation.product.category.CategoryControllerTest ‑ Then: 어종이 반환되지 않는다
com.petqua.presentation.product.category.CategoryControllerTest ‑ Then: 예외가 반환된다
com.petqua.presentation.product.category.CategoryControllerTest ‑ Then: 입력한 배송 조건에 해당하는 상품들이 반환된다
com.petqua.presentation.product.category.CategoryControllerTest ‑ Then: 입력한 어과에 해당하는 상품들이 반환된다
com.petqua.presentation.product.category.CategoryControllerTest ‑ Then: 입력한 어과에 해당하는 어종들이 반환된다
com.petqua.presentation.product.category.CategoryControllerTest ‑ Then: 입력한 어과와 어종에 해당하는 상품들이 반환된다
com.petqua.presentation.product.category.CategoryControllerTest ‑ Then: 입력한 조건에 해당하는 상품의 개수가 함께 반환된다
com.petqua.presentation.product.category.CategoryControllerTest ‑ Then: 해당 개수만큼의 상품과 다음 페이지가 존재하는지 여부가 반환된다
com.petqua.presentation.product.category.CategoryControllerTest ‑ Then: 해당 상품 이후의 상품들이 반환된다
com.petqua.presentation.product.category.CategoryControllerTest ‑ Then: 해당 조건으로 정렬한 상품들이 반환된다