Azure / Azure/azure-cli-dev-tools

azdev test should warn users if they have configured defaults

オープン
#142 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
Test
主要言語
Python
スター
91
フォーク
134
平均マージ
2時間 51分
マージ済み PR(30日)
1

説明

Some commands default to values specified by the configured default in the user's environment (set via `az configure`). See `--resource-group` and `--locations` as examples of optionals which support configured defaults.

This can lead to inconsistencies where a test succeeds locally, but fails in the https://github.com/Azure/azure-cli repo's CI.

`azdev test` should warn users that they have configured defaults set which can lead to inconsistent playback behavior of the generated test recordings.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

azdev test のエントリーポイントから開始し、az configure で設定されたデフォルト値が --resource-group や --locations などのオプションにどのように影響するかを調べます。設定されたデフォルト値を使用してセットアップを再現し、その後、azdev test が記録の生成前にユーザーへ警告し、一貫性のない再生動作を防ぐのに役立つことを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, python
領域
cli, devtools, testing-qa
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。