Activisme-be / Activisme-be/ODINN

Unit tests

未關閉
#8 0 則留言 0 個 reaction 已指派 1 人 已被 @Tjoosten 認領 在 GitHub 檢視
Integration testing
主要語言
PHP
星號
0
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

Om te verzekeren dat de applicatie zou werken zoals gewenst zouden er unit tests moeten gecreerd worden. Om vervolgens bij elke PR een CI pipeline te laten lopen.

### Shared routes

- [ ] `GET` /account-informatie
- [ ] `GET` /account-informatie
- [ ] `GET` /inventory/{item}
- [ ] `GET` /inventory/{item}/verwijderen
- [ ] `GET` /inboeken/{item}
- [ ] `GET` /uitboeken/{item}
- [ ] `GET` /account-informatie
- [ ] `PATCH` /account-informatie
- [ ] `PATCH` /inventory/{item}
- [ ] `DELETE` /inventory/{item}/verwijderen
- [ ] `POST` /inventory/zoeken
- [ ] `POST` /inboeken/{item}
- [ ] `POST` /uitboeken/{item}

### Coordinator routes

- [ ] `GET` /foutmelding/geen-locatie
- [ ] `GET` /inventaris
- [ ] `GET` /nieuw-item
- [ ] `POST` /nieuw-item
- [ ] `POST` /inventaris/zoeken

### Web routes

- [ ] Authentication routes
- [ ] `GET` /
- [ ] `GET` /inventaris
- [ ] `GET` /item/activiteit/{item}
- [ ] `GET` /nieuw-item
- [ ] `GET` /home
- [ ] `GET` /categorieen
- [ ] `GET` /nieuwe-categorie
- [ ] `GET` /categorie/{category}
- [ ] `GET` /categories/verwijder/{category}
- [ ] `GET` /gebruikers
- [ ] `GET` /gebruiker/{user}
- [ ] `GET` /nieuwe-gebruiker
- [ ] `GET` /gebruiker/{user}/verwijderen
- [ ] `GET` /gedeactiveerd
- [ ] `GET` /inzamelpunten
- [ ] `GET` /deactiveer/{user}
- [ ] `GET` /activeer/{user}
- [ ] `GET` /inzamelpunt/{location}
- [ ] `GET` /nieuw-inzamelpunt
- [ ] `GET` /inzamelpunt/{location}/inventaris
- [ ] `GET` /inzamelpunt/verwijder/{location}
- [ ] `POST` /categorieen-zoeken
- [ ] `POST` /nieuwe-categorie
- [ ] `POST` /nieuw-inzamelpunt
- [ ] `POST` /nieuw-item
- [ ] `POST` /inzamelpunten/zoeken
- [ ] `POST` /deactiveer/{user}
- [ ] `POST` /gebruikers/zoek
- [ ] `POST` /nieuwe-gebruiker
- [ ] `DELETE` /gebruiker/{user}/verwijderen
- [ ] `DELETE` /categories/verwijder/{category}
- [ ] `DELETE` /inzamelpunt/verwijder/{location}
- [ ] `PATCH` /categorie/{category}
- [ ] `PATCH` /gebruikers/{userEntity}
- [ ] `PATCH` /inzamelpunt/{location}

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

The request is for route-level unit tests and CI automation for the listed Shared, Coordinator, and Web endpoints. Start by finding where these HTTP routes are registered and implemented, then inspect the existing PHP test structure to add coverage for each listed path. Run the project’s current test command locally, and ensure the CI workflow runs the same suite on pull requests. Done means the checklist routes have tests and PR test checks pass.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
php
領域
testing-qa
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。