You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
----- Test Execution Summary -----
Magicodes.ExporterAndImporter.Tests.ExcelImporter_Tests.ImportTestColumnIndex_Test:
Outcome: Failed
Error Message:
Shouldly.ShouldAssertException : import.Data.ElementAt(0).Age
should be
11
but was
null
Stack Trace:
at Magicodes.ExporterAndImporter.Tests.ExcelImporter_Tests.ImportTestColumnIndex_Test() in d:\Github\Magicodes.IE\src\Magicodes.ExporterAndImporter.Tests\ExcelImporter_Tests.cs:line 884
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
Total tests: 1. Passed: 0. Failed: 1. Skipped: 0
All Age column data is null! [裂开]
The text was updated successfully, but these errors were encountered:
Package: Magicodes.IE.Excel 2.5.4.3
I'm trying to debug ImportTestColumnIndex_Test
Magicodes.IE/src/Magicodes.ExporterAndImporter.Tests/ExcelImporter_Tests.cs
Line 876 in 149443d
I have modified some code.
DTO like:
Unit test code like:
Excel data:
----- Test Execution Summary -----
Magicodes.ExporterAndImporter.Tests.ExcelImporter_Tests.ImportTestColumnIndex_Test:
Outcome: Failed
Error Message:
Shouldly.ShouldAssertException : import.Data.ElementAt(0).Age
should be
11
but was
null
Stack Trace:
at Magicodes.ExporterAndImporter.Tests.ExcelImporter_Tests.ImportTestColumnIndex_Test() in d:\Github\Magicodes.IE\src\Magicodes.ExporterAndImporter.Tests\ExcelImporter_Tests.cs:line 884
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
Total tests: 1. Passed: 0. Failed: 1. Skipped: 0
All Age column data is null! [裂开]
The text was updated successfully, but these errors were encountered: