Test run details

Total tests
35
Passed  : 34
Failed  : 1
Skipped : 0
Pass percentage
97 %

Run duration
465ms

Failed Results

trx-tools.Reporting.Tests
ToHumanReadableTimeSpan_WhenCalledWithTimeSpan_ShouldReturnHumanReadableTimeSpan(TimeSpanTestCase { TimeSpan = 01:00:00, Expected = 2s 4ms })
64ms
Error:
Expected result to be "2s 4ms" with a length of 6, but "1h" has a length of 2, differs near "1h" (index 0).

Stack trace:
   at FluentAssertions.Execution.LateBoundTestFramework.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.Primitives.StringEqualityValidator.ValidateAgainstLengthDifferences()
   at FluentAssertions.Primitives.StringValidator.Validate()
   at FluentAssertions.Primitives.StringAssertions`1.Be(String expected, String because, Object[] becauseArgs)
   at trx_tools.HtmlReporting.Tests.Extensions.TimeSpanExtensionsTests.ToHumanReadableTimeSpan_WhenCalledWithTimeSpan_ShouldReturnHumanReadableTimeSpan(TimeSpanTestCase testCase) in D:\Projects\github\trx-tools\tests\trx-tools.Reporting.Tests\Extensions\TimeSpanExtensionsTests.cs:line 18
   at InvokeStub_TimeSpanExtensionsTests.ToHumanReadableTimeSpan_WhenCalledWithTimeSpan_ShouldReturnHumanReadableTimeSpan(Object, Span`1)


All Results

trx-tools.Core.Tests
FindTrxFilesInDirectory_Should_Return_List_Of_Trx_Files
3ms
FindTrxFilesInDirectory_Should_Return_List_Of_Trx_Files
2ms
MergeTestRuns_When_Called_With_Duplicated_Test_Executions_Throws
56ms
MergeTestRuns_When_Called_With_Duplicated_Test_Executions_Throws
49ms
MergeTestRuns_When_Called_With_Null_TestRuns_Throws_ArgumentNullException
1ms
MergeTestRuns_When_Called_With_Null_TestRuns_Throws_ArgumentNullException
< 1ms
MergeTestRuns_When_Called_With_Passed_And_Failed_TestRuns_Returns_Merged_TestRun
11ms
MergeTestRuns_When_Called_With_Passed_And_Failed_TestRuns_Returns_Merged_TestRun
6ms
ParseTestRun_When_TestDefinition_NotFound_Throws_UnitTestDataNotFoundException
3ms
ParseTestRun_When_TestDefinition_NotFound_Throws_UnitTestDataNotFoundException
2ms
ParseTestRun_When_TestId_Mismatch_Throws_TestIdsMismatchException
2ms
ParseTestRun_When_TestId_Mismatch_Throws_TestIdsMismatchException
1ms
ParseTestRun_When_TestResult_Is_Passed_Parses_TestResult
8ms
ParseTestRun_When_TestResult_Is_Passed_Parses_TestResult
5ms
ParseTestRun_When_TestResult_NotFound_Throws_TestResultDataNotFoundException
< 1ms
ParseTestRun_When_TestResult_NotFound_Throws_TestResultDataNotFoundException
< 1ms
ParseTestRun_When_TestRun_Is_Null_Should_Throws_ArgumentNullException
< 1ms
ParseTestRun_When_TestRun_Is_Null_Should_Throws_ArgumentNullException
< 1ms
ReadTestRun_Returned_Object_Shoould_Match_Json
114ms
ReadTestRun_Returned_Object_Shoould_Match_Json
95ms
ReadTestRun_Should_Return_ParsedTestRun
8ms
ReadTestRun_Should_Return_ParsedTestRun
5ms
ReadTestRun_Should_Throw_Exception_When_File_Does_Not_Exist
3ms
ReadTestRun_Should_Throw_Exception_When_File_Does_Not_Exist
2ms
trx-tools.Reporting.Tests
ToHumanReadableTimeSpan_WhenCalledWithTimeSpan_ShouldReturnHumanReadableTimeSpan(TimeSpanTestCase { TimeSpan = 00:00:00.1230000, Expected = 123ms })
< 1ms
ToHumanReadableTimeSpan_WhenCalledWithTimeSpan_ShouldReturnHumanReadableTimeSpan(TimeSpanTestCase { TimeSpan = 00:00:00.1230000, Expected = 123ms })
< 1ms
ToHumanReadableTimeSpan_WhenCalledWithTimeSpan_ShouldReturnHumanReadableTimeSpan(TimeSpanTestCase { TimeSpan = 00:02:03, Expected = 2m 3s })
< 1ms
ToHumanReadableTimeSpan_WhenCalledWithTimeSpan_ShouldReturnHumanReadableTimeSpan(TimeSpanTestCase { TimeSpan = 00:02:03, Expected = 2m 3s })
< 1ms
ToHumanReadableTimeSpan_WhenCalledWithTimeSpan_ShouldReturnHumanReadableTimeSpan(TimeSpanTestCase { TimeSpan = 01:00:00, Expected = 2s 4ms })
64ms
Error:
Expected result to be "2s 4ms" with a length of 6, but "1h" has a length of 2, differs near "1h" (index 0).

Stack trace:
   at FluentAssertions.Execution.LateBoundTestFramework.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.Primitives.StringEqualityValidator.ValidateAgainstLengthDifferences()
   at FluentAssertions.Primitives.StringValidator.Validate()
   at FluentAssertions.Primitives.StringAssertions`1.Be(String expected, String because, Object[] becauseArgs)
   at trx_tools.HtmlReporting.Tests.Extensions.TimeSpanExtensionsTests.ToHumanReadableTimeSpan_WhenCalledWithTimeSpan_ShouldReturnHumanReadableTimeSpan(TimeSpanTestCase testCase) in D:\Projects\github\trx-tools\tests\trx-tools.Reporting.Tests\Extensions\TimeSpanExtensionsTests.cs:line 18
   at InvokeStub_TimeSpanExtensionsTests.ToHumanReadableTimeSpan_WhenCalledWithTimeSpan_ShouldReturnHumanReadableTimeSpan(Object, Span`1)


ToHumanReadableTimeSpan_WhenCalledWithTimeSpan_ShouldReturnHumanReadableTimeSpan(TimeSpanTestCase { TimeSpan = 02:03:07.4070000, Expected = 2h 3m 7s 407ms })
< 1ms
ToHumanReadableTimeSpan_WhenCalledWithTimeSpan_ShouldReturnHumanReadableTimeSpan(TimeSpanTestCase { TimeSpan = 02:03:07.4070000, Expected = 2h 3m 7s 407ms })
< 1ms
ToHumanReadableTimeSpan_WhenCalledWithTimeSpan_ShouldReturnHumanReadableTimeSpan(TimeSpanTestCase { TimeSpan = 1.02:03:04.0050000, Expected = 1d 2h 3m 4s 5ms })
6ms
ToHumanReadableTimeSpan_WhenCalledWithTimeSpan_ShouldReturnHumanReadableTimeSpan(TimeSpanTestCase { TimeSpan = 1.02:03:04.0050000, Expected = 1d 2h 3m 4s 5ms })
6ms
ToHumanReadableTimeSpan_WhenCalledWithTimeSpan_ShouldReturnHumanReadableTimeSpan(TimeSpanTestCase { TimeSpan = 5.03:07:24.4200000, Expected = 5d 3h 7m 24s 420ms })
< 1ms
ToHumanReadableTimeSpan_WhenCalledWithTimeSpan_ShouldReturnHumanReadableTimeSpan(TimeSpanTestCase { TimeSpan = 5.03:07:24.4200000, Expected = 5d 3h 7m 24s 420ms })
< 1ms

Informational messages

NUnit Adapter 5.0.0.0: Test execution started
Running all tests in D:\Projects\github\trx-tools\tests\trx-tools.Reporting.Tests\bin\Debug\net9.0\trx-tools.Reporting.Tests.dll
NUnit3TestExecutor discovered 5 of 5 NUnit test cases using Current Discovery mode, Non-Explicit run
NUnit Adapter 5.0.0.0: Test execution complete

NUnit Adapter 5.0.0.0: Test execution started
Running all tests in D:\Projects\github\trx-tools\tests\trx-tools.Core.Tests\bin\Debug\net9.0\trx-tools.Core.Tests.dll
NUnit3TestExecutor discovered 12 of 12 NUnit test cases using Current Discovery mode, Non-Explicit run
NUnit Adapter 5.0.0.0: Test execution complete

NUnit Adapter 5.0.0.0: Test execution started
Running all tests in D:\Projects\github\trx-tools\tests\trx-tools.Reporting.Tests\bin\Debug\net9.0\trx-tools.Reporting.Tests.dll
NUnit3TestExecutor discovered 6 of 6 NUnit test cases using Current Discovery mode, Non-Explicit run
NUnit Adapter 5.0.0.0: Test execution complete

NUnit Adapter 5.0.0.0: Test execution started
Running all tests in D:\Projects\github\trx-tools\tests\trx-tools.Core.Tests\bin\Debug\net9.0\trx-tools.Core.Tests.dll
NUnit3TestExecutor discovered 12 of 12 NUnit test cases using Current Discovery mode, Non-Explicit run
NUnit Adapter 5.0.0.0: Test execution complete