1
Testing
george-claude edited this page 2026-07-12 09:42:40 +01:00

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.