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

Making Tests Independent From Academic Year Term Code

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
testing

Direzione di ricerca

Cerca nei test lsf i valori termCode_id hard-coded e verifica come i dati di test rappresentano attualmente l’anno accademico. Esegui la suite di test pertinente prima e dopo la modifica; il lavoro è completato quando i test usano codici del periodo indipendenti dall’anno o aggiornati automaticamente, senza richiedere modifiche annuali.

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

Descrizione

draft on hold

Issue Description

Currently, many lsf tests use the term code of the "current" academic year (termCode_id="20XX00") for the test data. However, whenever a new academic year comes, that requires manually updating termCode_id to the actual current academic year.

Example of where this can be problematic

For example, when academic year 2027-2028 hits, each occurrence of termCode_id="202600" will have to be manually changed to termCode_id="202700" everywhere in the test code. Forgetting to do this step will cause most of the tests to fail.

What needs to be changed?

The current implementation is inconvenient. What should be instead is a different set of term codes that would work for any academic year OR a specific variable that would automatically detect the current academic year.

Lingua principale
Python
Stelle
1
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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 BCStudentSoftwareDevTeam/lsf

Tutte le issue di BCStudentSoftwareDevTeam/lsf

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.