Skip to content

Dressca管理アプリの作成 #471

Dressca管理アプリの作成

Dressca管理アプリの作成 #471

GitHub Actions / Maven Tests succeeded Nov 14, 2024 in 0s

73 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
samples/web-csr/dressca-backend/application-core/build/test-results/test/TEST-com.dressca.applicationcore.applicationservice.AssetApplicationServiceTest.xml 3✅ 508ms
samples/web-csr/dressca-backend/application-core/build/test-results/test/TEST-com.dressca.applicationcore.applicationservice.CatalogApplicationServiceTest.xml 19✅ 308ms
samples/web-csr/dressca-backend/application-core/build/test-results/test/TEST-com.dressca.applicationcore.applicationservice.OrderApplicationServiceTest.xml 3✅ 40ms
samples/web-csr/dressca-backend/application-core/build/test-results/test/TEST-com.dressca.applicationcore.applicationservice.ShoppingApplicationServiceTest.xml 13✅ 416ms
samples/web-csr/dressca-backend/application-core/build/test-results/test/TEST-com.dressca.applicationcore.catalog.CatalogDomainServiceTest.xml 6✅ 125ms
samples/web-csr/dressca-backend/batch/build/test-results/test/TEST-com.dressca.batch.CatalogItemJobTest.xml 3✅ 2s
samples/web-csr/dressca-backend/web-admin/build/test-results/test/TEST-com.dressca.applicationcore.applicationservice.AssetApplicationServiceTest.xml 1✅ 38ms
samples/web-csr/dressca-backend/web-admin/build/test-results/test/TEST-com.dressca.web.admin.controller.AssetsControllerTest.xml 2✅ 528ms
samples/web-csr/dressca-backend/web-admin/build/test-results/test/TEST-com.dressca.web.admin.controller.HealthCheckTest.xml 2✅ 92ms
samples/web-csr/dressca-backend/web-admin/build/test-results/test/TEST-com.dressca.web.admin.controlleradvice.ExceptionHandlerControllerAdviceTest.xml 3✅ 925ms
samples/web-csr/dressca-backend/web-admin/build/test-results/test/TEST-com.dressca.web.admin.controlleradvice.LocalExceptionHandlerControllerAdviceTest.xml 3✅ 299ms
samples/web-csr/dressca-backend/web-admin/build/test-results/test/TEST-com.dressca.web.admin.WebApplicationTests.xml 1✅ 1s
samples/web-csr/dressca-backend/web-consumer/build/test-results/test/TEST-com.dressca.applicationcore.applicationservice.AssetApplicationServiceTest.xml 1✅ 45ms
samples/web-csr/dressca-backend/web-consumer/build/test-results/test/TEST-com.dressca.web.consumer.controller.AssetsControllerTest.xml 2✅ 512ms
samples/web-csr/dressca-backend/web-consumer/build/test-results/test/TEST-com.dressca.web.consumer.controller.HealthCheckTest.xml 2✅ 86ms
samples/web-csr/dressca-backend/web-consumer/build/test-results/test/TEST-com.dressca.web.consumer.filter.BuyerIdFilterTest.xml 2✅ 535ms
samples/web-csr/dressca-backend/web-consumer/build/test-results/test/TEST-com.dressca.web.consumer.WebApplicationTests.xml 1✅ 1s
samples/web-csr/dressca-backend/web/build/test-results/test/TEST-com.dressca.web.controller.advice.ExceptionHandlerControllerAdviceTest.xml 3✅ 866ms
samples/web-csr/dressca-backend/web/build/test-results/test/TEST-com.dressca.web.controller.advice.LocalExceptionHandlerControllerAdviceTest.xml 3✅ 265ms

✅ samples/web-csr/dressca-backend/application-core/build/test-results/test/TEST-com.dressca.applicationcore.applicationservice.AssetApplicationServiceTest.xml

3 tests were completed in 508ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dressca.applicationcore.applicationservice.AssetApplicationServiceTest 3✅ 508ms

✅ com.dressca.applicationcore.applicationservice.AssetApplicationServiceTest

✅ testGetAssetResourceInfo_異常系_リポジトリに存在しないアセットコード()
✅ testGetAssetResourceInfo_正常系_存在するアセットコード()
✅ testGetAssetResourceInfo_異常系_ストアに存在しないアセットコード()

✅ samples/web-csr/dressca-backend/application-core/build/test-results/test/TEST-com.dressca.applicationcore.applicationservice.CatalogApplicationServiceTest.xml

19 tests were completed in 308ms with 19 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dressca.applicationcore.applicationservice.CatalogApplicationServiceTest 19✅ 308ms

✅ com.dressca.applicationcore.applicationservice.CatalogApplicationServiceTest

✅ testDeleteItemFromCatalog_正常系_リポジトリのremoveを1回呼出す()
✅ testGetCatalogItem_異常系_対象のアイテムが存在しない()
✅ testGetCatalogItemsByAdmin_正常系_リポジトリのfindByBrandIdAndCategoryIdを1回呼出す()
✅ testGetCategories_正常系_リポジトリのgetAllを1回呼出す()
✅ testDeleteItemFromCatalog_異常系_カタログアイテムを削除する権限がない()
✅ testUpdateCatalogItem_異常系_対象のアイテムが存在しない()
✅ testAddItemToCatalog_正常系_リポジトリのaddCatalogItemを1回呼出す()
✅ testUpdateCatalogItem_異常系_対象のカテゴリが存在しない()
✅ testUpdateCatalogItem_異常系_対象のブランドが存在しない()
✅ testCountCatalogItems_正常系_リポジトリのcountByBrandIdAndCategoryIdを1回呼出す()
✅ testUpdateCatalogItem_異常系_カタログアイテムを更新する権限がない()
✅ testGetCatalogItemsByAdmin_異常系_カタログアイテムの一覧を取得する権限がない()
✅ testAddItemToCatalog_異常系_カタログアイテムを追加する権限がない()
✅ testGetBrands_正常系_リポジトリのgetAllを1回呼出す()
✅ testUpdateCatalogItem_正常系_リポジトリのupdateを1回呼出す()
✅ testGetCatalogItem_異常系_カタログアイテムを取得する権限がない()
✅ testGetCatalogItem_正常系_リポジトリのfindByIdを1回呼出す()
✅ testUpdateCatalogItem_異常系_楽観ロックエラーにより正常に更新ができない()
✅ testDeleteItemFromCatalog_異常系_対象のアイテムが存在しない()

✅ samples/web-csr/dressca-backend/application-core/build/test-results/test/TEST-com.dressca.applicationcore.applicationservice.OrderApplicationServiceTest.xml

3 tests were completed in 40ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dressca.applicationcore.applicationservice.OrderApplicationServiceTest 3✅ 40ms

✅ com.dressca.applicationcore.applicationservice.OrderApplicationServiceTest

✅ testGetOrder_正常系_注文リポジトリから取得した情報と指定した購入者IDが合致する場合注文情報を取得できる()
✅ testGetOrder_異常系_注文リポジトリから取得した情報と指定した購入者IDが異なる場合例外になる()
✅ testGetOrder_異常系_注文リポジトリから注文情報を取得できない場合例外になる()

✅ samples/web-csr/dressca-backend/application-core/build/test-results/test/TEST-com.dressca.applicationcore.applicationservice.ShoppingApplicationServiceTest.xml

13 tests were completed in 416ms with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dressca.applicationcore.applicationservice.ShoppingApplicationServiceTest 13✅ 416ms

✅ com.dressca.applicationcore.applicationservice.ShoppingApplicationServiceTest

✅ testCheckout_異常系_指定した買い物かごが空の場合は業務例外が発生する()
✅ testAddItemToBasket_異常系_買い物かごが見つからない場合は例外が発生する()
✅ testSetQuantities_正常系_リポジトリのupdateを1度だけ呼出す()
✅ testCheckout_正常系_注文リポジトリのAddを1回呼出す()
✅ [1] buyerId=null
✅ [2] buyerId=
✅ [3] buyerId=
✅ testSetQuantities_異常系_カタログリポジトリに存在しない商品が指定された場合は例外が発生する()
✅ testAddItemToBasket_正常系_商品追加処理後に数量が0となる場合買い物かごアイテムは削除される()
✅ testAddItemToBasket_正常系_リポジトリのupdateを1度だけ呼出す()
✅ testSetQuantities_正常系_買い物かごに存在する商品を指定すると買い物かごの商品数が更新される()
✅ testSetQuantities_異常系_買い物かごに入っていない商品が指定された場合は例外が発生する()
✅ testGetBasketDetail_正常系_カタログIDに対応するカタログ情報が取得されること()

✅ samples/web-csr/dressca-backend/application-core/build/test-results/test/TEST-com.dressca.applicationcore.catalog.CatalogDomainServiceTest.xml

6 tests were completed in 125ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dressca.applicationcore.catalog.CatalogDomainServiceTest 6✅ 125ms

✅ com.dressca.applicationcore.catalog.CatalogDomainServiceTest

✅ testExistAll_正常系_リポジトリ内に存在するアイテムのリストを返す()
✅ testExistAll_正常系_リポジトリのfindByCategoryIdInを1度だけ呼出す()
✅ testGetExistCatalogItems_正常系_リポジトリのfindByCategoryIdInを1度だけ呼出す()
✅ testExistAll_正常系_カタログアイテムIdが一部だけ存在する場合falseを返す()
✅ testExistAll_正常系_カタログアイテムIdが1件も存在しない場合falseを返す()
✅ testExistAll_正常系_カタログアイテムIdがすべて存在する場合trueを返す()

✅ samples/web-csr/dressca-backend/batch/build/test-results/test/TEST-com.dressca.batch.CatalogItemJobTest.xml

3 tests were completed in 2s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dressca.batch.CatalogItemJobTest 3✅ 2s

✅ com.dressca.batch.CatalogItemJobTest

✅ jobTest_10data()
✅ jobTest_empty()
✅ stepTest_10data()

✅ samples/web-csr/dressca-backend/web-admin/build/test-results/test/TEST-com.dressca.applicationcore.applicationservice.AssetApplicationServiceTest.xml

1 tests were completed in 38ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dressca.applicationcore.applicationservice.AssetApplicationServiceTest 1✅ 38ms

✅ com.dressca.applicationcore.applicationservice.AssetApplicationServiceTest

✅ testGetAssetResourceInfo()

✅ samples/web-csr/dressca-backend/web-admin/build/test-results/test/TEST-com.dressca.web.admin.controller.AssetsControllerTest.xml

2 tests were completed in 528ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dressca.web.admin.controller.AssetsControllerTest 2✅ 528ms

✅ com.dressca.web.admin.controller.AssetsControllerTest

✅ testGet_01_正常系_存在するアセットコード
✅ testGet_02_異常系_存在しないアセットコード

✅ samples/web-csr/dressca-backend/web-admin/build/test-results/test/TEST-com.dressca.web.admin.controller.HealthCheckTest.xml

2 tests were completed in 92ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dressca.web.admin.controller.HealthCheckTest 2✅ 92ms

✅ com.dressca.web.admin.controller.HealthCheckTest

✅ testGet_03_ヘルスチェック_サーバ正常動作確認
✅ testGet_04_ヘルスチェック_DB正常動作確認

✅ samples/web-csr/dressca-backend/web-admin/build/test-results/test/TEST-com.dressca.web.admin.controlleradvice.ExceptionHandlerControllerAdviceTest.xml

3 tests were completed in 925ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dressca.web.admin.controlleradvice.ExceptionHandlerControllerAdviceTest 3✅ 925ms

✅ com.dressca.web.admin.controlleradvice.ExceptionHandlerControllerAdviceTest

✅ testException_01_正常系_その他の業務エラーをステータースコード500で返却する(本番環境)。
✅ testException_02_正常系_その他のシステムエラーをステータースコード500で返却する(本番環境)。
✅ testException_03_正常系_上記のいずれにも当てはまらない例外をステータースコード500で返却する(本番環境)。

✅ samples/web-csr/dressca-backend/web-admin/build/test-results/test/TEST-com.dressca.web.admin.controlleradvice.LocalExceptionHandlerControllerAdviceTest.xml

3 tests were completed in 299ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dressca.web.admin.controlleradvice.LocalExceptionHandlerControllerAdviceTest 3✅ 299ms

✅ com.dressca.web.admin.controlleradvice.LocalExceptionHandlerControllerAdviceTest

✅ testException_01_正常系_その他の業務エラーをステータースコード500で返却する(開発環境)。
✅ testException_02_正常系_その他のシステムエラーをステータースコード500で返却する(開発環境)。
✅ testException_03_正常系_上記のいずれにも当てはまらない例外をステータースコード500で返却する(開発環境)。

✅ samples/web-csr/dressca-backend/web-admin/build/test-results/test/TEST-com.dressca.web.admin.WebApplicationTests.xml

1 tests were completed in 1s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dressca.web.admin.WebApplicationTests 1✅ 1s

✅ com.dressca.web.admin.WebApplicationTests

✅ contextLoads()

✅ samples/web-csr/dressca-backend/web-consumer/build/test-results/test/TEST-com.dressca.applicationcore.applicationservice.AssetApplicationServiceTest.xml

1 tests were completed in 45ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dressca.applicationcore.applicationservice.AssetApplicationServiceTest 1✅ 45ms

✅ com.dressca.applicationcore.applicationservice.AssetApplicationServiceTest

✅ testGetAssetResourceInfo()

✅ samples/web-csr/dressca-backend/web-consumer/build/test-results/test/TEST-com.dressca.web.consumer.controller.AssetsControllerTest.xml

2 tests were completed in 512ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dressca.web.consumer.controller.AssetsControllerTest 2✅ 512ms

✅ com.dressca.web.consumer.controller.AssetsControllerTest

✅ testGet_01_正常系_存在するアセットコード
✅ testGet_02_異常系_存在しないアセットコード

✅ samples/web-csr/dressca-backend/web-consumer/build/test-results/test/TEST-com.dressca.web.consumer.controller.HealthCheckTest.xml

2 tests were completed in 86ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dressca.web.consumer.controller.HealthCheckTest 2✅ 86ms

✅ com.dressca.web.consumer.controller.HealthCheckTest

✅ testGet_03_ヘルスチェック_サーバ正常動作確認
✅ testGet_04_ヘルスチェック_DB正常動作確認

✅ samples/web-csr/dressca-backend/web-consumer/build/test-results/test/TEST-com.dressca.web.consumer.filter.BuyerIdFilterTest.xml

2 tests were completed in 535ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dressca.web.consumer.filter.BuyerIdFilterTest 2✅ 535ms

✅ com.dressca.web.consumer.filter.BuyerIdFilterTest

✅ 構成ファイルの設定がない場合
✅ 構成ファイルの設定がある場合

✅ samples/web-csr/dressca-backend/web-consumer/build/test-results/test/TEST-com.dressca.web.consumer.WebApplicationTests.xml

1 tests were completed in 1s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dressca.web.consumer.WebApplicationTests 1✅ 1s

✅ com.dressca.web.consumer.WebApplicationTests

✅ contextLoads()

✅ samples/web-csr/dressca-backend/web/build/test-results/test/TEST-com.dressca.web.controller.advice.ExceptionHandlerControllerAdviceTest.xml

3 tests were completed in 866ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dressca.web.controller.advice.ExceptionHandlerControllerAdviceTest 3✅ 866ms

✅ com.dressca.web.controller.advice.ExceptionHandlerControllerAdviceTest

✅ testException_01_正常系_その他の業務エラーをステータースコード500で返却する(本番環境)。
✅ testException_02_正常系_その他のシステムエラーをステータースコード500で返却する(本番環境)。
✅ testException_03_正常系_上記のいずれにも当てはまらない例外をステータースコード500で返却する(本番環境)。

✅ samples/web-csr/dressca-backend/web/build/test-results/test/TEST-com.dressca.web.controller.advice.LocalExceptionHandlerControllerAdviceTest.xml

3 tests were completed in 265ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.dressca.web.controller.advice.LocalExceptionHandlerControllerAdviceTest 3✅ 265ms

✅ com.dressca.web.controller.advice.LocalExceptionHandlerControllerAdviceTest

✅ testException_01_正常系_その他の業務エラーをステータースコード500で返却する(開発環境)。
✅ testException_02_正常系_その他のシステムエラーをステータースコード500で返却する(開発環境)。
✅ testException_03_正常系_上記のいずれにも当てはまらない例外をステータースコード500で返却する(開発環境)。