CSSUoB / CSSUoB/TeX-Bot-Py-V2

Add Pycord based unit tests

Offen
#57 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
suspended test suite
Vorherrschende Sprache
Python
Sterne
1
Forks
11
Ø Merge
20 Std. 7 Min.
Gemergte PRs (30 T.)
2

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
testing-qa
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
15/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.