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
Data driven tests for which at least one of the value is "non-formattable" are handled differently than those where all values are "formattable".
When a data driven tests only has "formattable" values, each "row" is considered as a separate test.
When not all values are "formattable", the test method is considered as a single test with multiple results.
All three data driven test methods should be considered as multiple tests, one per "row" of test input.
This is how the ReSharper test runner reports the tests:
Actual behavior
Only the ConvertTo_Formattable test method is considered to be a "real" data driven test method with multiple inputs:
The text was updated successfully, but these errors were encountered:
drieseng
changed the title
Data driven test with "non-formattable" values are considered differently from those with "formattable" values
Data driven test with "non-formattable" values are considered differently than those with "formattable" values
Jan 30, 2025
Describe the bug
Data driven tests for which at least one of the value is "non-formattable" are handled differently than those where all values are "formattable".
When a data driven tests only has "formattable" values, each "row" is considered as a separate test.
When not all values are "formattable", the test method is considered as a single test with multiple results.
Steps To Reproduce
Compile and run the following test class:
Expected behavior
All three data driven test methods should be considered as multiple tests, one per "row" of test input.
This is how the ReSharper test runner reports the tests:
Actual behavior
Only the ConvertTo_Formattable test method is considered to be a "real" data driven test method with multiple inputs:
The text was updated successfully, but these errors were encountered: