v1.0.0-rc.2 #24
GitHub Actions / Tests
succeeded
Sep 15, 2024 in 0s
49 passed, 0 failed and 0 skipped
✅ ClockifyExport.Tests/TestResults/_fv-az1442-764_2024-09-15_12_41_59.trx
49 tests were completed in 4s with 49 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ClockifyExport.Tests.Clockify.ApiClientTests | 3✅ | 133ms | ||
ClockifyExport.Tests.Clockify.CsvParserTests | 2✅ | 44ms | ||
ClockifyExport.Tests.E2E.IntegrationTests | 2✅ | 1s | ||
ClockifyExport.Tests.Export.ExporterTests | 5✅ | 45ms | ||
ClockifyExport.Tests.Processing.PostProcessors.RoundingPostProcessorTests | 8✅ | 3ms | ||
ClockifyExport.Tests.Processing.PreProcessors.ParseTaskPreProcessorTests | 7✅ | 11ms | ||
ClockifyExport.Tests.Processing.TimeEntryAggregatorTests | 5✅ | 123ms | ||
ClockifyExport.Tests.Validation.FactorOfAttributeTests | 17✅ | 2ms |
✅ ClockifyExport.Tests.Clockify.ApiClientTests
✅ AddsApiKeyToHeader
✅ BuildsCorrectSharedReportUrl
✅ ReturnsHttpResponseAsString
✅ ClockifyExport.Tests.Clockify.CsvParserTests
✅ ParsesCsvWithoutTask
✅ ParsesCsvWithTask
✅ ClockifyExport.Tests.E2E.IntegrationTests
✅ AppFailsWhenApiCallFails
✅ AppRunsWhenApiCallSucceeds
✅ ClockifyExport.Tests.Export.ExporterTests
✅ ExportsTimeEntriesToCsv
✅ ExportsTimeEntriesToJson
✅ ProvidesRequestedExporter(Csv)
✅ ProvidesRequestedExporter(Json)
✅ ThrowsForUnsupportedFormat
✅ ClockifyExport.Tests.Processing.PostProcessors.RoundingPostProcessorTests
✅ DoesNotModifyAnythingButHours
✅ RoundsUpTo15Minutes(0.01d,15)
✅ RoundsUpTo15Minutes(14.99d,15)
✅ RoundsUpTo15Minutes(15,15)
✅ RoundsUpTo15Minutes(16,30)
✅ RoundsUpTo15Minutes(30,30)
✅ RoundsUpTo15Minutes(60,60)
✅ RoundsUpTo15Minutes(61,75)
✅ ClockifyExport.Tests.Processing.PreProcessors.ParseTaskPreProcessorTests
✅ DoesNotModifyAnythingButTask
✅ ParsesJiraTaskIdOrLeaveTaskUnchanged("","","Couldn't parse task Id from: ")
✅ ParsesJiraTaskIdOrLeaveTaskUnchanged("Do something","Do something","Couldn't parse task Id from: Do something")
✅ ParsesJiraTaskIdOrLeaveTaskUnchanged("JIRA-1234 Do something","JIRA-1234",null)
✅ ParsesJiraTaskIdOrLeaveTaskUnchanged("JIRA-1234: Do something","JIRA-1234",null)
✅ ParsesJiraTaskIdOrLeaveTaskUnchanged("JIRA-1234","JIRA-1234",null)
✅ ParsesJiraTaskIdOrLeaveTaskUnchanged(null,null,"Couldn't parse task Id from: ")
✅ ClockifyExport.Tests.Processing.TimeEntryAggregatorTests
✅ AggregatesTimeEntriesByProject
✅ AggregatesTimeEntriesByTask
✅ ExecutesAllPostProcessorsOnAllGroupedEntries
✅ ExecutesAllPreProcessorsOnAllEntries
✅ ThrowsForUnknownGrouping
✅ ClockifyExport.Tests.Validation.FactorOfAttributeTests
✅ FormatsErrorMessage(30,"--round-up")
✅ FormatsErrorMessage(60,"--round-up-to")
✅ IsNotValidForNotIntValues("non-int",60)
✅ IsNotValidForNotIntValues(null,60)
✅ IsNotValidForValuesNotFactorsOfN(-1,60)
✅ IsNotValidForValuesNotFactorsOfN(0,60)
✅ IsNotValidForValuesNotFactorsOfN(120,60)
✅ IsNotValidForValuesNotFactorsOfN(16,60)
✅ IsNotValidForValuesNotFactorsOfN(60,30)
✅ IsNotValidForValuesNotFactorsOfN(61,60)
✅ IsValidForFactorsOfN(1,60)
✅ IsValidForFactorsOfN(15,60)
✅ IsValidForFactorsOfN(30,30)
✅ IsValidForFactorsOfN(30,60)
✅ IsValidForFactorsOfN(5,60)
✅ IsValidForFactorsOfN(60,60)
✅ NPropertyReturnsNParameterValue
Loading