GitHub Actions / Unit Tests Report
succeeded
Oct 6, 2024 in 1s
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
✅ TestNewApp
✅ TestRootCmd
✅ TestNewDownloadCmd
✅ TestVersionCmd
✅ github.com/brpaz/raindrop-images-dl/internal/downloader
github.com/brpaz/raindrop-images-dl/internal/downloader
✅ TestDownloader_DownloadCollection/WithInvalidCollectionID_ReturnsError
✅ TestDownloader_DownloadCollection/WithEmptyOutputDir_ReturnsError
✅ TestDownloader_DownloadCollection/WithNonExistentOutputDir_ReturnsError
✅ TestNewDownloader/WithRaindropClient
✅ TestNewDownloader/WithMissingRaindropClient_ReturnsError
✅ TestNewDownloader
✅ 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_GetName
✅ TestDrop_GetDescription
✅ TestNewClient/WithoutAPIKey_ReturnsError
✅ TestNewClient/WithBaseURL_Empty_ReturnsError
✅ TestNewClient/WithBaseURL
✅ TestNewClient/WithAPIKey
✅ TestNewClient/WithAPIKey_Empty_ReturnsError
✅ TestNewClient/WithHTTPClient
✅ TestNewClient
✅ TestGetCollectionByID/Invalid_JSON_Response
✅ TestGetImagesDropsFromCollection/Invalid_JSON_Response
✅ TestGetCollectionByID/Internal_Server_Error
✅ TestGetImagesDropsFromCollection/Internal_Server_Error
✅ TestGetCollectionByID/Success
✅ TestGetCollectionByID
✅ TestGetImagesDropsFromCollection/Success
✅ TestGetImagesDropsFromCollection
Loading