CSSUoB / CSSUoB/TeX-Bot-Py-V2

Add Pycord based unit tests

Aperta
#57 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
suspended test suite
Lingua principale
Python
Stelle
1
Fork
11
Merge medio
20h 7m
PR unite (30g)
2

Descrizione

Currently none of the cogs have any unit tests because they all depend upon a running bot connected to the actual Discord API. Unit tests should be written once Pycord implements Pycord-Development/pycord#1677 or once a local api hook for testing is written.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reviewing Pycord-Development/pycord#1677 and determining whether Pycord now supports the required testing behavior; otherwise investigate a local API hook. Define how the cogs can be exercised without a running Discord API, then add unit tests covering their behavior and verify they run independently of Discord.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.