tree: afee4e2b1dc4f07f9035389147d5e204412d2e62 [path history] [tgz]
  1. README.md
  2. java_tests.txt
  3. run_java_tests.py
  4. run_py_tests.py
  5. run_py_tests.pydeps
  6. run_webdriver_tests.py
  7. test_environment.py
  8. test_expectations
  9. unittest_util.py
  10. webserver.py
  11. webview_shell/
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

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

or the abbreviating the filter

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