Skip to content

add test reporting step to workflow #11

add test reporting step to workflow

add test reporting step to workflow #11

GitHub Actions / DotNET Tests failed Sep 20, 2023 in 1s

DotNET Tests ❌

Tests failed

Report Passed Failed Skipped Time
TaskFlow.Extensions.Microsoft.DependencyInjection.Tests/TestResults/stage/test-results.trx 8✅ 1s
TaskFlow.Tests/TestResults/stage/test-results.trx 66✅ 3❌ 8s

✅ TaskFlow.Extensions.Microsoft.DependencyInjection.Tests/TestResults/stage/test-results.trx

8 tests were completed in 1s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
TaskFlow.Extensions.Microsoft.DependencyInjection.Tests.CustomTaskFlowServiceCollectionExtensionsFixture 1✅ 17ms
TaskFlow.Extensions.Microsoft.DependencyInjection.Tests.DefaultTaskFlowServiceCollectionExtensionsFixture 7✅ 182ms

✅ TaskFlow.Extensions.Microsoft.DependencyInjection.Tests.CustomTaskFlowServiceCollectionExtensionsFixture

✅ AddTaskFlow_ShouldRegisterTaskFlowInfoAndTaskScheduler

✅ TaskFlow.Extensions.Microsoft.DependencyInjection.Tests.DefaultTaskFlowServiceCollectionExtensionsFixture

✅ AddTaskFlow_DisposeScope_ShouldCancelPendingTask
✅ AddTaskFlow_DisposeScopeAsync_ShouldCancelPendingTask
✅ AddTaskFlow_Scopes_WhenDisposeOneScopeCanEnqueueToAnotherScope
✅ AddTaskFlow_ScopesShouldHaveOwnTaskFlow
✅ AddTaskFlow_ShouldNotRegisterTaskFlow
✅ AddTaskFlow_ShouldRegisterTaskFlowInfoAndTaskScheduler
✅ AddTaskFlow_WithOptions_ShouldRegisterTaskFlowWithOptions

❌ TaskFlow.Tests/TestResults/stage/test-results.trx

69 tests were completed in 8s with 66 passed, 3 failed and 0 skipped.

Test suite Passed Failed Skipped Time
TaskFlow.Tests.CurrentThreadTaskFlowFixture 21✅ 2❌ 2s
TaskFlow.Tests.DedicatedThreadTaskFlowFixture 23✅ 1s
TaskFlow.Tests.TaskFlowFixture 22✅ 1❌ 1s

❌ TaskFlow.Tests.CurrentThreadTaskFlowFixture

✅ Dispose_CanCallAfterDisposeAsync
✅ Dispose_CanCallMultipleTimes
✅ Dispose_ShouldNotThrowIfTaskFuncFailed
✅ Dispose_ShouldReturnFalseIfTimedOut
❌ Dispose_ShouldReturnTrueIfNotTimedOut
	  Expected: True
	  But was:  False
	
✅ Dispose_ShouldWaitQueuedOperations
✅ DisposeAsync_CanCallMultipleTimes
✅ DisposeAsync_ShouldCancelPendingTask
✅ DisposeAsync_ShouldNotThrowIfTaskFuncFailed
✅ DisposeAsync_ShouldWaitQueuedOperations
✅ Enqueue_CanExecuteNextOperationIfPreviousCanceled
✅ Enqueue_CanExecuteNextOperationIfPreviousFailed
❌ Enqueue_ExecuteInOrderIfIntermediateCanceled
	  Expected: True after 100 milliseconds delay
	  But was:  False
	
✅ Enqueue_MultipleTimes_ShouldNotKeepReferencesToAllResults
✅ Enqueue_ResultReferencedFromStack_ResultShouldBeAlive
✅ Enqueue_ReturnedTaskShouldBeCanceledWhenTaskFuncCanceled
✅ Enqueue_ReturnedTaskShouldBeFailedWhenTaskFuncFailed
✅ Enqueue_ReturnedTaskShouldCompleteWhenTaskFuncComplete
✅ Enqueue_ShouldExecuteInScheduledOrder
✅ Enqueue_ShouldThrowAfterDispose
✅ Enqueue_ShouldThrowAfterDisposeAsync
✅ Enqueue_WhenFinished_ShouldNotKeepReferenceToResult
✅ Enqueue_WhenInitiallyCanceled_ShouldExecuteOperation

✅ TaskFlow.Tests.DedicatedThreadTaskFlowFixture

✅ Dispose_CanCallAfterDisposeAsync
✅ Dispose_CanCallMultipleTimes
✅ Dispose_ShouldNotThrowIfTaskFuncFailed
✅ Dispose_ShouldReturnFalseIfTimedOut
✅ Dispose_ShouldReturnTrueIfNotTimedOut
✅ Dispose_ShouldWaitQueuedOperations
✅ DisposeAsync_CanCallMultipleTimes
✅ DisposeAsync_ShouldCancelPendingTask
✅ DisposeAsync_ShouldNotThrowIfTaskFuncFailed
✅ DisposeAsync_ShouldWaitQueuedOperations
✅ Enqueue_CanExecuteNextOperationIfPreviousCanceled
✅ Enqueue_CanExecuteNextOperationIfPreviousFailed
✅ Enqueue_ExecuteInOrderIfIntermediateCanceled
✅ Enqueue_MultipleTimes_ShouldNotKeepReferencesToAllResults
✅ Enqueue_ResultReferencedFromStack_ResultShouldBeAlive
✅ Enqueue_ReturnedTaskShouldBeCanceledWhenTaskFuncCanceled
✅ Enqueue_ReturnedTaskShouldBeFailedWhenTaskFuncFailed
✅ Enqueue_ReturnedTaskShouldCompleteWhenTaskFuncComplete
✅ Enqueue_ShouldExecuteInScheduledOrder
✅ Enqueue_ShouldThrowAfterDispose
✅ Enqueue_ShouldThrowAfterDisposeAsync
✅ Enqueue_WhenFinished_ShouldNotKeepReferenceToResult
✅ Enqueue_WhenInitiallyCanceled_ShouldExecuteOperation

❌ TaskFlow.Tests.TaskFlowFixture

✅ Dispose_CanCallAfterDisposeAsync
✅ Dispose_CanCallMultipleTimes
✅ Dispose_ShouldNotThrowIfTaskFuncFailed
✅ Dispose_ShouldReturnFalseIfTimedOut
❌ Dispose_ShouldReturnTrueIfNotTimedOut
	  Expected: True
	  But was:  False
	
✅ Dispose_ShouldWaitQueuedOperations
✅ DisposeAsync_CanCallMultipleTimes
✅ DisposeAsync_ShouldCancelPendingTask
✅ DisposeAsync_ShouldNotThrowIfTaskFuncFailed
✅ DisposeAsync_ShouldWaitQueuedOperations
✅ Enqueue_CanExecuteNextOperationIfPreviousCanceled
✅ Enqueue_CanExecuteNextOperationIfPreviousFailed
✅ Enqueue_ExecuteInOrderIfIntermediateCanceled
✅ Enqueue_MultipleTimes_ShouldNotKeepReferencesToAllResults
✅ Enqueue_ResultReferencedFromStack_ResultShouldBeAlive
✅ Enqueue_ReturnedTaskShouldBeCanceledWhenTaskFuncCanceled
✅ Enqueue_ReturnedTaskShouldBeFailedWhenTaskFuncFailed
✅ Enqueue_ReturnedTaskShouldCompleteWhenTaskFuncComplete
✅ Enqueue_ShouldExecuteInScheduledOrder
✅ Enqueue_ShouldThrowAfterDispose
✅ Enqueue_ShouldThrowAfterDisposeAsync
✅ Enqueue_WhenFinished_ShouldNotKeepReferenceToResult
✅ Enqueue_WhenInitiallyCanceled_ShouldExecuteOperation

Annotations

Check failure on line 89 in TaskFlow.Tests/TaskFlowBaseFixture.cs

See this annotation in the file changed.

@github-actions github-actions / DotNET Tests

TaskFlow.Tests.CurrentThreadTaskFlowFixture ► Dispose_ShouldReturnTrueIfNotTimedOut

Failed test found in:
  TaskFlow.Tests/TestResults/stage/test-results.trx
  TaskFlow.Tests/TestResults/stage/test-results.trx
Error:
    Expected: True
    But was:  False
  
Raw output
  Expected: True
  But was:  False

   at TaskFlow.Tests.TaskFlowBaseFixture`1.Dispose_ShouldReturnTrueIfNotTimedOut() in /home/runner/work/TaskFlow/TaskFlow/TaskFlow.Tests/TaskFlowBaseFixture.cs:line 89

Check failure on line 120 in TaskFlow.Tests/TaskSchedulerBaseFixture.Scheduling.cs

See this annotation in the file changed.

@github-actions github-actions / DotNET Tests

TaskFlow.Tests.CurrentThreadTaskFlowFixture ► Enqueue_ExecuteInOrderIfIntermediateCanceled

Failed test found in:
  TaskFlow.Tests/TestResults/stage/test-results.trx
Error:
    Expected: True after 100 milliseconds delay
    But was:  False
  
Raw output
  Expected: True after 100 milliseconds delay
  But was:  False

   at TaskFlow.Tests.TaskSchedulerBaseFixture`1.Enqueue_ExecuteInOrderIfIntermediateCanceled() in /home/runner/work/TaskFlow/TaskFlow/TaskFlow.Tests/TaskSchedulerBaseFixture.Scheduling.cs:line 120
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)