Skip to content

ci: add stryker.net to build #18

ci: add stryker.net to build

ci: add stryker.net to build #18

GitHub Actions / test-results-netcoreapp3.1 succeeded Sep 27, 2023 in 0s

test-results-netcoreapp3.1 ✅

Tests passed successfully

✅ /home/runner/work/TimeProviderExtensions/TimeProviderExtensions/TestResults/_fv-az448-715_2023-09-27_08_38_19.trx

103 tests were completed in 3s with 101 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
Microsoft.Extensions.Time.Testing.Test.ManualTimeProviderTests 20✅ 326ms
Microsoft.Extensions.Time.Testing.Test.TimerTests 19✅ 206ms
TimeProviderExtensions.AutoAdvanceBehaviorTests 3✅ 27ms
TimeProviderExtensions.ManualTimeProviderCancelAfter 1✅ 18ms
TimeProviderExtensions.ManualTimeProviderDelayTests 1✅ 1⚪ 21ms
TimeProviderExtensions.ManualTimeProviderTests 29✅ 1⚪ 242ms
TimeProviderExtensions.ManualTimeProviderTimerTests 13✅ 134ms
TimeProviderExtensions.ManualTimeProviderTimestampTests 2✅ 1ms
TimeProviderExtensions.ManualTimerTests 13✅ 7ms

✅ Microsoft.Extensions.Time.Testing.Test.ManualTimeProviderTests

✅ AdvanceGoesForward
✅ AutoAdvance
✅ CreateSource
✅ DefaultCtor
✅ Delay_Cancelled
✅ Delay_InvalidArgs
✅ Delay_Timeout
✅ Delay_Zero
✅ GetTimestampSyncWithUtcNow
✅ LocalTimeZoneIsUtc
✅ RichCtor
✅ SetLocalTimeZoneWorks
✅ TimeCannotGoBackwards
✅ ToStr
✅ ToString_AutoAdvance_off
✅ ToString_AutoAdvance_on
✅ WaitAsync
✅ WaitAsync_Cancel
✅ WaitAsync_InfiniteTimeout
✅ WaitAsync_Timeout

✅ Microsoft.Extensions.Time.Testing.Test.TimerTests

✅ LongPausesTriggerMultipleCallbacks
✅ LongPausesTriggerMultipleCallbacks_Jump
✅ MultipleTimersCallbackInvokedInScheduledOrder
✅ MultipleTimersCallbackInvokedInScheduledOrder_Jump
✅ NoDueTime_TimerDoesntStart
✅ OutOfOrderWakeTimes
✅ TaskDelayWithManualTimeProviderAdvanced
✅ TaskDelayWithManualTimeProviderStopped
✅ Timer_Change_AfterDispose_Test
✅ Timer_Change_AfterDisposeAsync_Test
✅ TimerChangeDueTimeOutOfRangeThrows
✅ TimerChangePeriodOutOfRangeThrows
✅ TimerNonPeriodicPeriodInfinite
✅ TimerNonPeriodicPeriodZero
✅ TimerStartsImmediately
✅ TimerTriggersPeriodically
✅ UtcNowUpdatedBeforeTimerCallback
✅ WaiterRemovedAfterDispose
✅ WaiterRemovedWhenCollectedWithoutDispose

✅ TimeProviderExtensions.AutoAdvanceBehaviorTests

✅ ClockAdvanceAmount_throws_when_lt_zero
✅ TimerAutoTriggerCount_throws_when_lt_zero
✅ TimestampAdvanceAmount_throws_when_lt_zero

✅ TimeProviderExtensions.ManualTimeProviderCancelAfter

✅ CancelAfter_cancels

✅ TimeProviderExtensions.ManualTimeProviderDelayTests

⚪ Delayed_task_is_cancelled
✅ Delayed_task_is_completes

✅ TimeProviderExtensions.ManualTimeProviderTests

✅ Active_timer_with_TimerAutoAdvanceTimes_gt_zero(timerAutoTriggerCount: 1)
✅ Active_timer_with_TimerAutoAdvanceTimes_gt_zero(timerAutoTriggerCount: 10)
✅ ActiveTimers_with_active_timers
✅ ActiveTimers_with_after_timer_state_change
✅ ActiveTimers_with_inactive_timers
✅ ActiveTimers_with_no_timers
✅ Advance_updates_UtcNow
✅ Advance_zero
✅ CreateManualTimer_with_custom_timer_type
✅ Delay_callbacks_runs_synchronously
✅ GetElapsedTime_with_TimestampAdvanceAmount_gt_zero
✅ GetLocalNow_with_ClockAdvanceAmount_gt_zero
✅ GetTimestamp_with_TimestampAdvanceAmount_gt_zero
✅ GetUtcNow_with_ClockAdvanceAmount_gt_zero
✅ Inactive_timer_with_TimerAutoAdvanceTimes_gt_zero(timerAutoTriggerCount: 1)
✅ Inactive_timer_with_TimerAutoAdvanceTimes_gt_zero(timerAutoTriggerCount: 10)
✅ Jump_throws_going_back_in_time
✅ Jump_throws_when_lt_zero
✅ Jump_zero
✅ Multi_threaded_Jump
✅ Multi_threaded_SetUtcNow
✅ Multiple_one_of_timers_with_TimerAutoAdvanceTimes_gt_zero
✅ Multiple_periodic_timers_with_TimerAutoAdvanceTimes_gt_zero(timerAutoTriggerCount: 1, timer1ExpectedCallbackCount: 3, timer2ExpectedCallbackCount: 1, expectedSecondsSpend: 3)
✅ Multiple_periodic_timers_with_TimerAutoAdvanceTimes_gt_zero(timerAutoTriggerCount: 10, timer1ExpectedCallbackCount: 30, timer2ExpectedCallbackCount: 10, expectedSecondsSpend: 30)
✅ Setting_AutoAdvanceBehavior_to_null
✅ SetUtcNow_updates_UtcNow
✅ Starting_timer_with_TimerAutoAdvanceTimes_gt_zero(timerAutoTriggerCount: 1)
✅ Starting_timer_with_TimerAutoAdvanceTimes_gt_zero(timerAutoTriggerCount: 10)
✅ Timer_callback_GetUtcNow_AutoAdvance
⚪ WaitAsync_callbacks_runs_synchronously

✅ TimeProviderExtensions.ManualTimeProviderTimerTests

✅ Advancing_causes_multiple_timers_invokes_callback_in_order
✅ Advancing_GetUtcNow_matches_time_at_callback_time
✅ Change_timer
✅ Change_timer_from_stopped_to_started
✅ CreateTimer_with_infinite_DueTime_and_Period
✅ CreateTimer_with_positive_DueTime_and_infinite_Period
✅ CreateTimer_with_positive_DueTime_and_Period
✅ Disposing_timer_in_callback
✅ jumping_causes_multiple_timers_invokes_callback_in_order
✅ Jumping_causes_multiple_timers_invokes_callback_in_order
✅ Jumping_GetUtcNow_matches_jump_target
✅ Jumping_past_longer_than_recurrence
✅ Timer_callback_invoked_multiple_times_single_advance

✅ TimeProviderExtensions.ManualTimeProviderTimestampTests

✅ GetTimestamp_increments_by_ticks
✅ TimestampFrequency_ten_mill

✅ TimeProviderExtensions.ManualTimerTests

✅ CallbackInvokeCount_with_active_timer
✅ CallbackInvokeCount_with_disposed_timer
✅ CallbackInvokeCount_with_inactive_timer
✅ CallbackTime_with_active_timer
✅ CallbackTime_with_inactive_timer
✅ IsActive_with_active_timer
✅ IsActive_with_disposed_timer
✅ IsActive_with_inactive_timer
✅ ToString_with_disabled_timer
✅ ToString_with_disposed_timer
✅ ToString_with_duetime_periodic_timer
✅ ToString_with_immidiate_invokcation_timer
✅ ToString_with_periodic_timer