frasermclean / adoptrix

Pet adoption centre platform
https://demo.adoptrix.com
MIT License
1 stars 0 forks source link

Add Azure Functions #23

Closed frasermclean closed 10 months ago

github-actions[bot] commented 10 months ago

Solution test results

22 tests  +7   22 :white_check_mark: +7   5s :stopwatch: -1s  4 suites +1    0 :zzz: ±0   4 files   +1    0 :x: ±0 

Results for commit 2998db2d. ± Comparison against base commit 0309653a.

This pull request removes 3 and adds 10 tests. Note that renamed tests count towards both. ``` Adoptrix.Application.Tests.Services.ImageProcessorTests ‑ ProcessImageAsync_WhenCalledWithValidStream_ThenCreatesThumbnail(filePath: "Resources/lab_puppy_1.jpeg") Adoptrix.Application.Tests.Services.ImageProcessorTests ‑ ProcessImageAsync_WhenCalledWithValidStream_ThenCreatesThumbnail(filePath: "Resources/lab_puppy_2.jpeg") Adoptrix.Application.Tests.Services.ImageProcessorTests ‑ ProcessImageAsync_WhenCalledWithValidStream_ThenCreatesThumbnail(filePath: "Resources/lab_puppy_3.jpeg") ``` ``` Adoptrix.Application.Tests.Services.ImageProcessorTests ‑ ProcessImageAsync_WhenCalledWithValidStream_ThenCreatesThumbnail(filePath: "Data/lab_puppy_1.jpeg") Adoptrix.Application.Tests.Services.ImageProcessorTests ‑ ProcessImageAsync_WhenCalledWithValidStream_ThenCreatesThumbnail(filePath: "Data/lab_puppy_2.jpeg") Adoptrix.Application.Tests.Services.ImageProcessorTests ‑ ProcessImageAsync_WhenCalledWithValidStream_ThenCreatesThumbnail(filePath: "Data/lab_puppy_3.jpeg") Adoptrix.Infrastructure.Storage.Tests.Services.AnimalImageManagerTests ‑ DeleteAnimalImagesAsync_WithExistingImages_Should_ReturnSuccess Adoptrix.Infrastructure.Storage.Tests.Services.AnimalImageManagerTests ‑ DeleteImageAsync_WithExistingImage_Should_ReturnSuccess Adoptrix.Infrastructure.Storage.Tests.Services.AnimalImageManagerTests ‑ DeleteImageAsync_WithUnknownImage_Should_ReturnFailure Adoptrix.Infrastructure.Storage.Tests.Services.AnimalImageManagerTests ‑ UploadImageAsync_WithValidInput_Should_ReturnSuccess(filePath: "Data/lab_puppy_1.jpeg", category: Thumbnail) Adoptrix.Infrastructure.Storage.Tests.Services.AnimalImageManagerTests ‑ UploadImageAsync_WithValidInput_Should_ReturnSuccess(filePath: "Data/lab_puppy_2.jpeg", category: Preview) Adoptrix.Infrastructure.Storage.Tests.Services.AnimalImageManagerTests ‑ UploadImageAsync_WithValidInput_Should_ReturnSuccess(filePath: "Data/lab_puppy_3.jpeg", category: FullSize) Adoptrix.Infrastructure.Storage.Tests.Services.EventPublisherTests ‑ PublishDomainEventAsync_WithAnimalDeletedEvent_Should_ReturnSuccess ```

:recycle: This comment has been updated with latest results.

codecov[bot] commented 10 months ago

Codecov Report

Attention: 25 lines in your changes are missing coverage. Please review.

Comparison is base (0309653) 33.98% compared to head (2998db2) 22.66%.

Files Patch % Lines
...n/Commands/Animals/AddAnimalImageCommandHandler.cs 0.00% 9 Missing :warning:
...ion/Commands/Animals/DeleteAnimalCommandHandler.cs 0.00% 7 Missing :warning:
....Infrastructure.Storage/Services/EventPublisher.cs 88.00% 2 Missing and 1 partial :warning:
....Infrastructure.Data/Services/AnimalsRepository.cs 0.00% 2 Missing :warning:
...x.Infrastructure.Storage/Options/StorageOptions.cs 0.00% 2 Missing :warning:
...rc/Adoptrix.Domain/Events/AnimalImageAddedEvent.cs 0.00% 1 Missing :warning:
...Storage/DependencyInjection/ServiceRegistration.cs 97.36% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #23 +/- ## =========================================== - Coverage 33.98% 22.66% -11.33% =========================================== Files 89 95 +6 Lines 874 1721 +847 Branches 52 55 +3 =========================================== + Hits 297 390 +93 - Misses 563 1317 +754 Partials 14 14 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.