Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Update CoT test data with modern task definitions

Aperta
#517 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à
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
testing-qa

Direzione di ricerca

Inizia leggendo test_cot_verify.py e le directory esistenti tests/data/cotv2 e tests/data/cotv4 per comprendere le relative costanti, gli helper e le definizioni delle attività. Aggiungi tests/data/cotv7 con definizioni moderne come l’attività decisionale e actions.yml, migra i test dove possibile, quindi rimuovi i dati obsoleti solo quando la copertura rimane invariata.

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

Descrizione

The test data being used was generated a long time ago (circa cotv2 and cotv4). To help ensure the tests are relevant we should update the definitions with those from recent tasks.

I'm no expert in this regard, but I think the approach I would take is:

  1. Create tests/data/cotv7 (and add associated constants / helper methods to test_cot_verify.py)
  2. Save modern task definitions there (e.g, decision task, actions.yml, etc)
  3. Attempt to convert as many tests over to this new data as possible
  4. Remove cotv2 and cotv4 dirs. It might be fine for some tests to continue using the older data, but having a single data dir would simplify things...
  5. Verify no loss in code coverage.
Lingua principale
Python
Stelle
5
Fork
41
Merge medio
22h 52m
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 mozilla-releng/scriptworker

Tutte le issue di mozilla-releng/scriptworker

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.