Azure / Azure/azure-cli-dev-tools
azdev test should warn users if they have configured defaults
- Lingua principale
- Python
- Stelle
- 91
- Fork
- 134
- Merge medio
- 2h 51m
- PR unite (30g)
- 1
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia dal punto di ingresso di azdev test ed esamina in che modo i valori predefiniti configurati tramite az configure influenzano opzioni come --resource-group e --locations. Riproduci la configurazione con valori predefiniti configurati, quindi verifica che azdev test avvisi gli utenti prima che vengano generate le registrazioni e contribuisca a evitare un comportamento di riproduzione incoerente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- azure, python
- Ambito
- cli, devtools, testing-qa
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100