mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 13:57:09 +01:00
Fix dotnet-trx parsing of tests with custom display names
This commit is contained in:
parent
0c4e1654a1
commit
6662b9362e
8 changed files with 515 additions and 375 deletions
|
|
@ -1,11 +1,12 @@
|
|||

|
||||

|
||||
## ❌ <a id="user-content-r0" href="#r0">fixtures/dotnet-trx.trx</a>
|
||||
**7** tests were completed in **1s** with **3** passed, **3** failed and **1** skipped.
|
||||
**11** tests were completed in **1s** with **5** passed, **5** failed and **1** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[DotnetTests.XUnitTests.CalculatorTests](#r0s0)|3✔️|3❌|1✖️|110ms|
|
||||
|[DotnetTests.XUnitTests.CalculatorTests](#r0s0)|5✔️|5❌|1✖️|118ms|
|
||||
### ❌ <a id="user-content-r0s0" href="#r0s0">DotnetTests.XUnitTests.CalculatorTests</a>
|
||||
```
|
||||
✔️ Custom Name
|
||||
❌ Exception_In_TargetTest
|
||||
System.DivideByZeroException : Attempted to divide by zero.
|
||||
❌ Exception_In_Test
|
||||
|
|
@ -14,8 +15,17 @@
|
|||
Assert.Equal() Failure
|
||||
Expected: 3
|
||||
Actual: 2
|
||||
✔️ Is_Even_Number(i: 2)
|
||||
❌ Is_Even_Number(i: 3)
|
||||
Assert.True() Failure
|
||||
Expected: True
|
||||
Actual: False
|
||||
✔️ Passing_Test
|
||||
✔️ Passing_Test_With_Name
|
||||
✔️ Should be even number(i: 2)
|
||||
❌ Should be even number(i: 3)
|
||||
Assert.True() Failure
|
||||
Expected: True
|
||||
Actual: False
|
||||
✖️ Skipped_Test
|
||||
✔️ Timeout_Test
|
||||
```
|
||||
|
|
@ -91,10 +91,10 @@
|
|||
✔️ When_the_validators_fail_then_the_errors_Should_be_accessible_via_the_errors_property
|
||||
✔️ When_the_validators_fail_then_validatorrunner_should_return_false
|
||||
✔️ When_the_Validators_pass_then_the_validatorRunner_should_return_true
|
||||
✔️ WhenPreValidationReturnsFalse_ResultReturnToUserImmediatly_Validate
|
||||
✔️ WhenPreValidationReturnsFalse_ResultReturnToUserImmediatly_Validate
|
||||
✔️ WhenPreValidationReturnsFalse_ResultReturnToUserImmediatly_ValidateAsync
|
||||
✔️ WhenPreValidationReturnsFalse_ResultReturnToUserImmediatly_ValidateAsync
|
||||
✔️ WhenPreValidationReturnsFalse_ResultReturnToUserImmediatly_Validate(preValidationResult: )
|
||||
✔️ WhenPreValidationReturnsFalse_ResultReturnToUserImmediatly_Validate(preValidationResult: AnotherInt Test Message)
|
||||
✔️ WhenPreValidationReturnsFalse_ResultReturnToUserImmediatly_ValidateAsync(preValidationResult: )
|
||||
✔️ WhenPreValidationReturnsFalse_ResultReturnToUserImmediatly_ValidateAsync(preValidationResult: AnotherInt Test Message)
|
||||
✔️ WhenPreValidationReturnsTrue_ValidatorsGetHit_Validate
|
||||
✔️ WhenPreValidationReturnsTrue_ValidatorsGetHit_ValidateAsync
|
||||
✔️ WithErrorCode_should_override_error_code
|
||||
|
|
@ -312,42 +312,42 @@
|
|||
```
|
||||
### ✔️ <a id="user-content-r0s15" href="#r0s15">FluentValidation.Tests.EmailValidatorTests</a>
|
||||
```
|
||||
✔️ Fails_email_validation_aspnetcore_compatible
|
||||
✔️ Fails_email_validation_aspnetcore_compatible
|
||||
✔️ Fails_email_validation_aspnetcore_compatible
|
||||
✔️ Fails_email_validation_aspnetcore_compatible
|
||||
✔️ Fails_email_validation_aspnetcore_compatible
|
||||
✔️ Fails_email_validation_aspnetcore_compatible
|
||||
✔️ Fails_email_validation_aspnetcore_compatible
|
||||
✔️ Fails_email_validation_aspnetcore_compatible
|
||||
✔️ Invalid_email_addressex_regex
|
||||
✔️ Invalid_email_addressex_regex
|
||||
✔️ Invalid_email_addressex_regex
|
||||
✔️ Invalid_email_addressex_regex
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible
|
||||
✔️ Valid_email_addresses_regex
|
||||
✔️ Valid_email_addresses_regex
|
||||
✔️ Valid_email_addresses_regex
|
||||
✔️ Valid_email_addresses_regex
|
||||
✔️ Valid_email_addresses_regex
|
||||
✔️ Valid_email_addresses_regex
|
||||
✔️ Valid_email_addresses_regex
|
||||
✔️ Valid_email_addresses_regex
|
||||
✔️ Valid_email_addresses_regex
|
||||
✔️ Valid_email_addresses_regex
|
||||
✔️ Valid_email_addresses_regex
|
||||
✔️ Valid_email_addresses_regex
|
||||
✔️ Valid_email_addresses_regex
|
||||
✔️ Fails_email_validation_aspnetcore_compatible(email: " \r \t \n")
|
||||
✔️ Fails_email_validation_aspnetcore_compatible(email: "")
|
||||
✔️ Fails_email_validation_aspnetcore_compatible(email: "@someDomain.com")
|
||||
✔️ Fails_email_validation_aspnetcore_compatible(email: "@someDomain@abc.com")
|
||||
✔️ Fails_email_validation_aspnetcore_compatible(email: "0")
|
||||
✔️ Fails_email_validation_aspnetcore_compatible(email: "someName")
|
||||
✔️ Fails_email_validation_aspnetcore_compatible(email: "someName@")
|
||||
✔️ Fails_email_validation_aspnetcore_compatible(email: "someName@a@b.com")
|
||||
✔️ Invalid_email_addressex_regex(email: "")
|
||||
✔️ Invalid_email_addressex_regex(email: "first.last@test..co.uk")
|
||||
✔️ Invalid_email_addressex_regex(email: "testperso")
|
||||
✔️ Invalid_email_addressex_regex(email: "thisisaverylongstringcodeplex.com")
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible(email: " @someDomain.com")
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible(email: "!#$%&'*+-/=?^_`|~@someDomain.com")
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible(email: "\"firstName.lastName\"@someDomain.com")
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible(email: "1234@someDomain.com")
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible(email: "firstName.lastName@someDomain.com")
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible(email: "someName@1234.com")
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible(email: "someName@some_domain.com")
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible(email: "someName@some~domain.com")
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible(email: "someName@someDomain.com")
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible(email: "someName@someDomain.com")
|
||||
✔️ Valid_email_addresses_aspnetcore_compatible(email: null)
|
||||
✔️ Valid_email_addresses_regex(email: "__somename@example.com")
|
||||
✔️ Valid_email_addresses_regex(email: "!def!xyz%abc@example.com")
|
||||
✔️ Valid_email_addresses_regex(email: "\"Abc@def\"@example.com")
|
||||
✔️ Valid_email_addresses_regex(email: "\"Abc\\@def\"@example.com")
|
||||
✔️ Valid_email_addresses_regex(email: "\"Fred Bloggs\"@example.com")
|
||||
✔️ Valid_email_addresses_regex(email: "\"Joe\\Blow\"@example.com")
|
||||
✔️ Valid_email_addresses_regex(email: "$A12345@example.com")
|
||||
✔️ Valid_email_addresses_regex(email: "customer/department=shipping@example.com")
|
||||
✔️ Valid_email_addresses_regex(email: "first.last@test.co.uk")
|
||||
✔️ Valid_email_addresses_regex(email: "testperson@gmail.com")
|
||||
✔️ Valid_email_addresses_regex(email: "TestPerson@gmail.com")
|
||||
✔️ Valid_email_addresses_regex(email: "testperson+label@gmail.com")
|
||||
✔️ Valid_email_addresses_regex(email: null)
|
||||
```
|
||||
### ✔️ <a id="user-content-r0s16" href="#r0s16">FluentValidation.Tests.EmptyTester</a>
|
||||
```
|
||||
|
|
@ -549,14 +549,14 @@
|
|||
✔️ Falls_back_to_english_when_culture_not_registered
|
||||
✔️ Falls_back_to_english_when_translation_missing
|
||||
✔️ Falls_back_to_parent_culture
|
||||
✔️ Gets_translation_for_bosnian_latin_culture
|
||||
✔️ Gets_translation_for_bosnian_latin_culture
|
||||
✔️ Gets_translation_for_bosnian_latin_culture
|
||||
✔️ Gets_translation_for_bosnian_latin_culture(cultureName: "bs-Latn-BA")
|
||||
✔️ Gets_translation_for_bosnian_latin_culture(cultureName: "bs-Latn")
|
||||
✔️ Gets_translation_for_bosnian_latin_culture(cultureName: "bs")
|
||||
✔️ Gets_translation_for_croatian_culture
|
||||
✔️ Gets_translation_for_culture
|
||||
✔️ Gets_translation_for_serbian_culture
|
||||
✔️ Gets_translation_for_serbian_culture
|
||||
✔️ Gets_translation_for_serbian_culture
|
||||
✔️ Gets_translation_for_serbian_culture(cultureName: "sr-Latn-RS")
|
||||
✔️ Gets_translation_for_serbian_culture(cultureName: "sr-Latn")
|
||||
✔️ Gets_translation_for_serbian_culture(cultureName: "sr")
|
||||
✔️ Gets_translation_for_specific_culture
|
||||
✔️ Uses_error_code_as_localization_key
|
||||
```
|
||||
|
|
@ -1007,16 +1007,16 @@
|
|||
✔️ ShouldHaveValidationError_preconstructed_object_does_not_throw_for_unwritable_property
|
||||
✔️ ShouldHaveValidationError_should_not_throw_when_there_are_errors_with_preconstructed_object
|
||||
✔️ ShouldHaveValidationError_should_not_throw_when_there_are_validation_errors
|
||||
✔️ ShouldHaveValidationError_should_not_throw_when_there_are_validation_errors__WhenAsyn_is_used
|
||||
✔️ ShouldHaveValidationError_should_not_throw_when_there_are_validation_errors__WhenAsyn_is_used
|
||||
✔️ ShouldHaveValidationError_should_not_throw_when_there_are_validation_errors__WhenAsyn_is_used(age: 42, cardNumber: "")
|
||||
✔️ ShouldHaveValidationError_should_not_throw_when_there_are_validation_errors__WhenAsyn_is_used(age: 42, cardNumber: null)
|
||||
✔️ ShouldHaveValidationError_should_not_throw_when_there_are_validation_errors_ruleforeach
|
||||
✔️ ShouldHaveValidationError_Should_support_nested_properties
|
||||
✔️ ShouldHaveValidationError_Should_throw_when_there_are_no_validation_errors
|
||||
✔️ ShouldHaveValidationError_should_throw_when_there_are_no_validation_errors_with_preconstructed_object
|
||||
✔️ ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_Is_Used
|
||||
✔️ ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_Is_Used
|
||||
✔️ ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_Is_Used
|
||||
✔️ ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_Is_Used
|
||||
✔️ ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_Is_Used(age: 17, cardNumber: "")
|
||||
✔️ ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_Is_Used(age: 17, cardNumber: "cardNumber")
|
||||
✔️ ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_Is_Used(age: 17, cardNumber: null)
|
||||
✔️ ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_Is_Used(age: 42, cardNumber: "cardNumber")
|
||||
✔️ ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors_ruleforeach
|
||||
✔️ ShouldHaveValidationError_with_an_unmatched_rule_and_a_single_error_should_throw_an_exception
|
||||
✔️ ShouldHaveValidationError_with_an_unmatched_rule_and_multiple_errors_should_throw_an_exception
|
||||
|
|
@ -1035,12 +1035,12 @@
|
|||
✔️ ShouldNotHaveValidationError_Should_support_nested_properties
|
||||
✔️ ShouldNotHaveValidationError_should_throw_when_there_are_errors
|
||||
✔️ ShouldNotHaveValidationError_should_throw_when_there_are_errors_with_preconstructed_object
|
||||
✔️ ShouldNotHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_is_used
|
||||
✔️ ShouldNotHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_is_used
|
||||
✔️ ShouldNotHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_is_used
|
||||
✔️ ShouldNotHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_is_used
|
||||
✔️ ShouldNotHaveValidationError_should_throw_when_there_are_validation_errors__WhenAsyn_is_used
|
||||
✔️ ShouldNotHaveValidationError_should_throw_when_there_are_validation_errors__WhenAsyn_is_used
|
||||
✔️ ShouldNotHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_is_used(age: 17, cardNumber: "")
|
||||
✔️ ShouldNotHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_is_used(age: 17, cardNumber: "cardNumber")
|
||||
✔️ ShouldNotHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_is_used(age: 17, cardNumber: null)
|
||||
✔️ ShouldNotHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_is_used(age: 42, cardNumber: "cardNumber")
|
||||
✔️ ShouldNotHaveValidationError_should_throw_when_there_are_validation_errors__WhenAsyn_is_used(age: 42, cardNumber: "")
|
||||
✔️ ShouldNotHaveValidationError_should_throw_when_there_are_validation_errors__WhenAsyn_is_used(age: 42, cardNumber: null)
|
||||
✔️ ShouldNotHaveValidationError_should_throw_when_there_are_validation_errors_ruleforeach
|
||||
✔️ Tests_nested_property
|
||||
✔️ Tests_nested_property_reverse
|
||||
|
|
@ -1048,10 +1048,10 @@
|
|||
✔️ TestValidate_runs_async
|
||||
✔️ TestValidate_runs_async_throws
|
||||
✔️ Unexpected_error_code_check
|
||||
✔️ Unexpected_message_check
|
||||
✔️ Unexpected_message_check
|
||||
✔️ Unexpected_message_check
|
||||
✔️ Unexpected_message_check
|
||||
✔️ Unexpected_message_check(withoutErrMsg: "bar", errMessages: ["bar"])
|
||||
✔️ Unexpected_message_check(withoutErrMsg: "bar", errMessages: ["foo", "bar"])
|
||||
✔️ Unexpected_message_check(withoutErrMsg: "bar", errMessages: ["foo"])
|
||||
✔️ Unexpected_message_check(withoutErrMsg: "bar", errMessages: [])
|
||||
✔️ Unexpected_severity_check
|
||||
✔️ Unexpected_state_check
|
||||
```
|
||||
|
|
@ -9,37 +9,43 @@ TestRunResult {
|
|||
TestGroupResult {
|
||||
"name": null,
|
||||
"tests": Array [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Custom Name",
|
||||
"result": "success",
|
||||
"time": 0.1371,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": Object {
|
||||
"details": "System.DivideByZeroException : Attempted to divide by zero.
|
||||
at DotnetTests.Unit.Calculator.Div(Int32 a, Int32 b) in C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\dotnet\\\\DotnetTests.Unit\\\\Calculator.cs:line 9
|
||||
at DotnetTests.XUnitTests.CalculatorTests.Exception_In_TargetTest() in C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\dotnet\\\\DotnetTests.XUnitTests\\\\CalculatorTests.cs:line 33",
|
||||
at DotnetTests.Unit.Calculator.Div(Int32 a, Int32 b) in C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-reporter\\\\reports\\\\dotnet\\\\DotnetTests.Unit\\\\Calculator.cs:line 9
|
||||
at DotnetTests.XUnitTests.CalculatorTests.Exception_In_TargetTest() in C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-reporter\\\\reports\\\\dotnet\\\\DotnetTests.XUnitTests\\\\CalculatorTests.cs:line 33",
|
||||
"line": 9,
|
||||
"message": "System.DivideByZeroException : Attempted to divide by zero.",
|
||||
"path": "DotnetTests.Unit/Calculator.cs",
|
||||
},
|
||||
"name": "Exception_In_TargetTest",
|
||||
"result": "failed",
|
||||
"time": 0.4975,
|
||||
"time": 0.8377,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": Object {
|
||||
"details": "System.Exception : Test
|
||||
at DotnetTests.XUnitTests.CalculatorTests.Exception_In_Test() in C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\dotnet\\\\DotnetTests.XUnitTests\\\\CalculatorTests.cs:line 39",
|
||||
at DotnetTests.XUnitTests.CalculatorTests.Exception_In_Test() in C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-reporter\\\\reports\\\\dotnet\\\\DotnetTests.XUnitTests\\\\CalculatorTests.cs:line 39",
|
||||
"line": 39,
|
||||
"message": "System.Exception : Test",
|
||||
"path": "DotnetTests.XUnitTests/CalculatorTests.cs",
|
||||
},
|
||||
"name": "Exception_In_Test",
|
||||
"result": "failed",
|
||||
"time": 2.2728,
|
||||
"time": 2.5175,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": Object {
|
||||
"details": "Assert.Equal() Failure
|
||||
Expected: 3
|
||||
Actual: 2
|
||||
at DotnetTests.XUnitTests.CalculatorTests.Failing_Test() in C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-check\\\\reports\\\\dotnet\\\\DotnetTests.XUnitTests\\\\CalculatorTests.cs:line 27",
|
||||
at DotnetTests.XUnitTests.CalculatorTests.Failing_Test() in C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-reporter\\\\reports\\\\dotnet\\\\DotnetTests.XUnitTests\\\\CalculatorTests.cs:line 27",
|
||||
"line": 27,
|
||||
"message": "Assert.Equal() Failure
|
||||
Expected: 3
|
||||
|
|
@ -48,19 +54,57 @@ Actual: 2",
|
|||
},
|
||||
"name": "Failing_Test",
|
||||
"result": "failed",
|
||||
"time": 3.2953,
|
||||
"time": 3.8697,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Is_Even_Number(i: 2)",
|
||||
"result": "success",
|
||||
"time": 0.0078,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": Object {
|
||||
"details": "Assert.True() Failure
|
||||
Expected: True
|
||||
Actual: False
|
||||
at DotnetTests.XUnitTests.CalculatorTests.Is_Even_Number(Int32 i) in C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-reporter\\\\reports\\\\dotnet\\\\DotnetTests.XUnitTests\\\\CalculatorTests.cs:line 59",
|
||||
"line": 59,
|
||||
"message": "Assert.True() Failure
|
||||
Expected: True
|
||||
Actual: False",
|
||||
"path": "DotnetTests.XUnitTests/CalculatorTests.cs",
|
||||
},
|
||||
"name": "Is_Even_Number(i: 3)",
|
||||
"result": "failed",
|
||||
"time": 0.41409999999999997,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Passing_Test",
|
||||
"result": "success",
|
||||
"time": 0.1254,
|
||||
"time": 0.1365,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Passing_Test_With_Name",
|
||||
"name": "Should be even number(i: 2)",
|
||||
"result": "success",
|
||||
"time": 0.103,
|
||||
"time": 0.0097,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": Object {
|
||||
"details": "Assert.True() Failure
|
||||
Expected: True
|
||||
Actual: False
|
||||
at DotnetTests.XUnitTests.CalculatorTests.Theory_With_Custom_Name(Int32 i) in C:\\\\Users\\\\Michal\\\\Workspace\\\\dorny\\\\test-reporter\\\\reports\\\\dotnet\\\\DotnetTests.XUnitTests\\\\CalculatorTests.cs:line 67",
|
||||
"line": 67,
|
||||
"message": "Assert.True() Failure
|
||||
Expected: True
|
||||
Actual: False",
|
||||
"path": "DotnetTests.XUnitTests/CalculatorTests.cs",
|
||||
},
|
||||
"name": "Should be even number(i: 3)",
|
||||
"result": "failed",
|
||||
"time": 0.6537000000000001,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
|
|
@ -72,7 +116,7 @@ Actual: 2",
|
|||
"error": undefined,
|
||||
"name": "Timeout_Test",
|
||||
"result": "success",
|
||||
"time": 102.2821,
|
||||
"time": 108.42580000000001,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
@ -81,7 +125,7 @@ Actual: 2",
|
|||
"totalTime": undefined,
|
||||
},
|
||||
],
|
||||
"totalTime": 1061,
|
||||
"totalTime": 1116,
|
||||
}
|
||||
`;
|
||||
|
||||
|
|
@ -240,25 +284,25 @@ TestRunResult {
|
|||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "WhenPreValidationReturnsFalse_ResultReturnToUserImmediatly_Validate",
|
||||
"name": "WhenPreValidationReturnsFalse_ResultReturnToUserImmediatly_Validate(preValidationResult: )",
|
||||
"result": "success",
|
||||
"time": 0.9423,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "WhenPreValidationReturnsFalse_ResultReturnToUserImmediatly_Validate",
|
||||
"name": "WhenPreValidationReturnsFalse_ResultReturnToUserImmediatly_Validate(preValidationResult: AnotherInt Test Message)",
|
||||
"result": "success",
|
||||
"time": 0.0628,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "WhenPreValidationReturnsFalse_ResultReturnToUserImmediatly_ValidateAsync",
|
||||
"name": "WhenPreValidationReturnsFalse_ResultReturnToUserImmediatly_ValidateAsync(preValidationResult: )",
|
||||
"result": "success",
|
||||
"time": 0.9155,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "WhenPreValidationReturnsFalse_ResultReturnToUserImmediatly_ValidateAsync",
|
||||
"name": "WhenPreValidationReturnsFalse_ResultReturnToUserImmediatly_ValidateAsync(preValidationResult: AnotherInt Test Message)",
|
||||
"result": "success",
|
||||
"time": 0.057800000000000004,
|
||||
},
|
||||
|
|
@ -1461,219 +1505,219 @@ TestRunResult {
|
|||
"tests": Array [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Fails_email_validation_aspnetcore_compatible",
|
||||
"name": "Fails_email_validation_aspnetcore_compatible(email: \\" \\\\r \\\\t \\\\n\\")",
|
||||
"result": "success",
|
||||
"time": 0.0247,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Fails_email_validation_aspnetcore_compatible",
|
||||
"result": "success",
|
||||
"time": 0.0234,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Fails_email_validation_aspnetcore_compatible",
|
||||
"result": "success",
|
||||
"time": 0.0248,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Fails_email_validation_aspnetcore_compatible",
|
||||
"result": "success",
|
||||
"time": 0.022699999999999998,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Fails_email_validation_aspnetcore_compatible",
|
||||
"result": "success",
|
||||
"time": 0.2222,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Fails_email_validation_aspnetcore_compatible",
|
||||
"result": "success",
|
||||
"time": 0.022699999999999998,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Fails_email_validation_aspnetcore_compatible",
|
||||
"result": "success",
|
||||
"time": 0.023,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Fails_email_validation_aspnetcore_compatible",
|
||||
"name": "Fails_email_validation_aspnetcore_compatible(email: \\"\\")",
|
||||
"result": "success",
|
||||
"time": 0.0314,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Invalid_email_addressex_regex",
|
||||
"name": "Fails_email_validation_aspnetcore_compatible(email: \\"@someDomain.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0395,
|
||||
"time": 0.0248,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Invalid_email_addressex_regex",
|
||||
"result": "success",
|
||||
"time": 0.0316,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Invalid_email_addressex_regex",
|
||||
"result": "success",
|
||||
"time": 0.0334,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Invalid_email_addressex_regex",
|
||||
"result": "success",
|
||||
"time": 0.3859,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible",
|
||||
"result": "success",
|
||||
"time": 0.0162,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible",
|
||||
"result": "success",
|
||||
"time": 0.2029,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible",
|
||||
"result": "success",
|
||||
"time": 0.0167,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible",
|
||||
"result": "success",
|
||||
"time": 0.0174,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible",
|
||||
"result": "success",
|
||||
"time": 0.0166,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible",
|
||||
"result": "success",
|
||||
"time": 0.0157,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible",
|
||||
"result": "success",
|
||||
"time": 0.0167,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible",
|
||||
"result": "success",
|
||||
"time": 0.0191,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible",
|
||||
"result": "success",
|
||||
"time": 0.0307,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible",
|
||||
"result": "success",
|
||||
"time": 0.0158,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible",
|
||||
"result": "success",
|
||||
"time": 0.0173,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex",
|
||||
"name": "Fails_email_validation_aspnetcore_compatible(email: \\"@someDomain@abc.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0234,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex",
|
||||
"name": "Fails_email_validation_aspnetcore_compatible(email: \\"0\\")",
|
||||
"result": "success",
|
||||
"time": 0.022,
|
||||
"time": 0.2222,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex",
|
||||
"name": "Fails_email_validation_aspnetcore_compatible(email: \\"someName\\")",
|
||||
"result": "success",
|
||||
"time": 0.026,
|
||||
"time": 0.023,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex",
|
||||
"name": "Fails_email_validation_aspnetcore_compatible(email: \\"someName@\\")",
|
||||
"result": "success",
|
||||
"time": 0.4724,
|
||||
"time": 0.022699999999999998,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex",
|
||||
"name": "Fails_email_validation_aspnetcore_compatible(email: \\"someName@a@b.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0244,
|
||||
"time": 0.022699999999999998,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex",
|
||||
"name": "Invalid_email_addressex_regex(email: \\"\\")",
|
||||
"result": "success",
|
||||
"time": 0.3859,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Invalid_email_addressex_regex(email: \\"first.last@test..co.uk\\")",
|
||||
"result": "success",
|
||||
"time": 0.0334,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Invalid_email_addressex_regex(email: \\"testperso\\")",
|
||||
"result": "success",
|
||||
"time": 0.0395,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Invalid_email_addressex_regex(email: \\"thisisaverylongstringcodeplex.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0316,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible(email: \\" @someDomain.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0173,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible(email: \\"!#$%&'*+-/=?^_\`|~@someDomain.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0174,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible(email: \\"\\\\\\"firstName.lastName\\\\\\"@someDomain.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0167,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible(email: \\"1234@someDomain.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0307,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible(email: \\"firstName.lastName@someDomain.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0191,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible(email: \\"someName@1234.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0158,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible(email: \\"someName@some_domain.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0162,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible(email: \\"someName@some~domain.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0166,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible(email: \\"someName@someDomain.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0167,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible(email: \\"someName@someDomain.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0157,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_aspnetcore_compatible(email: null)",
|
||||
"result": "success",
|
||||
"time": 0.2029,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex(email: \\"__somename@example.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0219,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex",
|
||||
"name": "Valid_email_addresses_regex(email: \\"!def!xyz%abc@example.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.022,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex(email: \\"\\\\\\"Abc@def\\\\\\"@example.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0245,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex",
|
||||
"name": "Valid_email_addresses_regex(email: \\"\\\\\\"Abc\\\\\\\\@def\\\\\\"@example.com\\")",
|
||||
"result": "success",
|
||||
"time": 16.3384,
|
||||
"time": 0.026,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex",
|
||||
"result": "success",
|
||||
"time": 0.022600000000000002,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex",
|
||||
"result": "success",
|
||||
"time": 0.0805,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex",
|
||||
"name": "Valid_email_addresses_regex(email: \\"\\\\\\"Fred Bloggs\\\\\\"@example.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0258,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex",
|
||||
"name": "Valid_email_addresses_regex(email: \\"\\\\\\"Joe\\\\\\\\Blow\\\\\\"@example.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0244,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex(email: \\"$A12345@example.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.022600000000000002,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex(email: \\"customer/department=shipping@example.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0234,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex(email: \\"first.last@test.co.uk\\")",
|
||||
"result": "success",
|
||||
"time": 0.022600000000000002,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex(email: \\"testperson@gmail.com\\")",
|
||||
"result": "success",
|
||||
"time": 16.3384,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex(email: \\"TestPerson@gmail.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0805,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex(email: \\"testperson+label@gmail.com\\")",
|
||||
"result": "success",
|
||||
"time": 0.0275,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Valid_email_addresses_regex",
|
||||
"name": "Valid_email_addresses_regex(email: null)",
|
||||
"result": "success",
|
||||
"time": 0.022600000000000002,
|
||||
"time": 0.4724,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
@ -2792,19 +2836,19 @@ TestRunResult {
|
|||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Gets_translation_for_bosnian_latin_culture",
|
||||
"name": "Gets_translation_for_bosnian_latin_culture(cultureName: \\"bs-Latn-BA\\")",
|
||||
"result": "success",
|
||||
"time": 0.011,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Gets_translation_for_bosnian_latin_culture",
|
||||
"name": "Gets_translation_for_bosnian_latin_culture(cultureName: \\"bs-Latn\\")",
|
||||
"result": "success",
|
||||
"time": 0.0627,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Gets_translation_for_bosnian_latin_culture",
|
||||
"name": "Gets_translation_for_bosnian_latin_culture(cultureName: \\"bs\\")",
|
||||
"result": "success",
|
||||
"time": 0.661,
|
||||
},
|
||||
|
|
@ -2822,21 +2866,21 @@ TestRunResult {
|
|||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Gets_translation_for_serbian_culture",
|
||||
"name": "Gets_translation_for_serbian_culture(cultureName: \\"sr-Latn-RS\\")",
|
||||
"result": "success",
|
||||
"time": 0.4456,
|
||||
"time": 0.01,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Gets_translation_for_serbian_culture",
|
||||
"name": "Gets_translation_for_serbian_culture(cultureName: \\"sr-Latn\\")",
|
||||
"result": "success",
|
||||
"time": 0.0484,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Gets_translation_for_serbian_culture",
|
||||
"name": "Gets_translation_for_serbian_culture(cultureName: \\"sr\\")",
|
||||
"result": "success",
|
||||
"time": 0.01,
|
||||
"time": 0.4456,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
|
|
@ -5309,15 +5353,15 @@ TestRunResult {
|
|||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "ShouldHaveValidationError_should_not_throw_when_there_are_validation_errors__WhenAsyn_is_used",
|
||||
"name": "ShouldHaveValidationError_should_not_throw_when_there_are_validation_errors__WhenAsyn_is_used(age: 42, cardNumber: \\"\\")",
|
||||
"result": "success",
|
||||
"time": 0.746,
|
||||
"time": 0.6089,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "ShouldHaveValidationError_should_not_throw_when_there_are_validation_errors__WhenAsyn_is_used",
|
||||
"name": "ShouldHaveValidationError_should_not_throw_when_there_are_validation_errors__WhenAsyn_is_used(age: 42, cardNumber: null)",
|
||||
"result": "success",
|
||||
"time": 0.6089,
|
||||
"time": 0.746,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
|
|
@ -5345,28 +5389,28 @@ TestRunResult {
|
|||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_Is_Used",
|
||||
"name": "ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_Is_Used(age: 17, cardNumber: \\"\\")",
|
||||
"result": "success",
|
||||
"time": 1.7937,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_Is_Used",
|
||||
"name": "ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_Is_Used(age: 17, cardNumber: \\"cardNumber\\")",
|
||||
"result": "success",
|
||||
"time": 0.6412,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_Is_Used(age: 17, cardNumber: null)",
|
||||
"result": "success",
|
||||
"time": 0.5484,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_Is_Used",
|
||||
"name": "ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_Is_Used(age: 42, cardNumber: \\"cardNumber\\")",
|
||||
"result": "success",
|
||||
"time": 0.8127,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_Is_Used",
|
||||
"result": "success",
|
||||
"time": 0.6412,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "ShouldHaveValidationError_should_throw_when_there_are_not_validation_errors_ruleforeach",
|
||||
|
|
@ -5477,37 +5521,37 @@ TestRunResult {
|
|||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "ShouldNotHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_is_used",
|
||||
"name": "ShouldNotHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_is_used(age: 17, cardNumber: \\"\\")",
|
||||
"result": "success",
|
||||
"time": 0.5719,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "ShouldNotHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_is_used",
|
||||
"result": "success",
|
||||
"time": 0.897,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "ShouldNotHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_is_used",
|
||||
"name": "ShouldNotHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_is_used(age: 17, cardNumber: \\"cardNumber\\")",
|
||||
"result": "success",
|
||||
"time": 0.5838,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "ShouldNotHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_is_used",
|
||||
"name": "ShouldNotHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_is_used(age: 17, cardNumber: null)",
|
||||
"result": "success",
|
||||
"time": 0.5804,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "ShouldNotHaveValidationError_should_throw_when_there_are_validation_errors__WhenAsyn_is_used",
|
||||
"name": "ShouldNotHaveValidationError_should_throw_when_there_are_not_validation_errors__WhenAsyn_is_used(age: 42, cardNumber: \\"cardNumber\\")",
|
||||
"result": "success",
|
||||
"time": 0.897,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "ShouldNotHaveValidationError_should_throw_when_there_are_validation_errors__WhenAsyn_is_used(age: 42, cardNumber: \\"\\")",
|
||||
"result": "success",
|
||||
"time": 0.6807,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "ShouldNotHaveValidationError_should_throw_when_there_are_validation_errors__WhenAsyn_is_used",
|
||||
"name": "ShouldNotHaveValidationError_should_throw_when_there_are_validation_errors__WhenAsyn_is_used(age: 42, cardNumber: null)",
|
||||
"result": "success",
|
||||
"time": 0.8635,
|
||||
},
|
||||
|
|
@ -5555,25 +5599,25 @@ TestRunResult {
|
|||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Unexpected_message_check",
|
||||
"name": "Unexpected_message_check(withoutErrMsg: \\"bar\\", errMessages: [\\"bar\\"])",
|
||||
"result": "success",
|
||||
"time": 0.1548,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Unexpected_message_check",
|
||||
"result": "success",
|
||||
"time": 0.3297,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Unexpected_message_check",
|
||||
"name": "Unexpected_message_check(withoutErrMsg: \\"bar\\", errMessages: [\\"foo\\", \\"bar\\"])",
|
||||
"result": "success",
|
||||
"time": 0.1797,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Unexpected_message_check",
|
||||
"name": "Unexpected_message_check(withoutErrMsg: \\"bar\\", errMessages: [\\"foo\\"])",
|
||||
"result": "success",
|
||||
"time": 0.3297,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Unexpected_message_check(withoutErrMsg: \\"bar\\", errMessages: [])",
|
||||
"result": "success",
|
||||
"time": 0.7345999999999999,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,126 +1,184 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TestRun id="b31581d7-9fcd-44c8-94e7-e0dee07cb5f1" name="Michal@DORNY-PC 2020-10-17 21:39:04" runUser="DORNY-PC\Michal" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
|
||||
<Times creation="2020-10-17T21:39:04.3522129+02:00" queuing="2020-10-17T21:39:04.3522142+02:00" start="2020-10-17T21:39:03.3285079+02:00" finish="2020-10-17T21:39:04.3892722+02:00" />
|
||||
<TestSettings name="default" id="4796a3f4-6ab2-4919-aed2-7bd0f59e0405">
|
||||
<Deployment runDeploymentRoot="Michal_DORNY-PC_2020-10-17_21_39_04" />
|
||||
<TestRun id="29afb69d-9a66-49f7-bc93-a537a0db9862" name="Michal@DORNY-PC 2021-04-20 08:31:33" runUser="DORNY-PC\Michal" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
|
||||
<Times creation="2021-04-20T08:31:33.0390097+02:00" queuing="2021-04-20T08:31:33.0390107+02:00" start="2021-04-20T08:31:31.9866971+02:00" finish="2021-04-20T08:31:33.1023832+02:00" />
|
||||
<TestSettings name="default" id="c6a4ef62-df4b-4845-9252-69f55bf26836">
|
||||
<Deployment runDeploymentRoot="Michal_DORNY-PC_2021-04-20_08_31_33" />
|
||||
</TestSettings>
|
||||
<Results>
|
||||
<UnitTestResult executionId="b112f30a-5b23-4fee-bc4e-15212fad3d40" testId="55ef2114-eb39-77d8-4031-3da68d0dc505" testName="DotnetTests.XUnitTests.CalculatorTests.Skipped_Test" computerName="DORNY-PC" duration="00:00:00.0010000" startTime="2020-10-17T21:39:04.2366767+02:00" endTime="2020-10-17T21:39:04.2366838+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="NotExecuted" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="b112f30a-5b23-4fee-bc4e-15212fad3d40">
|
||||
<UnitTestResult executionId="3181d0c8-88ef-42c2-8375-0be2ff86197d" testId="41c1dee7-2d17-4cf3-ae64-fae6fd9f9105" testName="DotnetTests.XUnitTests.CalculatorTests.Timeout_Test" computerName="DORNY-PC" duration="00:00:00.1084258" startTime="2021-04-20T08:31:32.9669698+02:00" endTime="2021-04-20T08:31:32.9669721+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="3181d0c8-88ef-42c2-8375-0be2ff86197d" />
|
||||
<UnitTestResult executionId="b7b68f4a-8e66-408f-965b-23f0073b6ee7" testId="3e8432a2-ff59-c925-c08b-bb7f9ee02dd1" testName="DotnetTests.XUnitTests.CalculatorTests.Passing_Test" computerName="DORNY-PC" duration="00:00:00.0001365" startTime="2021-04-20T08:31:33.0065641+02:00" endTime="2021-04-20T08:31:33.0065647+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="b7b68f4a-8e66-408f-965b-23f0073b6ee7" />
|
||||
<UnitTestResult executionId="79a318be-8f8d-42e4-8d54-58a3a054ef09" testId="c38e1acf-6419-5634-5ac6-0099b3891fe8" testName="Should be even number(i: 3)" computerName="DORNY-PC" duration="00:00:00.0006537" startTime="2021-04-20T08:31:32.9750302+02:00" endTime="2021-04-20T08:31:32.9750321+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Failed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="79a318be-8f8d-42e4-8d54-58a3a054ef09">
|
||||
<Output>
|
||||
<ErrorInfo>
|
||||
<Message>Assert.True() Failure
|
||||
Expected: True
|
||||
Actual: False</Message>
|
||||
<StackTrace> at DotnetTests.XUnitTests.CalculatorTests.Theory_With_Custom_Name(Int32 i) in C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\CalculatorTests.cs:line 67</StackTrace>
|
||||
</ErrorInfo>
|
||||
</Output>
|
||||
</UnitTestResult>
|
||||
<UnitTestResult executionId="9a6bc7d8-3abd-4369-aa02-418530a1bf59" testId="55ef2114-eb39-77d8-4031-3da68d0dc505" testName="DotnetTests.XUnitTests.CalculatorTests.Skipped_Test" computerName="DORNY-PC" duration="00:00:00.0010000" startTime="2021-04-20T08:31:33.0075607+02:00" endTime="2021-04-20T08:31:33.0075624+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="NotExecuted" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="9a6bc7d8-3abd-4369-aa02-418530a1bf59">
|
||||
<Output>
|
||||
<StdOut>Skipped test</StdOut>
|
||||
</Output>
|
||||
</UnitTestResult>
|
||||
<UnitTestResult executionId="0fef32cb-e95a-453c-a925-6edbcc7244b4" testId="3bd3c92f-b8b2-2f41-9211-951100aa2540" testName="DotnetTests.XUnitTests.CalculatorTests.Failing_Test" computerName="DORNY-PC" duration="00:00:00.0032953" startTime="2020-10-17T21:39:04.2341773+02:00" endTime="2020-10-17T21:39:04.2341789+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Failed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="0fef32cb-e95a-453c-a925-6edbcc7244b4">
|
||||
<UnitTestResult executionId="30c568c6-c120-48b0-8ebf-6d852b034bd9" testId="a171b9bb-97df-a0d8-c112-02ea0ea98607" testName="Custom Name" computerName="DORNY-PC" duration="00:00:00.0001371" startTime="2021-04-20T08:31:32.9751544+02:00" endTime="2021-04-20T08:31:32.9751546+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="30c568c6-c120-48b0-8ebf-6d852b034bd9" />
|
||||
<UnitTestResult executionId="623c7fd2-5b76-4a14-b0c8-300678630c3b" testId="d3708bd6-b784-b890-48b3-965f4ac35bc9" testName="Should be even number(i: 2)" computerName="DORNY-PC" duration="00:00:00.0000097" startTime="2021-04-20T08:31:32.9751012+02:00" endTime="2021-04-20T08:31:32.9751014+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="623c7fd2-5b76-4a14-b0c8-300678630c3b" />
|
||||
<UnitTestResult executionId="4cbddbf1-3df5-4098-a6e8-715249d865df" testId="e4d3ab06-acb8-d3f7-0518-e81c04c0108a" testName="DotnetTests.XUnitTests.CalculatorTests.Exception_In_TargetTest" computerName="DORNY-PC" duration="00:00:00.0008377" startTime="2021-04-20T08:31:32.9767893+02:00" endTime="2021-04-20T08:31:32.9767912+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Failed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="4cbddbf1-3df5-4098-a6e8-715249d865df">
|
||||
<Output>
|
||||
<ErrorInfo>
|
||||
<Message>System.DivideByZeroException : Attempted to divide by zero.</Message>
|
||||
<StackTrace> at DotnetTests.Unit.Calculator.Div(Int32 a, Int32 b) in C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.Unit\Calculator.cs:line 9
|
||||
at DotnetTests.XUnitTests.CalculatorTests.Exception_In_TargetTest() in C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\CalculatorTests.cs:line 33</StackTrace>
|
||||
</ErrorInfo>
|
||||
</Output>
|
||||
</UnitTestResult>
|
||||
<UnitTestResult executionId="ef238df8-c951-4e0f-b32b-4bc9162bc031" testId="eda9288a-92d4-85a5-dd8e-96ed8a58af10" testName="DotnetTests.XUnitTests.CalculatorTests.Exception_In_Test" computerName="DORNY-PC" duration="00:00:00.0025175" startTime="2021-04-20T08:31:32.8646547+02:00" endTime="2021-04-20T08:31:32.8647418+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Failed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="ef238df8-c951-4e0f-b32b-4bc9162bc031">
|
||||
<Output>
|
||||
<ErrorInfo>
|
||||
<Message>System.Exception : Test</Message>
|
||||
<StackTrace> at DotnetTests.XUnitTests.CalculatorTests.Exception_In_Test() in C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\CalculatorTests.cs:line 39</StackTrace>
|
||||
</ErrorInfo>
|
||||
</Output>
|
||||
</UnitTestResult>
|
||||
<UnitTestResult executionId="705f6132-7d4c-48c4-afdc-cadb427a4255" testId="3bd3c92f-b8b2-2f41-9211-951100aa2540" testName="DotnetTests.XUnitTests.CalculatorTests.Failing_Test" computerName="DORNY-PC" duration="00:00:00.0038697" startTime="2021-04-20T08:31:32.9742636+02:00" endTime="2021-04-20T08:31:32.9742658+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Failed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="705f6132-7d4c-48c4-afdc-cadb427a4255">
|
||||
<Output>
|
||||
<ErrorInfo>
|
||||
<Message>Assert.Equal() Failure
|
||||
Expected: 3
|
||||
Actual: 2</Message>
|
||||
<StackTrace> at DotnetTests.XUnitTests.CalculatorTests.Failing_Test() in C:\Users\Michal\Workspace\dorny\test-check\reports\dotnet\DotnetTests.XUnitTests\CalculatorTests.cs:line 27</StackTrace>
|
||||
<StackTrace> at DotnetTests.XUnitTests.CalculatorTests.Failing_Test() in C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\CalculatorTests.cs:line 27</StackTrace>
|
||||
</ErrorInfo>
|
||||
</Output>
|
||||
</UnitTestResult>
|
||||
<UnitTestResult executionId="005348f3-5302-483e-821d-ee3469d212ea" testId="41c1dee7-2d17-4cf3-ae64-fae6fd9f9105" testName="DotnetTests.XUnitTests.CalculatorTests.Timeout_Test" computerName="DORNY-PC" duration="00:00:00.1022821" startTime="2020-10-17T21:39:04.2285304+02:00" endTime="2020-10-17T21:39:04.2285320+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="005348f3-5302-483e-821d-ee3469d212ea" />
|
||||
<UnitTestResult executionId="4cb3c100-d0bb-4d88-b017-b0b4da2fc2a3" testId="a171b9bb-97df-a0d8-c112-02ea0ea98607" testName="Custom Name" computerName="DORNY-PC" duration="00:00:00.0001030" startTime="2020-10-17T21:39:04.2342433+02:00" endTime="2020-10-17T21:39:04.2342435+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="4cb3c100-d0bb-4d88-b017-b0b4da2fc2a3" />
|
||||
<UnitTestResult executionId="baa7bd90-c1ed-4b62-bc41-ae23457aafb5" testId="eda9288a-92d4-85a5-dd8e-96ed8a58af10" testName="DotnetTests.XUnitTests.CalculatorTests.Exception_In_Test" computerName="DORNY-PC" duration="00:00:00.0022728" startTime="2020-10-17T21:39:04.1309244+02:00" endTime="2020-10-17T21:39:04.1309960+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Failed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="baa7bd90-c1ed-4b62-bc41-ae23457aafb5">
|
||||
<UnitTestResult executionId="cf210795-6f94-400f-afc6-a49baadfd249" testId="0980711c-d788-32eb-19b3-1d302a0e8df5" testName="DotnetTests.XUnitTests.CalculatorTests.Is_Even_Number(i: 2)" computerName="DORNY-PC" duration="00:00:00.0000078" startTime="2021-04-20T08:31:32.9775134+02:00" endTime="2021-04-20T08:31:32.9775138+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="cf210795-6f94-400f-afc6-a49baadfd249" />
|
||||
<UnitTestResult executionId="e3d9bb4a-36b1-467f-a851-85bd210301e3" testId="787d63a6-11d7-2fda-3fad-9d980fa5e70d" testName="DotnetTests.XUnitTests.CalculatorTests.Is_Even_Number(i: 3)" computerName="DORNY-PC" duration="00:00:00.0004141" startTime="2021-04-20T08:31:32.9773980+02:00" endTime="2021-04-20T08:31:32.9773999+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Failed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="e3d9bb4a-36b1-467f-a851-85bd210301e3">
|
||||
<Output>
|
||||
<ErrorInfo>
|
||||
<Message>System.Exception : Test</Message>
|
||||
<StackTrace> at DotnetTests.XUnitTests.CalculatorTests.Exception_In_Test() in C:\Users\Michal\Workspace\dorny\test-check\reports\dotnet\DotnetTests.XUnitTests\CalculatorTests.cs:line 39</StackTrace>
|
||||
<Message>Assert.True() Failure
|
||||
Expected: True
|
||||
Actual: False</Message>
|
||||
<StackTrace> at DotnetTests.XUnitTests.CalculatorTests.Is_Even_Number(Int32 i) in C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\CalculatorTests.cs:line 59</StackTrace>
|
||||
</ErrorInfo>
|
||||
</Output>
|
||||
</UnitTestResult>
|
||||
<UnitTestResult executionId="12a3ab6a-64d8-4001-94ff-cc563228d7ba" testId="e4d3ab06-acb8-d3f7-0518-e81c04c0108a" testName="DotnetTests.XUnitTests.CalculatorTests.Exception_In_TargetTest" computerName="DORNY-PC" duration="00:00:00.0004975" startTime="2020-10-17T21:39:04.2354587+02:00" endTime="2020-10-17T21:39:04.2354600+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Failed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="12a3ab6a-64d8-4001-94ff-cc563228d7ba">
|
||||
<Output>
|
||||
<ErrorInfo>
|
||||
<Message>System.DivideByZeroException : Attempted to divide by zero.</Message>
|
||||
<StackTrace> at DotnetTests.Unit.Calculator.Div(Int32 a, Int32 b) in C:\Users\Michal\Workspace\dorny\test-check\reports\dotnet\DotnetTests.Unit\Calculator.cs:line 9
|
||||
at DotnetTests.XUnitTests.CalculatorTests.Exception_In_TargetTest() in C:\Users\Michal\Workspace\dorny\test-check\reports\dotnet\DotnetTests.XUnitTests\CalculatorTests.cs:line 33</StackTrace>
|
||||
</ErrorInfo>
|
||||
</Output>
|
||||
</UnitTestResult>
|
||||
<UnitTestResult executionId="e29e1ba0-ebb3-45cd-aa1a-f60f23a6d509" testId="3e8432a2-ff59-c925-c08b-bb7f9ee02dd1" testName="DotnetTests.XUnitTests.CalculatorTests.Passing_Test" computerName="DORNY-PC" duration="00:00:00.0001254" startTime="2020-10-17T21:39:04.2355437+02:00" endTime="2020-10-17T21:39:04.2355439+02:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="e29e1ba0-ebb3-45cd-aa1a-f60f23a6d509" />
|
||||
</Results>
|
||||
<TestDefinitions>
|
||||
<UnitTest name="DotnetTests.XUnitTests.CalculatorTests.Failing_Test" storage="c:\users\michal\workspace\dorny\test-check\reports\dotnet\dotnettests.xunittests\bin\debug\netcoreapp3.1\dotnettests.xunittests.dll" id="3bd3c92f-b8b2-2f41-9211-951100aa2540">
|
||||
<Execution id="0fef32cb-e95a-453c-a925-6edbcc7244b4" />
|
||||
<TestMethod codeBase="C:\Users\Michal\Workspace\dorny\test-check\reports\dotnet\DotnetTests.XUnitTests\bin\Debug\netcoreapp3.1\DotnetTests.XUnitTests.dll" adapterTypeName="executor://xunit/VsTestRunner2/netcoreapp" className="DotnetTests.XUnitTests.CalculatorTests" name="Failing_Test" />
|
||||
<UnitTest name="DotnetTests.XUnitTests.CalculatorTests.Exception_In_TargetTest" storage="c:\users\michal\workspace\dorny\test-reporter\reports\dotnet\dotnettests.xunittests\bin\debug\netcoreapp3.1\dotnettests.xunittests.dll" id="e4d3ab06-acb8-d3f7-0518-e81c04c0108a">
|
||||
<Execution id="4cbddbf1-3df5-4098-a6e8-715249d865df" />
|
||||
<TestMethod codeBase="C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\bin\Debug\netcoreapp3.1\DotnetTests.XUnitTests.dll" adapterTypeName="executor://xunit/VsTestRunner2/netcoreapp" className="DotnetTests.XUnitTests.CalculatorTests" name="Exception_In_TargetTest" />
|
||||
</UnitTest>
|
||||
<UnitTest name="DotnetTests.XUnitTests.CalculatorTests.Exception_In_Test" storage="c:\users\michal\workspace\dorny\test-check\reports\dotnet\dotnettests.xunittests\bin\debug\netcoreapp3.1\dotnettests.xunittests.dll" id="eda9288a-92d4-85a5-dd8e-96ed8a58af10">
|
||||
<Execution id="baa7bd90-c1ed-4b62-bc41-ae23457aafb5" />
|
||||
<TestMethod codeBase="C:\Users\Michal\Workspace\dorny\test-check\reports\dotnet\DotnetTests.XUnitTests\bin\Debug\netcoreapp3.1\DotnetTests.XUnitTests.dll" adapterTypeName="executor://xunit/VsTestRunner2/netcoreapp" className="DotnetTests.XUnitTests.CalculatorTests" name="Exception_In_Test" />
|
||||
<UnitTest name="Should be even number(i: 3)" storage="c:\users\michal\workspace\dorny\test-reporter\reports\dotnet\dotnettests.xunittests\bin\debug\netcoreapp3.1\dotnettests.xunittests.dll" id="c38e1acf-6419-5634-5ac6-0099b3891fe8">
|
||||
<Execution id="79a318be-8f8d-42e4-8d54-58a3a054ef09" />
|
||||
<TestMethod codeBase="C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\bin\Debug\netcoreapp3.1\DotnetTests.XUnitTests.dll" adapterTypeName="executor://xunit/VsTestRunner2/netcoreapp" className="DotnetTests.XUnitTests.CalculatorTests" name="Theory_With_Custom_Name" />
|
||||
</UnitTest>
|
||||
<UnitTest name="DotnetTests.XUnitTests.CalculatorTests.Skipped_Test" storage="c:\users\michal\workspace\dorny\test-check\reports\dotnet\dotnettests.xunittests\bin\debug\netcoreapp3.1\dotnettests.xunittests.dll" id="55ef2114-eb39-77d8-4031-3da68d0dc505">
|
||||
<Execution id="b112f30a-5b23-4fee-bc4e-15212fad3d40" />
|
||||
<TestMethod codeBase="C:\Users\Michal\Workspace\dorny\test-check\reports\dotnet\DotnetTests.XUnitTests\bin\Debug\netcoreapp3.1\DotnetTests.XUnitTests.dll" adapterTypeName="executor://xunit/VsTestRunner2/netcoreapp" className="DotnetTests.XUnitTests.CalculatorTests" name="Skipped_Test" />
|
||||
<UnitTest name="DotnetTests.XUnitTests.CalculatorTests.Failing_Test" storage="c:\users\michal\workspace\dorny\test-reporter\reports\dotnet\dotnettests.xunittests\bin\debug\netcoreapp3.1\dotnettests.xunittests.dll" id="3bd3c92f-b8b2-2f41-9211-951100aa2540">
|
||||
<Execution id="705f6132-7d4c-48c4-afdc-cadb427a4255" />
|
||||
<TestMethod codeBase="C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\bin\Debug\netcoreapp3.1\DotnetTests.XUnitTests.dll" adapterTypeName="executor://xunit/VsTestRunner2/netcoreapp" className="DotnetTests.XUnitTests.CalculatorTests" name="Failing_Test" />
|
||||
</UnitTest>
|
||||
<UnitTest name="Custom Name" storage="c:\users\michal\workspace\dorny\test-check\reports\dotnet\dotnettests.xunittests\bin\debug\netcoreapp3.1\dotnettests.xunittests.dll" id="a171b9bb-97df-a0d8-c112-02ea0ea98607">
|
||||
<Execution id="4cb3c100-d0bb-4d88-b017-b0b4da2fc2a3" />
|
||||
<TestMethod codeBase="C:\Users\Michal\Workspace\dorny\test-check\reports\dotnet\DotnetTests.XUnitTests\bin\Debug\netcoreapp3.1\DotnetTests.XUnitTests.dll" adapterTypeName="executor://xunit/VsTestRunner2/netcoreapp" className="DotnetTests.XUnitTests.CalculatorTests" name="Passing_Test_With_Name" />
|
||||
<UnitTest name="DotnetTests.XUnitTests.CalculatorTests.Exception_In_Test" storage="c:\users\michal\workspace\dorny\test-reporter\reports\dotnet\dotnettests.xunittests\bin\debug\netcoreapp3.1\dotnettests.xunittests.dll" id="eda9288a-92d4-85a5-dd8e-96ed8a58af10">
|
||||
<Execution id="ef238df8-c951-4e0f-b32b-4bc9162bc031" />
|
||||
<TestMethod codeBase="C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\bin\Debug\netcoreapp3.1\DotnetTests.XUnitTests.dll" adapterTypeName="executor://xunit/VsTestRunner2/netcoreapp" className="DotnetTests.XUnitTests.CalculatorTests" name="Exception_In_Test" />
|
||||
</UnitTest>
|
||||
<UnitTest name="DotnetTests.XUnitTests.CalculatorTests.Passing_Test" storage="c:\users\michal\workspace\dorny\test-check\reports\dotnet\dotnettests.xunittests\bin\debug\netcoreapp3.1\dotnettests.xunittests.dll" id="3e8432a2-ff59-c925-c08b-bb7f9ee02dd1">
|
||||
<Execution id="e29e1ba0-ebb3-45cd-aa1a-f60f23a6d509" />
|
||||
<TestMethod codeBase="C:\Users\Michal\Workspace\dorny\test-check\reports\dotnet\DotnetTests.XUnitTests\bin\Debug\netcoreapp3.1\DotnetTests.XUnitTests.dll" adapterTypeName="executor://xunit/VsTestRunner2/netcoreapp" className="DotnetTests.XUnitTests.CalculatorTests" name="Passing_Test" />
|
||||
<UnitTest name="DotnetTests.XUnitTests.CalculatorTests.Skipped_Test" storage="c:\users\michal\workspace\dorny\test-reporter\reports\dotnet\dotnettests.xunittests\bin\debug\netcoreapp3.1\dotnettests.xunittests.dll" id="55ef2114-eb39-77d8-4031-3da68d0dc505">
|
||||
<Execution id="9a6bc7d8-3abd-4369-aa02-418530a1bf59" />
|
||||
<TestMethod codeBase="C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\bin\Debug\netcoreapp3.1\DotnetTests.XUnitTests.dll" adapterTypeName="executor://xunit/VsTestRunner2/netcoreapp" className="DotnetTests.XUnitTests.CalculatorTests" name="Skipped_Test" />
|
||||
</UnitTest>
|
||||
<UnitTest name="DotnetTests.XUnitTests.CalculatorTests.Timeout_Test" storage="c:\users\michal\workspace\dorny\test-check\reports\dotnet\dotnettests.xunittests\bin\debug\netcoreapp3.1\dotnettests.xunittests.dll" id="41c1dee7-2d17-4cf3-ae64-fae6fd9f9105">
|
||||
<Execution id="005348f3-5302-483e-821d-ee3469d212ea" />
|
||||
<TestMethod codeBase="C:\Users\Michal\Workspace\dorny\test-check\reports\dotnet\DotnetTests.XUnitTests\bin\Debug\netcoreapp3.1\DotnetTests.XUnitTests.dll" adapterTypeName="executor://xunit/VsTestRunner2/netcoreapp" className="DotnetTests.XUnitTests.CalculatorTests" name="Timeout_Test" />
|
||||
<UnitTest name="DotnetTests.XUnitTests.CalculatorTests.Passing_Test" storage="c:\users\michal\workspace\dorny\test-reporter\reports\dotnet\dotnettests.xunittests\bin\debug\netcoreapp3.1\dotnettests.xunittests.dll" id="3e8432a2-ff59-c925-c08b-bb7f9ee02dd1">
|
||||
<Execution id="b7b68f4a-8e66-408f-965b-23f0073b6ee7" />
|
||||
<TestMethod codeBase="C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\bin\Debug\netcoreapp3.1\DotnetTests.XUnitTests.dll" adapterTypeName="executor://xunit/VsTestRunner2/netcoreapp" className="DotnetTests.XUnitTests.CalculatorTests" name="Passing_Test" />
|
||||
</UnitTest>
|
||||
<UnitTest name="DotnetTests.XUnitTests.CalculatorTests.Exception_In_TargetTest" storage="c:\users\michal\workspace\dorny\test-check\reports\dotnet\dotnettests.xunittests\bin\debug\netcoreapp3.1\dotnettests.xunittests.dll" id="e4d3ab06-acb8-d3f7-0518-e81c04c0108a">
|
||||
<Execution id="12a3ab6a-64d8-4001-94ff-cc563228d7ba" />
|
||||
<TestMethod codeBase="C:\Users\Michal\Workspace\dorny\test-check\reports\dotnet\DotnetTests.XUnitTests\bin\Debug\netcoreapp3.1\DotnetTests.XUnitTests.dll" adapterTypeName="executor://xunit/VsTestRunner2/netcoreapp" className="DotnetTests.XUnitTests.CalculatorTests" name="Exception_In_TargetTest" />
|
||||
<UnitTest name="DotnetTests.XUnitTests.CalculatorTests.Is_Even_Number(i: 2)" storage="c:\users\michal\workspace\dorny\test-reporter\reports\dotnet\dotnettests.xunittests\bin\debug\netcoreapp3.1\dotnettests.xunittests.dll" id="0980711c-d788-32eb-19b3-1d302a0e8df5">
|
||||
<Execution id="cf210795-6f94-400f-afc6-a49baadfd249" />
|
||||
<TestMethod codeBase="C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\bin\Debug\netcoreapp3.1\DotnetTests.XUnitTests.dll" adapterTypeName="executor://xunit/VsTestRunner2/netcoreapp" className="DotnetTests.XUnitTests.CalculatorTests" name="Is_Even_Number" />
|
||||
</UnitTest>
|
||||
<UnitTest name="Custom Name" storage="c:\users\michal\workspace\dorny\test-reporter\reports\dotnet\dotnettests.xunittests\bin\debug\netcoreapp3.1\dotnettests.xunittests.dll" id="a171b9bb-97df-a0d8-c112-02ea0ea98607">
|
||||
<Execution id="30c568c6-c120-48b0-8ebf-6d852b034bd9" />
|
||||
<TestMethod codeBase="C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\bin\Debug\netcoreapp3.1\DotnetTests.XUnitTests.dll" adapterTypeName="executor://xunit/VsTestRunner2/netcoreapp" className="DotnetTests.XUnitTests.CalculatorTests" name="Passing_Test_With_Name" />
|
||||
</UnitTest>
|
||||
<UnitTest name="Should be even number(i: 2)" storage="c:\users\michal\workspace\dorny\test-reporter\reports\dotnet\dotnettests.xunittests\bin\debug\netcoreapp3.1\dotnettests.xunittests.dll" id="d3708bd6-b784-b890-48b3-965f4ac35bc9">
|
||||
<Execution id="623c7fd2-5b76-4a14-b0c8-300678630c3b" />
|
||||
<TestMethod codeBase="C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\bin\Debug\netcoreapp3.1\DotnetTests.XUnitTests.dll" adapterTypeName="executor://xunit/VsTestRunner2/netcoreapp" className="DotnetTests.XUnitTests.CalculatorTests" name="Theory_With_Custom_Name" />
|
||||
</UnitTest>
|
||||
<UnitTest name="DotnetTests.XUnitTests.CalculatorTests.Timeout_Test" storage="c:\users\michal\workspace\dorny\test-reporter\reports\dotnet\dotnettests.xunittests\bin\debug\netcoreapp3.1\dotnettests.xunittests.dll" id="41c1dee7-2d17-4cf3-ae64-fae6fd9f9105">
|
||||
<Execution id="3181d0c8-88ef-42c2-8375-0be2ff86197d" />
|
||||
<TestMethod codeBase="C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\bin\Debug\netcoreapp3.1\DotnetTests.XUnitTests.dll" adapterTypeName="executor://xunit/VsTestRunner2/netcoreapp" className="DotnetTests.XUnitTests.CalculatorTests" name="Timeout_Test" />
|
||||
</UnitTest>
|
||||
<UnitTest name="DotnetTests.XUnitTests.CalculatorTests.Is_Even_Number(i: 3)" storage="c:\users\michal\workspace\dorny\test-reporter\reports\dotnet\dotnettests.xunittests\bin\debug\netcoreapp3.1\dotnettests.xunittests.dll" id="787d63a6-11d7-2fda-3fad-9d980fa5e70d">
|
||||
<Execution id="e3d9bb4a-36b1-467f-a851-85bd210301e3" />
|
||||
<TestMethod codeBase="C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\bin\Debug\netcoreapp3.1\DotnetTests.XUnitTests.dll" adapterTypeName="executor://xunit/VsTestRunner2/netcoreapp" className="DotnetTests.XUnitTests.CalculatorTests" name="Is_Even_Number" />
|
||||
</UnitTest>
|
||||
</TestDefinitions>
|
||||
<TestEntries>
|
||||
<TestEntry testId="55ef2114-eb39-77d8-4031-3da68d0dc505" executionId="b112f30a-5b23-4fee-bc4e-15212fad3d40" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="3bd3c92f-b8b2-2f41-9211-951100aa2540" executionId="0fef32cb-e95a-453c-a925-6edbcc7244b4" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="41c1dee7-2d17-4cf3-ae64-fae6fd9f9105" executionId="005348f3-5302-483e-821d-ee3469d212ea" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="a171b9bb-97df-a0d8-c112-02ea0ea98607" executionId="4cb3c100-d0bb-4d88-b017-b0b4da2fc2a3" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="eda9288a-92d4-85a5-dd8e-96ed8a58af10" executionId="baa7bd90-c1ed-4b62-bc41-ae23457aafb5" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="e4d3ab06-acb8-d3f7-0518-e81c04c0108a" executionId="12a3ab6a-64d8-4001-94ff-cc563228d7ba" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="3e8432a2-ff59-c925-c08b-bb7f9ee02dd1" executionId="e29e1ba0-ebb3-45cd-aa1a-f60f23a6d509" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="41c1dee7-2d17-4cf3-ae64-fae6fd9f9105" executionId="3181d0c8-88ef-42c2-8375-0be2ff86197d" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="3e8432a2-ff59-c925-c08b-bb7f9ee02dd1" executionId="b7b68f4a-8e66-408f-965b-23f0073b6ee7" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="c38e1acf-6419-5634-5ac6-0099b3891fe8" executionId="79a318be-8f8d-42e4-8d54-58a3a054ef09" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="55ef2114-eb39-77d8-4031-3da68d0dc505" executionId="9a6bc7d8-3abd-4369-aa02-418530a1bf59" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="a171b9bb-97df-a0d8-c112-02ea0ea98607" executionId="30c568c6-c120-48b0-8ebf-6d852b034bd9" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="d3708bd6-b784-b890-48b3-965f4ac35bc9" executionId="623c7fd2-5b76-4a14-b0c8-300678630c3b" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="e4d3ab06-acb8-d3f7-0518-e81c04c0108a" executionId="4cbddbf1-3df5-4098-a6e8-715249d865df" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="eda9288a-92d4-85a5-dd8e-96ed8a58af10" executionId="ef238df8-c951-4e0f-b32b-4bc9162bc031" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="3bd3c92f-b8b2-2f41-9211-951100aa2540" executionId="705f6132-7d4c-48c4-afdc-cadb427a4255" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="0980711c-d788-32eb-19b3-1d302a0e8df5" executionId="cf210795-6f94-400f-afc6-a49baadfd249" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestEntry testId="787d63a6-11d7-2fda-3fad-9d980fa5e70d" executionId="e3d9bb4a-36b1-467f-a851-85bd210301e3" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
</TestEntries>
|
||||
<TestLists>
|
||||
<TestList name="Results Not in a List" id="8c84fa94-04c1-424b-9868-57a2d4851a1d" />
|
||||
<TestList name="All Loaded Results" id="19431567-8539-422a-85d7-44ee4e166bda" />
|
||||
</TestLists>
|
||||
<ResultSummary outcome="Failed">
|
||||
<Counters total="7" executed="6" passed="3" failed="3" error="0" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0" inProgress="0" pending="0" />
|
||||
<Counters total="11" executed="10" passed="5" failed="5" error="0" timeout="0" aborted="0" inconclusive="0" passedButRunAborted="0" notRunnable="0" notExecuted="0" disconnected="0" warning="0" completed="0" inProgress="0" pending="0" />
|
||||
<Output>
|
||||
<StdOut>[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.4.0 (64-bit .NET Core 3.1.9)
|
||||
<StdOut>[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.4.0 (64-bit .NET Core 3.1.14)
|
||||
[xUnit.net 00:00:00.27] Discovering: DotnetTests.XUnitTests
|
||||
[xUnit.net 00:00:00.30] Discovered: DotnetTests.XUnitTests
|
||||
[xUnit.net 00:00:00.30] Starting: DotnetTests.XUnitTests
|
||||
[xUnit.net 00:00:00.37] System.Exception : Test
|
||||
[xUnit.net 00:00:00.37] Stack Trace:
|
||||
[xUnit.net 00:00:00.37] C:\Users\Michal\Workspace\dorny\test-check\reports\dotnet\DotnetTests.XUnitTests\CalculatorTests.cs(39,0): at DotnetTests.XUnitTests.CalculatorTests.Exception_In_Test()
|
||||
[xUnit.net 00:00:00.48] Assert.Equal() Failure
|
||||
[xUnit.net 00:00:00.48] Expected: 3
|
||||
[xUnit.net 00:00:00.48] Actual: 2
|
||||
[xUnit.net 00:00:00.48] Stack Trace:
|
||||
[xUnit.net 00:00:00.48] C:\Users\Michal\Workspace\dorny\test-check\reports\dotnet\DotnetTests.XUnitTests\CalculatorTests.cs(27,0): at DotnetTests.XUnitTests.CalculatorTests.Failing_Test()
|
||||
[xUnit.net 00:00:00.48] System.DivideByZeroException : Attempted to divide by zero.
|
||||
[xUnit.net 00:00:00.48] Stack Trace:
|
||||
[xUnit.net 00:00:00.48] C:\Users\Michal\Workspace\dorny\test-check\reports\dotnet\DotnetTests.Unit\Calculator.cs(9,0): at DotnetTests.Unit.Calculator.Div(Int32 a, Int32 b)
|
||||
[xUnit.net 00:00:00.48] C:\Users\Michal\Workspace\dorny\test-check\reports\dotnet\DotnetTests.XUnitTests\CalculatorTests.cs(33,0): at DotnetTests.XUnitTests.CalculatorTests.Exception_In_TargetTest()
|
||||
[xUnit.net 00:00:00.48] Skipped test
|
||||
[xUnit.net 00:00:00.49] Finished: DotnetTests.XUnitTests
|
||||
[xUnit.net 00:00:00.32] Discovered: DotnetTests.XUnitTests
|
||||
[xUnit.net 00:00:00.32] Starting: DotnetTests.XUnitTests
|
||||
[xUnit.net 00:00:00.39] System.Exception : Test
|
||||
[xUnit.net 00:00:00.39] Stack Trace:
|
||||
[xUnit.net 00:00:00.39] C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\CalculatorTests.cs(39,0): at DotnetTests.XUnitTests.CalculatorTests.Exception_In_Test()
|
||||
[xUnit.net 00:00:00.51] Assert.Equal() Failure
|
||||
[xUnit.net 00:00:00.51] Expected: 3
|
||||
[xUnit.net 00:00:00.51] Actual: 2
|
||||
[xUnit.net 00:00:00.51] Stack Trace:
|
||||
[xUnit.net 00:00:00.51] C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\CalculatorTests.cs(27,0): at DotnetTests.XUnitTests.CalculatorTests.Failing_Test()
|
||||
[xUnit.net 00:00:00.51] Assert.True() Failure
|
||||
[xUnit.net 00:00:00.51] Expected: True
|
||||
[xUnit.net 00:00:00.51] Actual: False
|
||||
[xUnit.net 00:00:00.51] Stack Trace:
|
||||
[xUnit.net 00:00:00.51] C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\CalculatorTests.cs(67,0): at DotnetTests.XUnitTests.CalculatorTests.Theory_With_Custom_Name(Int32 i)
|
||||
[xUnit.net 00:00:00.51] System.DivideByZeroException : Attempted to divide by zero.
|
||||
[xUnit.net 00:00:00.51] Stack Trace:
|
||||
[xUnit.net 00:00:00.51] C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.Unit\Calculator.cs(9,0): at DotnetTests.Unit.Calculator.Div(Int32 a, Int32 b)
|
||||
[xUnit.net 00:00:00.51] C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\CalculatorTests.cs(33,0): at DotnetTests.XUnitTests.CalculatorTests.Exception_In_TargetTest()
|
||||
[xUnit.net 00:00:00.51] Assert.True() Failure
|
||||
[xUnit.net 00:00:00.51] Expected: True
|
||||
[xUnit.net 00:00:00.51] Actual: False
|
||||
[xUnit.net 00:00:00.51] Stack Trace:
|
||||
[xUnit.net 00:00:00.51] C:\Users\Michal\Workspace\dorny\test-reporter\reports\dotnet\DotnetTests.XUnitTests\CalculatorTests.cs(59,0): at DotnetTests.XUnitTests.CalculatorTests.Is_Even_Number(Int32 i)
|
||||
[xUnit.net 00:00:00.54] Skipped test
|
||||
[xUnit.net 00:00:00.54] Finished: DotnetTests.XUnitTests
|
||||
Test 'DotnetTests.XUnitTests.CalculatorTests.Skipped_Test' was skipped in the test run.
|
||||
</StdOut>
|
||||
</Output>
|
||||
<RunInfos>
|
||||
<RunInfo computerName="DORNY-PC" outcome="Error" timestamp="2020-10-17T21:39:04.1284415+02:00">
|
||||
<Text>[xUnit.net 00:00:00.37] DotnetTests.XUnitTests.CalculatorTests.Exception_In_Test [FAIL]</Text>
|
||||
<RunInfo computerName="DORNY-PC" outcome="Error" timestamp="2021-04-20T08:31:32.8608994+02:00">
|
||||
<Text>[xUnit.net 00:00:00.39] DotnetTests.XUnitTests.CalculatorTests.Exception_In_Test [FAIL]</Text>
|
||||
</RunInfo>
|
||||
<RunInfo computerName="DORNY-PC" outcome="Error" timestamp="2020-10-17T21:39:04.2341547+02:00">
|
||||
<Text>[xUnit.net 00:00:00.48] DotnetTests.XUnitTests.CalculatorTests.Failing_Test [FAIL]</Text>
|
||||
<RunInfo computerName="DORNY-PC" outcome="Error" timestamp="2021-04-20T08:31:32.9743695+02:00">
|
||||
<Text>[xUnit.net 00:00:00.51] DotnetTests.XUnitTests.CalculatorTests.Failing_Test [FAIL]</Text>
|
||||
</RunInfo>
|
||||
<RunInfo computerName="DORNY-PC" outcome="Error" timestamp="2020-10-17T21:39:04.2354218+02:00">
|
||||
<Text>[xUnit.net 00:00:00.48] DotnetTests.XUnitTests.CalculatorTests.Exception_In_TargetTest [FAIL]</Text>
|
||||
<RunInfo computerName="DORNY-PC" outcome="Error" timestamp="2021-04-20T08:31:32.9753175+02:00">
|
||||
<Text>[xUnit.net 00:00:00.51] Should be even number(i: 3) [FAIL]</Text>
|
||||
</RunInfo>
|
||||
<RunInfo computerName="DORNY-PC" outcome="Warning" timestamp="2020-10-17T21:39:04.2388123+02:00">
|
||||
<Text>[xUnit.net 00:00:00.48] DotnetTests.XUnitTests.CalculatorTests.Skipped_Test [SKIP]</Text>
|
||||
<RunInfo computerName="DORNY-PC" outcome="Error" timestamp="2021-04-20T08:31:32.9767605+02:00">
|
||||
<Text>[xUnit.net 00:00:00.51] DotnetTests.XUnitTests.CalculatorTests.Exception_In_TargetTest [FAIL]</Text>
|
||||
</RunInfo>
|
||||
<RunInfo computerName="DORNY-PC" outcome="Error" timestamp="2021-04-20T08:31:32.9843677+02:00">
|
||||
<Text>[xUnit.net 00:00:00.51] DotnetTests.XUnitTests.CalculatorTests.Is_Even_Number(i: 3) [FAIL]</Text>
|
||||
</RunInfo>
|
||||
<RunInfo computerName="DORNY-PC" outcome="Warning" timestamp="2021-04-20T08:31:33.1004401+02:00">
|
||||
<Text>[xUnit.net 00:00:00.54] DotnetTests.XUnitTests.CalculatorTests.Skipped_Test [SKIP]</Text>
|
||||
</RunInfo>
|
||||
</RunInfos>
|
||||
</ResultSummary>
|
||||
</TestRun>
|
||||
</TestRun>
|
||||
23
dist/index.js
generated
vendored
23
dist/index.js
generated
vendored
|
|
@ -709,25 +709,30 @@ class DotnetTrxParser {
|
|||
const unitTests = {};
|
||||
for (const td of trx.TestRun.TestDefinitions) {
|
||||
for (const ut of td.UnitTest) {
|
||||
unitTests[ut.$.id] = ut.TestMethod[0];
|
||||
unitTests[ut.$.id] = ut;
|
||||
}
|
||||
}
|
||||
const unitTestsResults = trx.TestRun.Results.flatMap(r => r.UnitTestResult).flatMap(unitTestResult => ({
|
||||
unitTestResult,
|
||||
testMethod: unitTests[unitTestResult.$.testId]
|
||||
const unitTestsResults = trx.TestRun.Results.flatMap(r => r.UnitTestResult).flatMap(result => ({
|
||||
result,
|
||||
test: unitTests[result.$.testId]
|
||||
}));
|
||||
const testClasses = {};
|
||||
for (const r of unitTestsResults) {
|
||||
let tc = testClasses[r.testMethod.$.className];
|
||||
const className = r.test.TestMethod[0].$.className;
|
||||
let tc = testClasses[className];
|
||||
if (tc === undefined) {
|
||||
tc = new TestClass(r.testMethod.$.className);
|
||||
tc = new TestClass(className);
|
||||
testClasses[tc.name] = tc;
|
||||
}
|
||||
const output = r.unitTestResult.Output;
|
||||
const output = r.result.Output;
|
||||
const error = (output === null || output === void 0 ? void 0 : output.length) > 0 && ((_a = output[0].ErrorInfo) === null || _a === void 0 ? void 0 : _a.length) > 0 ? output[0].ErrorInfo[0] : undefined;
|
||||
const durationAttr = r.unitTestResult.$.duration;
|
||||
const durationAttr = r.result.$.duration;
|
||||
const duration = durationAttr ? parse_utils_1.parseNetDuration(durationAttr) : 0;
|
||||
const test = new Test(r.testMethod.$.name, r.unitTestResult.$.outcome, duration, error);
|
||||
const resultTestName = r.result.$.testName;
|
||||
const testName = resultTestName.startsWith(className) && resultTestName[className.length] === '.'
|
||||
? resultTestName.substr(className.length + 1)
|
||||
: resultTestName;
|
||||
const test = new Test(testName, r.result.$.outcome, duration, error);
|
||||
tc.tests.push(test);
|
||||
}
|
||||
const result = Object.values(testClasses);
|
||||
|
|
|
|||
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
|
|
@ -7,7 +7,7 @@ namespace DotnetTests.XUnitTests
|
|||
{
|
||||
public class CalculatorTests
|
||||
{
|
||||
private readonly Calculator _calculator = new Calculator();
|
||||
private readonly Calculator _calculator = new Calculator();
|
||||
|
||||
[Fact]
|
||||
public void Passing_Test()
|
||||
|
|
@ -50,5 +50,21 @@ namespace DotnetTests.XUnitTests
|
|||
{
|
||||
throw new Exception("Test");
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData(2)]
|
||||
[InlineData(3)]
|
||||
public void Is_Even_Number(int i)
|
||||
{
|
||||
Assert.True(i % 2 == 0);
|
||||
}
|
||||
|
||||
[Theory(DisplayName = "Should be even number")]
|
||||
[InlineData(2)]
|
||||
[InlineData(3)]
|
||||
public void Theory_With_Custom_Name(int i)
|
||||
{
|
||||
Assert.True(i % 2 == 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import {parseStringPromise} from 'xml2js'
|
||||
|
||||
import {ErrorInfo, Outcome, TestMethod, TrxReport} from './dotnet-trx-types'
|
||||
import {ErrorInfo, Outcome, TrxReport, UnitTest} from './dotnet-trx-types'
|
||||
import {ParseOptions, TestParser} from '../../test-parser'
|
||||
|
||||
import {getBasePath, normalizeFilePath} from '../../utils/path-utils'
|
||||
|
|
@ -66,31 +66,38 @@ export class DotnetTrxParser implements TestParser {
|
|||
return []
|
||||
}
|
||||
|
||||
const unitTests: {[id: string]: TestMethod} = {}
|
||||
const unitTests: {[id: string]: UnitTest} = {}
|
||||
for (const td of trx.TestRun.TestDefinitions) {
|
||||
for (const ut of td.UnitTest) {
|
||||
unitTests[ut.$.id] = ut.TestMethod[0]
|
||||
unitTests[ut.$.id] = ut
|
||||
}
|
||||
}
|
||||
|
||||
const unitTestsResults = trx.TestRun.Results.flatMap(r => r.UnitTestResult).flatMap(unitTestResult => ({
|
||||
unitTestResult,
|
||||
testMethod: unitTests[unitTestResult.$.testId]
|
||||
const unitTestsResults = trx.TestRun.Results.flatMap(r => r.UnitTestResult).flatMap(result => ({
|
||||
result,
|
||||
test: unitTests[result.$.testId]
|
||||
}))
|
||||
|
||||
const testClasses: {[name: string]: TestClass} = {}
|
||||
for (const r of unitTestsResults) {
|
||||
let tc = testClasses[r.testMethod.$.className]
|
||||
const className = r.test.TestMethod[0].$.className
|
||||
let tc = testClasses[className]
|
||||
if (tc === undefined) {
|
||||
tc = new TestClass(r.testMethod.$.className)
|
||||
tc = new TestClass(className)
|
||||
testClasses[tc.name] = tc
|
||||
}
|
||||
const output = r.unitTestResult.Output
|
||||
const output = r.result.Output
|
||||
const error = output?.length > 0 && output[0].ErrorInfo?.length > 0 ? output[0].ErrorInfo[0] : undefined
|
||||
const durationAttr = r.unitTestResult.$.duration
|
||||
const durationAttr = r.result.$.duration
|
||||
const duration = durationAttr ? parseNetDuration(durationAttr) : 0
|
||||
|
||||
const test = new Test(r.testMethod.$.name, r.unitTestResult.$.outcome, duration, error)
|
||||
const resultTestName = r.result.$.testName
|
||||
const testName =
|
||||
resultTestName.startsWith(className) && resultTestName[className.length] === '.'
|
||||
? resultTestName.substr(className.length + 1)
|
||||
: resultTestName
|
||||
|
||||
const test = new Test(testName, r.result.$.outcome, duration, error)
|
||||
tc.tests.push(test)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue