patrol_cli 2.1.5 icon indicating copy to clipboard operation
patrol_cli: ^2.1.5 copied to clipboard

Command-line tool for Patrol, a powerful Flutter-native UI testing framework.

patrol_cli #

patrol_cli on codestyle

Command-line tool to make working with patrol easier.

Installation #

From #

$ dart pub global activate patrol_cli

From git #

  1. Make sure that you have Dart >= 2.18 installed.

    $ dart --version
  2. Clone the repo.

  3. Go to packages/patrol_cli.

  4. Run dart pub global activate --source path .

Troubleshooting #

If you can't run patrol from the terminal and the error is something along the lines of "command not found", make sure that you've added appropriate directories to PATH:

  • on Unix-like systems, add $HOME/.pub-cache/bin
  • on Windows, add %USERPROFILE%\AppData\Local\Pub\Cache\bin

Usage #

Read the documentation: