diff --git a/Testing.md b/Testing.md new file mode 100644 index 0000000..4993929 --- /dev/null +++ b/Testing.md @@ -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`.