Find a usecase for/improve the fake github API testing

Aperta
#567 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
python
Ambito
testing

Direzione di ricerca

Start by reviewing the fake GitHub API code from #563 and identify a concrete code path where response headers or query strings would enable useful test coverage. Agree on that use case before expanding the fake API; done means the use case is documented and the added capability supports tests for it.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

devops needs-plan testing

In the code from #563
Not modelled yet: response headers (pagination, rate limits, redirects) and query strings

Filing an issue so we remember to expand the capabilities of the github API testing later.

That said: like some of my comments on that PR - i want to make sure we have a usecase for these expanded features first - i.e. a concrete part of the code we can add test coverage to with this feature that wouldnt be possible without (or would have a less clean solution if done another way).

Marking as needs-plan to ensure we identify the usecase before we implement so we dont just add code that never gets used

Lingua principale
Python
Stelle
17
Fork
30
Merge medio
6h 16m
PR unite (30g)
9

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di chaoss/CollectOSS

Tutte le issue di chaoss/CollectOSS

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.