Skip to content

Xray-App/tutorial-flutter

Repository files navigation

Tutorial flutter

build workflow license Gitter chat

Overview

Code that supports the tutorial Testing Flutter applications showcasing the integration between Xray Test Management on Jira and Flutter.

Prerequisites

In order to run this tutorial, you need to have Flutter installed (An emulator if you want to target your development to mobile).

Running

Tests can be run using the Flutter command test.

flutter test

To convert Flutter results into a Junit report you will need to use the JunitReport package.

flutter pub get junitreport
export PATH="$PATH":"$HOME/.pub-cache/bin"
flutter pub global activate junitreport 
junitReportFile="./junit-unit-report.xml"
flutter test --machine test/unit_test.dart  | tojunit --output $junitReportFile

Submitting results to Jira

Results can be submitted to Jira so that they can be shared with the team and their impacts be easily analysed. This can be achieved using Xray Test Management as shown in further detail in this tutorial.

Contact

Any questions related with this code, please raise issues in this GitHub project. Feel free to contribute and submit PR's. For Xray specific questions, please contact Xray's support team.

LICENSE

BSD 3-Clause