Automated tests for routes and queries
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 65/100
Direzione di ricerca
Start from the Flask app factory and the route definitions for store, game page, login, register, buy and review; read how the Supabase client is created so it can be replaced with a fake through Flask's test client. Add pytest tests under a new tests directory, plus requirements-dev.txt, and wire them into .github/workflows/checks.yml. Done when the suite covers those routes, including CSRF and login-required cases, and runs in CI without secrets.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Add a pytest suite so changes can be checked automatically.
- Use Flask's test client with the database client replaced by a fake (no real Supabase needed)
- Cover the store, game page, login, register, buy and review routes, including CSRF and login-required checks
- Add
requirements-dev.txtand run the tests in.github/workflows/checks.yml - The tests must not need any secrets
- Lingua principale
- CSS
- Stelle
- 1
- Fork
- 1
- Merge medio
- 39m
- PR unite (30g)
- 6
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NotADIM2/GameVault
-
Deployment guideApertadocumentation help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
frontend help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Share button on game pagesApertafrontend good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Add a faviconApertafrontend good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
-
frontend good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
Tutte le issue di NotADIM2/GameVault
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ida-arbeitszeit/workers-control#1578 ·
I maintainer di solito rispondono entro 1 giorno
-
🧠 Admin
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
melgarafael/DeskcommCRM#4679 ·
I maintainer di solito rispondono entro 1 giorno
-
triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100