Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to publish Flutter test results in some common format to display in TFS/VSTS?

Is there a way to publish Flutter test results e.g. in JUnit or XUnit format to be able to parse and analyze them in VSTS/TFS?

I didn't find any way to export Flutter test results in any "organized" way e.g. json or xml file.

like image 955
Dominik Roszkowski Avatar asked Sep 05 '25 03:09

Dominik Roszkowski


1 Answers

In TFS/VSTS the Test: Publish Test Results task supports popular test result formats including JUnit, NUnit 2, NUnit 3, Visual Studio Test (TRX), and xUnit 2. Flutter test result is not supported.

However there is a application junitreport which can be used to convert the results of dart tests to JUnit xml reports. Seems it's compatible with the Flutter platform, you can have a try for that.

like image 103
Andy Li-MSFT Avatar answered Sep 07 '25 21:09

Andy Li-MSFT