aws-cloudformation / aws-cloudformation/cloudformation-cli
Allow users to specify different contract test inputs for each individual test / new resource
- Lingua principale
- Python
- Stelle
- 336
- Fork
- 172
- Merge medio
- 3g 5m
- PR unite (30g)
- 3
Descrizione
I am developing a resource that requires a real, unique activation key as one of its properties.
I have to override inputs because I need to specify real activation keys; a fake key will be rejected. But, I can only specify a single override value, which causes the same key to be reused across tests when running contract tests using `cfn test`.
I can somewhat get around this by running a single contract test at a time and changing the inputs one at a time.
In this case, it would help if I could specify a set of input values so that a different key is chosen for each resource created by the contract tests, and keys aren't repeated.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia tracciando il modo in cui `cfn test` legge e applica le sostituzioni degli input dei contract test. Determina dove potrebbe essere associato un insieme di valori a singoli test o a risorse create, quindi verifica che ogni risorsa riceva una chiave distinta, senza riutilizzo durante l’esecuzione dei contract test.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- cli, testing
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100