Running Android Espresso tests on Firebase Test Lab with Flank

Flank it’s an open source API that runs test sharding on Firebase Test Lab, developed by WalmartLabs. Test shards are the number of groups to split the test suite into.

Example: if your test suite has 21 tests and you configure flank to “testShards:3” then your (21 tests) will be split into 3 runs, 21/3 = 7 test per run. Test sharding makes FTL runs quicker. This tutorial shows how to run flank from a MacBook Pro terminal.

Configuration:

  1. Download flank and add to…