tree: e55b6125a8369b35c2aa3ef65c9181eafabdf3e2
  1. webview_shell/
  2. java_tests.txt
  3. README.md
  4. run_java_tests.py
  5. run_py_tests.py
  6. run_py_tests.pydeps
  7. run_webdriver_tests.py
  8. test_environment.py
  9. test_expectations
  10. unittest_util.py
  11. webserver.py
chrome/test/chromedriver/test/README.md

Run test locally

This file contains instruction summary to run test(s) under this folder locally. See testing page for details.

To run run_py_tests.py

Suppose you would like to run test testCanSetCheckboxWithSpaceKey. First, build chrome and chromedriver binary.

autoninja -C out/Default chromedriver_py_tests

Then, either run

vpython3 chrome/test/chromedriver/test/run_py_tests.py --chromedriver=out/Default/chromedriver --filter=__main__.ChromeDriverTest.testCanSetCheckboxWithSpaceKey

or the abbreviating the filter

vpython3 chrome/test/chromedriver/test/run_py_tests.py --chromedriver=out/Default/chromedriver --filter=\*testCanSetCheckboxWithSpaceKey