Mypal/testing/mozbase/mozdevice/sut_tests
Fedor 454d000db6 basic source 2019-03-11 13:26:37 +03:00
..
test-files basic source 2019-03-11 13:26:37 +03:00
README.md basic source 2019-03-11 13:26:37 +03:00
dmunit.py basic source 2019-03-11 13:26:37 +03:00
genfiles.py basic source 2019-03-11 13:26:37 +03:00
runtests.py basic source 2019-03-11 13:26:37 +03:00
setup-tools.sh basic source 2019-03-11 13:26:37 +03:00
test_datachannel.py basic source 2019-03-11 13:26:37 +03:00
test_exec.py basic source 2019-03-11 13:26:37 +03:00
test_exec_env.py basic source 2019-03-11 13:26:37 +03:00
test_fileExists.py basic source 2019-03-11 13:26:37 +03:00
test_getdir.py basic source 2019-03-11 13:26:37 +03:00
test_info.py basic source 2019-03-11 13:26:37 +03:00
test_prompt.py basic source 2019-03-11 13:26:37 +03:00
test_ps.py basic source 2019-03-11 13:26:37 +03:00
test_pull.py basic source 2019-03-11 13:26:37 +03:00
test_push1.py basic source 2019-03-11 13:26:37 +03:00
test_push2.py basic source 2019-03-11 13:26:37 +03:00
test_pushbinary.py basic source 2019-03-11 13:26:37 +03:00
test_pushsmalltext.py basic source 2019-03-11 13:26:37 +03:00

README.md

SUT Agent tests

  • In order to run these tests you need to have a phone running SUT Agent connected.

  • Make sure you can reach the device's TCP 20700 and 20701 ports. Doing adb forward tcp:20700 tcp:20700 && adb forward tcp:20701 tcp:20701 will forward your localhost 20700 and 20701 ports to the ones on the device.

  • You might need some common tools like cp. Use the setup-tools.sh script to install them. It requires $ADB to point to the adb binary on the system.

  • Make sure the SUTAgent on the device is running.

  • Run: python runtests.py