README.md
1## CDM Multi-device Tests
2
3### Device Setup
4To test on physical devices, connect _two_ devices locally and enable USB debugging setting on both devices.
5
6When running on a cloudtop or other remote setups, use pontis to connect the devices on remote set up by running `pontis start`.
7Verify that pontis client is connected via `pontis status` and confirm that both devices are in "connected" state via `adb devices`.
8
9See go/pontis for more details regarding this workflow.
10
11To test on virtual devices, follow instructions to [set up netsim on cuttlefish](https://g3doc.corp.google.com/ambient/d2di/sim/g3doc/guide/cuttlefish.md?cl=head).
12Launch _two_ instances of virtual devices by specifying `--num_instances=2` parameter.
13
14### Running the Test
15```
16atest CompanionDeviceManagerMultiDeviceTestCases
17```
18