Skip to content
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

Added unity test to VideoServiceImpl #77

Merged
merged 1 commit into from
Dec 18, 2023

Added unity test to VideoServiceImpl

c575bdf
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Added unity test to VideoServiceImpl #77

Added unity test to VideoServiceImpl
c575bdf
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Reporter Summary succeeded Dec 18, 2023 in 1s

Test Reporter Summary ✅

Tests passed successfully

Report Passed Failed Skipped Time
target/surefire-reports/TEST-com.alura.aluraflixapi.controller.VideoControllerTest.xml 5✅ 6s
target/surefire-reports/TEST-com.alura.aluraflixapi.infraestructure.repository.VideoRepositoryTest.xml 2✅ 6s
target/surefire-reports/TEST-com.alura.aluraflixapi.infraestructure.service.CategoryServiceImplTest.xml 5✅ 251ms
target/surefire-reports/TEST-com.alura.aluraflixapi.infraestructure.service.VideoServiceImplTest.xml 6✅ 77ms

✅ target/surefire-reports/TEST-com.alura.aluraflixapi.controller.VideoControllerTest.xml

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

Test suite Passed Failed Skipped Time
com.alura.aluraflixapi.controller.VideoControllerTest 5✅ 6s

✅ com.alura.aluraflixapi.controller.VideoControllerTest

✅ get_video_by_id
✅ delete_video_by_id_test
✅ get_all_videos_test
✅ save_a_new_video_test
✅ update_video_by_id_test

✅ target/surefire-reports/TEST-com.alura.aluraflixapi.infraestructure.repository.VideoRepositoryTest.xml

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

Test suite Passed Failed Skipped Time
com.alura.aluraflixapi.infraestructure.repository.VideoRepositoryTest 2✅ 6s

✅ com.alura.aluraflixapi.infraestructure.repository.VideoRepositoryTest

✅ findVideoByTitleTest
✅ findVideosByCategoriesTest

✅ target/surefire-reports/TEST-com.alura.aluraflixapi.infraestructure.service.CategoryServiceImplTest.xml

5 tests were completed in 251ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.alura.aluraflixapi.infraestructure.service.CategoryServiceImplTest 5✅ 251ms

✅ com.alura.aluraflixapi.infraestructure.service.CategoryServiceImplTest

✅ should_return_all_categories_in_database
✅ should_delete_a_category_test
✅ should_findCategory_by_id_test
✅ should_return_a_category_searching_by_video_test
✅ should_create_a_new_category_test

✅ target/surefire-reports/TEST-com.alura.aluraflixapi.infraestructure.service.VideoServiceImplTest.xml

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

Test suite Passed Failed Skipped Time
com.alura.aluraflixapi.infraestructure.service.VideoServiceImplTest 6✅ 77ms

✅ com.alura.aluraflixapi.infraestructure.service.VideoServiceImplTest

✅ delete_response_ok_test
✅ getVideosByTitle_response_ok
✅ save_response_ok_test
✅ getById_response_ok_test
✅ getVideos_response_ok_test
✅ updateMovie_response_ok_test