GitHub Actions / Unit Tests Report
succeeded
Oct 6, 2024 in 0s
34 passed, 0 failed and 0 skipped
✅ reports/unit-tests.xml
34 tests were completed in 4s with 34 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
github.com/brpaz/raindrop-images-dl/cmd | 8✅ | 1s | ||
github.com/brpaz/raindrop-images-dl/internal/downloader | 8✅ | 1s | ||
github.com/brpaz/raindrop-images-dl/internal/sdk/raindrop | 18✅ | 1s | ||
github.com/brpaz/raindrop-images-dl/internal/version | 0ms |
✅ github.com/brpaz/raindrop-images-dl/cmd
github.com/brpaz/raindrop-images-dl/cmd
✅ TestDownloadPreFn/sets_flags_from_environment_variables
✅ TestDownloadPreFn
✅ TestDownloadExecute/returns_errors_when_required_flags_are_not_set
✅ TestDownloadExecute
✅ TestNewDownloadCmd
✅ TestRootCmd
✅ TestNewApp
✅ TestVersionCmd
✅ github.com/brpaz/raindrop-images-dl/internal/downloader
github.com/brpaz/raindrop-images-dl/internal/downloader
✅ TestNewDownloader/WithMissingRaindropClient_ReturnsError
✅ TestNewDownloader/WithRaindropClient
✅ TestNewDownloader
✅ TestDownloader_DownloadCollection/WithInvalidCollectionID_ReturnsError
✅ TestDownloader_DownloadCollection/WithNonExistentOutputDir_ReturnsError
✅ TestDownloader_DownloadCollection/WithEmptyOutputDir_ReturnsError
✅ TestDownloader_DownloadCollection/Success
✅ TestDownloader_DownloadCollection
✅ github.com/brpaz/raindrop-images-dl/internal/sdk/raindrop
github.com/brpaz/raindrop-images-dl/internal/sdk/raindrop
✅ TestDrop_GetFileLink
✅ TestDrop_GetDescription
✅ TestDrop_GetName
✅ TestGetImagesDropsFromCollection/Invalid_JSON_Response
✅ TestGetCollectionByID/Invalid_JSON_Response
✅ TestNewClient/WithoutAPIKey_ReturnsError
✅ TestGetImagesDropsFromCollection/Internal_Server_Error
✅ TestNewClient/WithBaseURL
✅ TestNewClient/WithBaseURL_Empty_ReturnsError
✅ TestNewClient/WithHTTPClient
✅ TestNewClient/WithAPIKey
✅ TestNewClient/WithAPIKey_Empty_ReturnsError
✅ TestNewClient
✅ TestGetCollectionByID/Success
✅ TestGetCollectionByID/Internal_Server_Error
✅ TestGetCollectionByID
✅ TestGetImagesDropsFromCollection/Success
✅ TestGetImagesDropsFromCollection
Loading