Skip to content

Added test reporter (#303) #244

Added test reporter (#303)

Added test reporter (#303) #244

GitHub Actions / Whisper.net Windows Test Results failed Dec 20, 2024 in 1s

56 passed, 1 failed and 0 skipped

Tests failed

Report Passed Failed Skipped Time
tests/Whisper.net.Tests/TestResults/runneradmin_fv-az1489-151_2024-12-20_22_17_49.trx 18✅ 1❌ 35s
tests/Whisper.net.Tests/TestResults/runneradmin_fv-az1489-151_2024-12-20_22_17_59.trx 19✅ 40s
tests/Whisper.net.Tests/TestResults/runneradmin_fv-az1489-151_2024-12-20_22_18_31.trx 19✅ 63s

❌ tests/Whisper.net.Tests/TestResults/runneradmin_fv-az1489-151_2024-12-20_22_17_49.trx

19 tests were completed in 35s with 18 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Whisper.net.Tests.FactoryTests 6✅ 595ms
Whisper.net.Tests.ProcessAsyncFunctionalTests 5✅ 24s
Whisper.net.Tests.ProcessFunctionalTests 7✅ 34s
Whisper.net.Tests.ProcessQuantizedTests 1❌ 652ms

✅ Whisper.net.Tests.FactoryTests

✅ CreateBuilder_WithBufferedModel_ShouldReturnBuilder
✅ CreateBuilder_WithCorruptedModel_ShouldThrow
✅ CreateBuilder_WithDisposedFactory_ShouldThrow
✅ CreateBuilder_WithFileModel_ShouldReturnBuilder
✅ CreateBuilder_WithNoModel_ShouldThrow
✅ GetSupportedLanguages_ShouldReturnAll

✅ Whisper.net.Tests.ProcessAsyncFunctionalTests

✅ ProcessAsync_CalledMultipleTimes_Serially_WillCompleteEverytime
✅ ProcessAsync_Cancelled_WillCancellTheProcessing_AndDispose_WillWaitUntilFullyFinished
✅ ProcessAsync_WhenJunkChunkExists_ProcessCorrectly
✅ ProcessAsync_WhenMultichannel_ProcessCorrectly
✅ TestHappyFlowAsync

✅ Whisper.net.Tests.ProcessFunctionalTests

✅ Process_CalledMultipleTimes_Serially_WillCompleteEverytime
✅ Process_WhenMultichannel_ProcessCorrectly
✅ Test_LibraryLoadError_ShouldFallbackToCPU(invalidLibrary: "cuda")
✅ Test_LibraryLoadError_ShouldFallbackToCPU(invalidLibrary: "openvino")
✅ TestAutoDetectLanguageWithRomanian
✅ TestCancelEncoder
✅ TestHappyFlow

❌ Whisper.net.Tests.ProcessQuantizedTests

❌ TestHappyFlowQuantized
	System.InvalidOperationException : There is no currently active test.

✅ tests/Whisper.net.Tests/TestResults/runneradmin_fv-az1489-151_2024-12-20_22_17_59.trx

19 tests were completed in 40s with 19 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Whisper.net.Tests.FactoryTests 6✅ 670ms
Whisper.net.Tests.ProcessAsyncFunctionalTests 5✅ 26s
Whisper.net.Tests.ProcessFunctionalTests 7✅ 29s
Whisper.net.Tests.ProcessQuantizedTests 1✅ 8s

✅ Whisper.net.Tests.FactoryTests

✅ CreateBuilder_WithBufferedModel_ShouldReturnBuilder
✅ CreateBuilder_WithCorruptedModel_ShouldThrow
✅ CreateBuilder_WithDisposedFactory_ShouldThrow
✅ CreateBuilder_WithFileModel_ShouldReturnBuilder
✅ CreateBuilder_WithNoModel_ShouldThrow
✅ GetSupportedLanguages_ShouldReturnAll

✅ Whisper.net.Tests.ProcessAsyncFunctionalTests

✅ ProcessAsync_CalledMultipleTimes_Serially_WillCompleteEverytime
✅ ProcessAsync_Cancelled_WillCancellTheProcessing_AndDispose_WillWaitUntilFullyFinished
✅ ProcessAsync_WhenJunkChunkExists_ProcessCorrectly
✅ ProcessAsync_WhenMultichannel_ProcessCorrectly
✅ TestHappyFlowAsync

✅ Whisper.net.Tests.ProcessFunctionalTests

✅ Process_CalledMultipleTimes_Serially_WillCompleteEverytime
✅ Process_WhenMultichannel_ProcessCorrectly
✅ Test_LibraryLoadError_ShouldFallbackToCPU(invalidLibrary: "cuda")
✅ Test_LibraryLoadError_ShouldFallbackToCPU(invalidLibrary: "openvino")
✅ TestAutoDetectLanguageWithRomanian
✅ TestCancelEncoder
✅ TestHappyFlow

✅ Whisper.net.Tests.ProcessQuantizedTests

✅ TestHappyFlowQuantized

✅ tests/Whisper.net.Tests/TestResults/runneradmin_fv-az1489-151_2024-12-20_22_18_31.trx

19 tests were completed in 63s with 19 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Whisper.net.Tests.FactoryTests 6✅ 946ms
Whisper.net.Tests.ProcessAsyncFunctionalTests 5✅ 16s
Whisper.net.Tests.ProcessFunctionalTests 7✅ 20s
Whisper.net.Tests.ProcessQuantizedTests 1✅ 3s

✅ Whisper.net.Tests.FactoryTests

✅ CreateBuilder_WithBufferedModel_ShouldReturnBuilder
✅ CreateBuilder_WithCorruptedModel_ShouldThrow
✅ CreateBuilder_WithDisposedFactory_ShouldThrow
✅ CreateBuilder_WithFileModel_ShouldReturnBuilder
✅ CreateBuilder_WithNoModel_ShouldThrow
✅ GetSupportedLanguages_ShouldReturnAll

✅ Whisper.net.Tests.ProcessAsyncFunctionalTests

✅ ProcessAsync_CalledMultipleTimes_Serially_WillCompleteEverytime
✅ ProcessAsync_Cancelled_WillCancellTheProcessing_AndDispose_WillWaitUntilFullyFinished
✅ ProcessAsync_WhenJunkChunkExists_ProcessCorrectly
✅ ProcessAsync_WhenMultichannel_ProcessCorrectly
✅ TestHappyFlowAsync

✅ Whisper.net.Tests.ProcessFunctionalTests

✅ Process_CalledMultipleTimes_Serially_WillCompleteEverytime
✅ Process_WhenMultichannel_ProcessCorrectly
✅ Test_LibraryLoadError_ShouldFallbackToCPU(invalidLibrary: "cuda")
✅ Test_LibraryLoadError_ShouldFallbackToCPU(invalidLibrary: "openvino")
✅ TestAutoDetectLanguageWithRomanian
✅ TestCancelEncoder
✅ TestHappyFlow

✅ Whisper.net.Tests.ProcessQuantizedTests

✅ TestHappyFlowQuantized

Annotations

Check failure on line 29 in tests/Whisper.net.Tests/FactoryTests.cs

See this annotation in the file changed.

@github-actions github-actions / Whisper.net Windows Test Results

Whisper.net.Tests.ProcessQuantizedTests ► TestHappyFlowQuantized

Failed test found in:
  tests/Whisper.net.Tests/TestResults/runneradmin_fv-az1489-151_2024-12-20_22_17_49.trx
Error:
  System.InvalidOperationException : There is no currently active test.
Raw output
System.InvalidOperationException : There is no currently active test.
   at Whisper.net.Tests.FactoryTests.Instance_OnLog(WhisperLogLevel arg1, String arg2) in D:\a\whisper.net\whisper.net\tests\Whisper.net.Tests\FactoryTests.cs:line 29
   at Whisper.net.Logger.LogProvider.Log(WhisperLogLevel level, String message) in D:\a\whisper.net\whisper.net\Whisper.net\Logger\LogProvider.cs:line 75
   at Whisper.net.Logger.LogProvider.LogUnmanaged(GgmlLogLevel level, IntPtr message, IntPtr user_data) in D:\a\whisper.net\whisper.net\Whisper.net\Logger\LogProvider.cs:line 70
   at Whisper.net.WhisperProcessor.GetWhisperState() in D:\a\whisper.net\whisper.net\Whisper.net\WhisperProcessor.cs:line 343
   at Whisper.net.WhisperProcessor.Process(ReadOnlySpan`1 samples) in D:\a\whisper.net\whisper.net\Whisper.net\WhisperProcessor.cs:line 172
   at Whisper.net.WhisperProcessor.Process(Single[] samples) in D:\a\whisper.net\whisper.net\Whisper.net\WhisperProcessor.cs:line 154
   at Whisper.net.WhisperProcessor.Process(Stream waveStream) in D:\a\whisper.net\whisper.net\Whisper.net\WhisperProcessor.cs:line 145
   at Whisper.net.Tests.ProcessQuantizedTests.TestHappyFlowQuantized() in D:\a\whisper.net\whisper.net\tests\Whisper.net.Tests\ProcessQuantizedTests.cs:line 29
--- End of stack trace from previous location ---