commit | bddd86dbc4ef982100fd910e2e90e36f15dadf26 | [log] [tgz] |
---|---|---|
author | Przemek Filipek <filipek@google.com> | Fri Jun 21 09:26:53 2024 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 21 09:26:53 2024 |
tree | 1d5511c4184a74a8c11c1381554bf29877da6262 | |
parent | 6b741ac402f02140524fff70d6dc3b11149e3fd0 [diff] |
satlab_cli: add test runner v2 option Added an option to run tests via Test Runner v2. BUG=None TEST=ci.chromium.org/b/8744610652364081489; ci.chromium.org/b/8744606791918744881 Change-Id: I2c7d34692dad581841e5af46c1cbd50e3eddf8b5 Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/5645004 Commit-Queue: Przemysław Filipek <filipek@google.com> Reviewed-by: Michal Matyjek <mmatyjek@google.com> Cr-Commit-Position: refs/heads/main@{#66343}
Welcome to the Chrome Infra repository!
Wondering where to start? Check out General Chrome Infrastructure documentation. In particular, to check out this repo and the rest of the infrastructure code, follow the instructions here. The rest of this page is specific to this repo.
sys.path
modifications.git push origin <updated hash>:deployed
git push
commandIf you've added a new module, run your tests with test.py:
*_test.py
files to this directory.Double-check that your tests are getting picked up when you want them to be: ./test.py test <path-to-package>
.
Tests still not getting picked up by test.py? Double-check to make sure you have __init__.py
files in each directory of your module so Python recognizes it as a package.
The preferred style is PEP8 with two-space indent; that is, the Chromium Python style, except functions use lowercase_with_underscores
. Use yapf (git cl format
) to autoformat new code.