Add wiki page: Testing
+5
@@ -0,0 +1,5 @@
|
|||||||
|
# Testing
|
||||||
|
|
||||||
|
- `python -m unittest test_character_builder.py` (ou `python test_character_builder.py`).
|
||||||
|
- Seul `character_builder.py` a des tests : construction, sauvegarde/chargement JSON, fichier manquant, clés manquantes, JSON invalide.
|
||||||
|
- Le test crée/supprime son propre fixture `Arthur.json` (`tearDownClass`) — ne touche pas à `Hector.json`/`Jamin.json`.
|
||||||
Reference in New Issue
Block a user