Skip to content

refactor: add missing tests from simulation mode implementation #1855

refactor: add missing tests from simulation mode implementation

refactor: add missing tests from simulation mode implementation #1855

GitHub Actions / MacOS Tests succeeded Apr 29, 2024 in 0s

64651 passed, 1 failed and 8810 skipped

Tests failed

Report Passed Failed Skipped Time
_Mac-1714405496501_2024-04-29_15_58_18.trx 16✅ 3s
_Mac-1714405496501_2024-04-29_15_58_21.trx 935✅ 30⚪ 10s
_Mac-1714405496501_2024-04-29_15_58_22.trx 16✅ 3s
_Mac-1714405496501_2024-04-29_15_58_22[1].trx 9223✅ 1233⚪ 103s
_Mac-1714405496501_2024-04-29_15_58_25.trx 16✅ 2s
_Mac-1714405496501_2024-04-29_15_58_33.trx 45✅ 164⚪ 9s
_Mac-1714405496501_2024-04-29_15_58_33[1].trx 967✅ 36⚪ 11s
_Mac-1714405496501_2024-04-29_15_58_39.trx 45✅ 164⚪ 5s
_Mac-1714405496501_2024-04-29_15_58_43.trx 966✅ 36⚪ 9s
_Mac-1714405496501_2024-04-29_15_58_46.trx 45✅ 164⚪ 6s
_Mac-1714405496501_2024-04-29_15_58_50.trx 25✅ 1⚪ 2s
_Mac-1714405496501_2024-04-29_15_58_52.trx 3✅ 9⚪ 2s
_Mac-1714405496501_2024-04-29_15_58_52[1].trx 351✅ 6s
_Mac-1714405496501_2024-04-29_15_58_57.trx 371✅ 5s
_Mac-1714405496501_2024-04-29_15_59_01.trx 466✅ 4s
_Mac-1714405496501_2024-04-29_16_00_02.trx 9405✅ 1284⚪ 98s
_Mac-1714405496501_2024-04-29_16_01_42.trx 9430✅ 1❌ 1284⚪ 98s
_Mac-1714405496501_2024-04-29_16_03_21.trx 16✅ 1s
_Mac-1714405496501_2024-04-29_16_03_23.trx 16✅ 2s
_Mac-1714405496501_2024-04-29_16_03_23[1].trx 935✅ 30⚪ 7s
_Mac-1714405496501_2024-04-29_16_03_24.trx 9223✅ 1233⚪ 104s
_Mac-1714405496501_2024-04-29_16_03_25.trx 16✅ 2s
_Mac-1714405496501_2024-04-29_16_03_30.trx 45✅ 164⚪ 4s
_Mac-1714405496501_2024-04-29_16_03_31.trx 967✅ 36⚪ 7s
_Mac-1714405496501_2024-04-29_16_03_35.trx 45✅ 164⚪ 4s
_Mac-1714405496501_2024-04-29_16_03_38.trx 45✅ 164⚪ 4s
_Mac-1714405496501_2024-04-29_16_03_38[1].trx 966✅ 36⚪ 7s
_Mac-1714405496501_2024-04-29_16_03_43.trx 351✅ 4s
_Mac-1714405496501_2024-04-29_16_03_44.trx 25✅ 1⚪ 1s
_Mac-1714405496501_2024-04-29_16_03_46.trx 3✅ 9⚪ 1s
_Mac-1714405496501_2024-04-29_16_03_47.trx 371✅ 4s
_Mac-1714405496501_2024-04-29_16_03_50.trx 466✅ 3s
_Mac-1714405496501_2024-04-29_16_05_08.trx 9405✅ 1284⚪ 99s
_Mac-1714405496501_2024-04-29_16_06_49.trx 9431✅ 1284⚪ 100s

✅ _Mac-1714405496501_2024-04-29_15_58_18.trx

16 tests were completed in 3s with 16 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Testably.Abstractions.Parity.Tests.Net6ParityTests 16✅ 67ms

✅ _Mac-1714405496501_2024-04-29_15_58_21.trx

965 tests were completed in 10s with 935 passed, 0 failed and 30 skipped.

Test suite Passed Failed Skipped Time
Testably.Abstractions.Testing.Tests.FileSystem.ChangeDescriptionTests 4✅ 1ms
Testably.Abstractions.Testing.Tests.FileSystem.ChangeHandlerTests 7✅ 94ms
Testably.Abstractions.Testing.Tests.FileSystem.DefaultAccessControlStrategyTests 2✅ 2ms
Testably.Abstractions.Testing.Tests.FileSystem.DefaultSafeFileHandleStrategyTests 2✅ 18ms
Testably.Abstractions.Testing.Tests.FileSystem.DriveInfoMockTests 26✅ 151ms
Testably.Abstractions.Testing.Tests.FileSystem.FileMockTests 2✅ 0ms
Testably.Abstractions.Testing.Tests.FileSystem.FileStreamFactoryMockTests 1✅ 5ms
Testably.Abstractions.Testing.Tests.FileSystem.FileSystemExtensibilityTests 26✅ 65ms
Testably.Abstractions.Testing.Tests.FileSystem.FileSystemWatcherFactoryMockTests 2✅ 25ms
Testably.Abstractions.Testing.Tests.FileSystem.FileSystemWatcherMockTests 4✅ 1⚪ 77ms
Testably.Abstractions.Testing.Tests.FileSystem.FileSystemWatcherMockTests+EventArgsTests 6✅ 61ms
Testably.Abstractions.Testing.Tests.FileSystem.PathMockTests 4✅ 19ms
Testably.Abstractions.Testing.Tests.FileSystemInitializer.DirectoryCleanerTests 5⚪ 5ms
Testably.Abstractions.Testing.Tests.FileSystemInitializer.DirectoryDescriptionTests 4✅ 4ms
Testably.Abstractions.Testing.Tests.FileSystemInitializer.FileDescriptionTests 3✅ 38ms
Testably.Abstractions.Testing.Tests.FileSystemInitializer.FileSystemInitializerTests 16✅ 102ms
Testably.Abstractions.Testing.Tests.FileSystemInitializer.TestingExceptionTests 1✅ 13ms
Testably.Abstractions.Testing.Tests.FileSystemInitializerExtensionsTests 17✅ 1⚪ 32ms
Testably.Abstractions.Testing.Tests.FileSystemInitializerOptionsTests 1✅ 0ms
Testably.Abstractions.Testing.Tests.Helpers.AssemblyNameExtensionsTests 2✅ 1ms
Testably.Abstractions.Testing.Tests.Helpers.CharExtensionMethodsTests 13✅ 0ms
Testably.Abstractions.Testing.Tests.Helpers.EncryptionHelperTests 3✅ 4ms
Testably.Abstractions.Testing.Tests.Helpers.EnumerationOptionsHelperTests 2✅ 1ms
Testably.Abstractions.Testing.Tests.Helpers.ExceptionFactoryTests 5✅ 1ms
Testably.Abstractions.Testing.Tests.Helpers.ExecuteExtensionsTests 67✅ 10ms
Testably.Abstractions.Testing.Tests.Helpers.ExecuteTests 4✅ 1ms
Testably.Abstractions.Testing.Tests.Helpers.ExecuteTests+SimulatedPathTests 3✅ 0ms
Testably.Abstractions.Testing.Tests.Helpers.FilePlatformIndependenceExtensionsTests 6✅ 1⚪ 2ms
Testably.Abstractions.Testing.Tests.Helpers.FileSystemExtensibilityTests 2✅ 1ms
Testably.Abstractions.Testing.Tests.Helpers.FileSystemExtensionsTests 3✅ 2ms
Testably.Abstractions.Testing.Tests.Helpers.PathHelperTests 13✅ 1⚪ 12ms
Testably.Abstractions.Testing.Tests.Helpers.RandomSystemExtensionsTests 2✅ 4ms
Testably.Abstractions.Testing.Tests.InterceptionHandlerExtensionsTests 30✅ 12ms
Testably.Abstractions.Testing.Tests.MockFileSystemExtensionsTests 1✅ 1ms
Testably.Abstractions.Testing.Tests.MockFileSystemInitializationTests 12✅ 16ms
Testably.Abstractions.Testing.Tests.MockFileSystemTests 16✅ 7⚪ 17ms
Testably.Abstractions.Testing.Tests.MockRandomSystemTests 1✅ 0ms
Testably.Abstractions.Testing.Tests.MockTimeSystemTests 11✅ 82ms
Testably.Abstractions.Testing.Tests.NotificationHandlerExtensionsTests 35✅ 3s
Testably.Abstractions.Testing.Tests.NotificationTests 13✅ 2s
Testably.Abstractions.Testing.Tests.RandomProviderTests 29✅ 171ms
Testably.Abstractions.Testing.Tests.RandomProviderTests+GeneratorTests 12✅ 36ms
Testably.Abstractions.Testing.Tests.RandomSystem.RandomSystemExtensibilityTests 4✅ 0ms
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.DirectoryInfoFactoryStatisticsTests 3✅ 75ms
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.DirectoryInfoStatisticsTests 54✅ 64ms
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.DirectoryStatisticsTests 49✅ 197ms
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.DriveInfoFactoryStatisticsTests 4✅ 126ms
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.DriveInfoStatisticsTests 1✅ 10⚪ 11ms
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.FileInfoFactoryStatisticsTests 3✅ 3ms
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.FileInfoStatisticsTests 45✅ 2⚪ 53ms
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.FileStatisticsTests 69✅ 2⚪ 238ms
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.FileStreamFactoryStatisticsTests 12✅ 36ms
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.FileStreamStatisticsTests 36✅ 247ms
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.FileSystemWatcherFactoryStatisticsTests 5✅ 12ms
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.FileSystemWatcherStatisticsTests 22✅ 561ms
Testably.Abstractions.Testing.Tests.Statistics.FileSystem.PathStatisticsTests 47✅ 87ms
Testably.Abstractions.Testing.Tests.Statistics.MethodStatisticsTests 3✅ 4ms
Testably.Abstractions.Testing.Tests.Statistics.ParameterDescriptionTests 14✅ 3ms
Testably.Abstractions.Testing.Tests.Statistics.PathStatisticsTests 12✅ 2ms
Testably.Abstractions.Testing.Tests.Statistics.PropertyStatisticsTests 3✅ 1ms
Testably.Abstractions.Testing.Tests.Statistics.StatisticsTests 18✅ 564ms
Testably.Abstractions.Testing.Tests.Storage.InMemoryContainerTests 19✅ 126ms
Testably.Abstractions.Testing.Tests.Storage.InMemoryLocationTests 11✅ 2ms
Testably.Abstractions.Testing.Tests.Storage.InMemoryStorageTests 14✅ 16ms
Testably.Abstractions.Testing.Tests.Storage.LocationExtensionsTests 7✅ 2ms
Testably.Abstractions.Testing.Tests.Storage.NullContainerTests 12✅ 5ms
Testably.Abstractions.Testing.Tests.TimeProviderTests 4✅ 456ms
Testably.Abstractions.Testing.Tests.TimeSystem.NotificationHandlerTests 17✅ 170ms
Testably.Abstractions.Testing.Tests.TimeSystem.TimerFactoryMockTests 2✅ 389ms
Testably.Abstractions.Testing.Tests.TimeSystem.TimerHandlerTests 3✅ 5ms
Testably.Abstractions.Testing.Tests.TimeSystem.TimerMockTests 19✅ 2s
Testably.Abstractions.Testing.Tests.TimeSystem.TimeSystemExtensibilityTests 10✅ 66ms

✅ _Mac-1714405496501_2024-04-29_15_58_22.trx

16 tests were completed in 3s with 16 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Testably.Abstractions.Parity.Tests.Net7ParityTests 16✅ 83ms

✅ _Mac-1714405496501_2024-04-29_15_58_22[1].trx

10456 tests were completed in 103s with 9223 passed, 0 failed and 1233 skipped.
Report exceeded GitHub limit of 65535 bytes and has been trimmed

Annotations

Check failure on line 383 in Tests/Testably.Abstractions.Tests/TimeSystem/TimerTests.cs

See this annotation in the file changed.

@github-actions github-actions / MacOS Tests

Testably.Abstractions.Tests.TimeSystem.TimerTests.MockTimeSystemTests ► Change_WithTimeSpan_ShouldResetTimer

Failed test found in:
  _Mac-1714405496501_2024-04-29_16_01_42.trx
Error:
  Expected triggerTimes[0] to be less than 1300, but found 2000 (difference of 700).
Raw output
Expected triggerTimes[0] to be less than 1300, but found 2000 (difference of 700).
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Numeric.NumericAssertions`2.BeLessThan(T expected, String because, Object[] becauseArgs)
   at Testably.Abstractions.Tests.TimeSystem.TimerTests`1.Change_WithTimeSpan_ShouldResetTimer() in /Users/runner/work/Testably.Abstractions/Testably.Abstractions/Tests/Testably.Abstractions.Tests/TimeSystem/TimerTests.cs:line 383
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)