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
{{ message }}
Repository navigation
Is there a way to adjust the "Class" property after test execution #848
I am not sure I understand what you're looking for. You can tweak the reported names to a certain degree using the name formats, see Tricks and Traps in the adapter docs, but otherwise we don't control how the test explorer UI displays the tests.
As you know, I use very much the TestCaseSource - which is super great.
What I want now is some way to report more information as just "pass" or "fail" to the test explorer depending on the test outcome / test result. I can't fill it during test discovery.
Any other column is okay, too. It should just be sortable in VS. Is there any way to achieve this?
What I tried already:
I replaced the TestAdapter class and changed the reflection based class property. But the data is not reported/copied back to VS.
I see your point, it's a good idea. And I think we need the changes first in Test Explorer and its interface, then it should be doable from the adapter/framework. I upvoted your devcom issue :-)
Activity
OsirisTerje commentedon Apr 24, 2021
I am not sure I understand what you're looking for. You can tweak the reported names to a certain degree using the name formats, see Tricks and Traps in the adapter docs, but otherwise we don't control how the test explorer UI displays the tests.
bernd5 commentedon Apr 24, 2021
As you know, I use very much the
TestCaseSource- which is super great.What I want now is some way to report more information as just "pass" or "fail" to the test explorer depending on the test outcome / test result. I can't fill it during test discovery.
So I would like to write for example:
Any other column is okay, too. It should just be sortable in VS. Is there any way to achieve this?
What I tried already:
I replaced the TestAdapter class and changed the reflection based class property. But the data is not reported/copied back to VS.
I opened an issue at developercommunity.visualstudio.com, too.
https://developercommunity.visualstudio.com/t/extension-for-test-explorer-error-category/1402579?from=email&viewtype=all#T-ND1405969
OsirisTerje commentedon Apr 24, 2021
I see your point, it's a good idea. And I think we need the changes first in Test Explorer and its interface, then it should be doable from the adapter/framework. I upvoted your devcom issue :-)