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

1,063

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.

Share:
1,063
Dominik Roszkowski
Author by

Dominik Roszkowski

Flutter enthusiast. Find me @orestesgaolin.

Updated on December 06, 2022

Comments

  • Dominik Roszkowski
    Dominik Roszkowski over 1 year

    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.