Azure / Azure/azure-cli-dev-tools

[Test] Add `--playback-only` option to skip tests that don't have recording files

Đang mở
#3 0 bình luận 0 reaction 1 người được giao Được @haroldrandom nhận Xem trên GitHub
enhancement Test
Ngôn ngữ chính
Python
Star
91
Fork
134
Merge trung bình
2 giờ 51 phút
Pull request đã merge (30 ngày)
1

Mô tả

The current behavior of `run_tests --module` is to playback all tests that have recordings and record all tests that do not (and are not live only). When I have to re-record networking tests, often there are a few tests that are very slow and block. During that downtime, I would love to replay the tests that have already been re-recorded and identify which, if any, fail to playback. If I do this by running the module, I'll inevitably have two processes trying to record the same test, and nothing good comes of that.

Consider adding a `--playback-only` flag to `run_tests` that will only playback tests, and skips any tests that are live_only (obviously) or aren't but don't have a recording file.

...and the summary of which tests fail at the end of the run would be super super super helpful.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.