# Export Flutter test results to Test Reports

**URL:** <https://discuss.bitrise.io/t/export-flutter-test-results-to-test-reports/9236>\
**Category:** Steps\
**Tags:** testing, test, flutter\
**Created:** [June 10, 2019, 7:51am UTC](https://discuss.bitrise.io/t/export-flutter-test-results-to-test-reports/9236 "2019-06-10T07:51:59Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![dominik.roszkowski](https://avatars.discourse-cdn.com/v4/letter/d/f14d63/32.png) [@dominik.roszkowski](https://discuss.bitrise.io/u/dominik.roszkowski)\
**Post date:** [June 10, 2019, 7:52am UTC](https://discuss.bitrise.io/t/export-flutter-test-results-to-test-reports/9236/1 "2019-06-10T07:52:00Z")

</div>

## Description of the feature request

I’d like to be able to see test results of Flutter tests step in [Test Reports](https://devcenter.bitrise.io/testing/test-reports/) extension.

This can be easily done with `tojunit` tool as described in [my issue here](http://discuss.bitrise.io/t/how-to-export-junit-test-report-to-test-reports-dashboard-flutter/9203/4). With `flutter test --machine | tojunit` command we can get junit test report file that can be parsed by the Test Reports extension. This requries dart to be available in `PATH`.

I’ve already tried to come up with [my own contribution to official Flutter test step](https://github.com/orestesgaolin/bitrise-step-flutter-test/blob/feature/junit/main.go), but I don’t know golang enough to make it work.

## Use case / for what or how I would use it

Well, to see test results from my Flutter apps workflows 😉

---

<div class="post-metadata">

**Author:** ![dominik.roszkowski](https://avatars.discourse-cdn.com/v4/letter/d/f14d63/32.png) [@dominik.roszkowski](https://discuss.bitrise.io/u/dominik.roszkowski)\
**Post date:** [July 2, 2019, 11:50am UTC](https://discuss.bitrise.io/t/export-flutter-test-results-to-test-reports/9236/2 "2019-07-02T11:50:36Z")

</div>

Hi @tamaspapik

---

<div class="post-metadata">

**Author:** ![tamaspapik](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/tamaspapik/32/251_2.png) [@tamaspapik](https://discuss.bitrise.io/u/tamaspapik)\
**Post date:** [July 8, 2019, 8:18am UTC](https://discuss.bitrise.io/t/export-flutter-test-results-to-test-reports/9236/3 "2019-07-08T08:18:58Z")

</div>

Hi @dominik.roszkowski

Thanks for pinging me. Looking into it. 🚀

---

<div class="post-metadata">

**Author:** ![tamaspapik](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/tamaspapik/32/251_2.png) [@tamaspapik](https://discuss.bitrise.io/u/tamaspapik)\
**Post date:** [July 9, 2019, 9:36am UTC](https://discuss.bitrise.io/t/export-flutter-test-results-to-test-reports/9236/4 "2019-07-09T09:36:35Z")

</div>

Just created and internal ticket to look into it. 👍

---

<div class="post-metadata">

**Author:** ![tamaspapik](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/tamaspapik/32/251_2.png) [@tamaspapik](https://discuss.bitrise.io/u/tamaspapik)\
**Post date:** [July 19, 2019, 6:47am UTC](https://discuss.bitrise.io/t/export-flutter-test-results-to-test-reports/9236/5 "2019-07-19T06:47:27Z")

</div>

@dominik.roszkowski could you please provide us a sample flutter app which does generate some test results to test with?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![salman.muhammad](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@salman.muhammad](https://discuss.bitrise.io/u/salman.muhammad)\
**Post date:** [January 14, 2020, 5:19am UTC](https://discuss.bitrise.io/t/export-flutter-test-results-to-test-reports/9236/6 "2020-01-14T05:19:58Z")

</div>

Hi,

Any update to this?

---

<div class="post-metadata">

**Author:** ![Roland-Bak](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/roland-bak/32/3480_2.png) [@Roland-Bak](https://discuss.bitrise.io/u/Roland-Bak)\
**Post date:** [January 14, 2020, 8:56am UTC](https://discuss.bitrise.io/t/export-flutter-test-results-to-test-reports/9236/7 "2020-01-14T08:56:09Z")

</div>

Hi @salman.muhammad, this is still being worked on, but we’ll let you know if anything changes! 🙂

---

<div class="post-metadata">

**Author:** ![etiennecadicidean](https://avatars.discourse-cdn.com/v4/letter/e/e9a140/32.png) [@etiennecadicidean](https://discuss.bitrise.io/u/etiennecadicidean)\
**Post date:** [January 14, 2020, 12:08pm UTC](https://discuss.bitrise.io/t/export-flutter-test-results-to-test-reports/9236/8 "2020-01-14T12:08:36Z")

</div>

Hello there,  
A PR to take into account flutter tests and export them with junitreport so that they can be used with Test Report Addon.

[https://github.com/bitrise-steplib/bitrise-step-flutter-test/pull/4](https://github.com/bitrise-steplib/bitrise-step-flutter-test/pull/4)

---

<div class="post-metadata">

**Author:** ![etiennecadicidean](https://avatars.discourse-cdn.com/v4/letter/e/e9a140/32.png) [@etiennecadicidean](https://discuss.bitrise.io/u/etiennecadicidean)\
**Post date:** [January 15, 2020, 9:52am UTC](https://discuss.bitrise.io/t/export-flutter-test-results-to-test-reports/9236/9 "2020-01-15T09:52:41Z")

</div>

@Roland-Bak for some reasons, the bitrise test run is successful & I can use the step in my workflows but it indicates that it does fail on the PR test ?

---

<div class="post-metadata">

**Author:** ![Roland-Bak](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/roland-bak/32/3480_2.png) [@Roland-Bak](https://discuss.bitrise.io/u/Roland-Bak)\
**Post date:** [January 15, 2020, 10:12am UTC](https://discuss.bitrise.io/t/export-flutter-test-results-to-test-reports/9236/10 "2020-01-15T10:12:53Z")

</div>

Hey there @etiennecadicidean!

Could you please open another issue with your question, where you send us your build log so we could take a closer look? 🙂
