tree: 37e52b060f8067d72fd89eef51b3073349e0468b [path history] [tgz]
  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. test_environment.py
  8. test_expectations
  9. unittest_util.py
  10. webserver.py
chrome/test/chromedriver/test/README.md

Run test(s) locally

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

To run run_py_tests.py

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

autoninja -C out/Default chromedriver_py_tests

Then, either run:

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

or, by abbreviating the filter:

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