How can you publish test results output by running tinyembeddedtest tests from the command line? I’ve tried each of the formats available (JUnit, NUnit, xUnit, and VSTest) in the standard tfs build task (Publish Test Results), but none of them do the job.
You can use the /runtests switch of VisualGDB.exe (see this tutorial) to generate an XML file with test results, however we don’t support automatically exporting them to TFS yet. As a temporary workaround, please try converting the output into one of the existing formats (e.g. NUnit) and then using a standard TFS plugin for importing the converted file.
Yes, I’m using /runtests in a command line build step to execute the tests, and I have the XML output. I don’t expect that they would be automatically exported to TFS. But I think the output format should be compatible with one of the formats that the “Publish Test Results” build step understands. https://docs.microsoft.com/en-us/vsts/pipelines/tasks/test/publish-test-results?view=vsts. Better still, a command line parameter to select the test result output schema (the current proprietary one or JUnit for example).
Are there plans to support the standard unit test result formats?
If there are plans do you have a rough timeline?
That would help me decide if I want to put the time into a custom test results converter, as you suggest above.
Sorry for the delay. Based on a quick look, we should be able to support one of the TFS-supported formats relatively easily. We should be able to get you a time estimate in the next week. Would that work for you?