Skip to main content

(Flutter) Run tests

Description

Runs any test in a Flutter project.

Instructions

  1. Add the Flutter Test Step to your Workflow. Set the input variables:

    • Project Location: For example, $BITRISE_FLUTTER_PROJECT_LOCATION.

    • Check out optional inputs in the Workflow Editor or in the Step description.

  2. Add a Deploy to Bitrise.io Step that makes the test results available in the Test Reports add-on.

bitrise.yml

- flutter-test@1:
    inputs:
    - project_location: "$BITRISE_FLUTTER_PROJECT_LOCATION"
- deploy-to-bitrise-io@2: {}