mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 02:31:29 +00:00
siso: rewrite the entire siso test to pytest.
With this tests will be easier to read and support. Also have improved parameterized tests. The reason why pytest was picked is because as my knowledge goes this is the most up to date and supported unit test framework in Python. The current parameterized tests state is primitive, and the parameterized library was last updated 2 years ago. pytest will help us adopt best practices that later perhaps we could spread to other unit tests in depot_tools. Bug: 459690822 Change-Id: I67d16b56ff3c4dbd260ea0b07354ef766a6a6964 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/7246550 Reviewed-by: Gavin Mak <gavinmak@google.com> Commit-Queue: Alex Ovsienko <ovsienko@google.com> Reviewed-by: Junji Watanabe <jwata@google.com>
This commit is contained in:
35
.vpython3
35
.vpython3
@@ -82,6 +82,41 @@ wheel: <
|
||||
version: "version:0.8.1"
|
||||
>
|
||||
|
||||
# Used by:
|
||||
# tests/siso_test.py
|
||||
wheel: <
|
||||
name: "infra/python/wheels/pytest-py3"
|
||||
version: "version:9.0.2"
|
||||
>
|
||||
wheel: <
|
||||
name: "infra/python/wheels/pytest-mock-py3"
|
||||
version: "version:3.10.0"
|
||||
>
|
||||
wheel: <
|
||||
name: "infra/python/wheels/pytest-cov-py2_py3"
|
||||
version: "version:6.2.1"
|
||||
>
|
||||
wheel: <
|
||||
name: "infra/python/wheels/iniconfig-py3"
|
||||
version: "version:2.1.0"
|
||||
>
|
||||
wheel: <
|
||||
name: "infra/python/wheels/packaging-py3"
|
||||
version: "version:25.0"
|
||||
>
|
||||
wheel: <
|
||||
name: "infra/python/wheels/pluggy-py3"
|
||||
version: "version:1.6.0"
|
||||
>
|
||||
wheel: <
|
||||
name: "infra/python/wheels/pygments-py3"
|
||||
version: "version:2.19.2"
|
||||
>
|
||||
wheel: <
|
||||
name: "infra/python/wheels/colorama-py2_py3"
|
||||
version: "version:0.4.6"
|
||||
>
|
||||
|
||||
# Used by:
|
||||
# web-tests PRESUBMIT.py
|
||||
wheel: <
|
||||
|
||||
2026
tests/siso_test.py
2026
tests/siso_test.py
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user