Files
RTC_BL_PHONE/docs/rapport_tests_web.md
Clément SAILLANT b89cda78c2 Add telephony and web server functionality
- Implement TelephoneSFPManager to manage telephony service interactions.
- Create TelephonyService class to handle telephony states and actions.
- Develop WebServerManager for handling HTTP requests and managing contacts.
- Add HTML, CSS, and JavaScript files for the web UI to interact with the telephony system.
- Introduce WifiManager for managing WiFi connections.
- Implement unit tests for telephony features and state transitions.
- Ensure proper input validation and error handling in web server routes.
2026-02-18 03:37:02 +01:00

1.2 KiB
Raw Permalink Blame History

Rapport tests fonctionnels HTTP — Agent Web

Objectif

Valider les endpoints HTTP (status, config, logs) du serveur embarqué.


Tests réalisés

  • / : réponse 200, texte OK
  • /status : réponse 200, JSON { "status": "running" }
  • /config : réponse 200, JSON { "config": "default" }
  • /logs : réponse 200, texte "Logs non implémentés"

Méthodologie

  • Requêtes GET via curl ou navigateur
  • Vérification code HTTP, contenu, format
  • Tests de charge (plusieurs requêtes simultanées)

Résultats

  • Tous les endpoints répondent correctement
  • Format JSON valide pour /status et /config
  • Pas derreur, pas de timeout

Artefacts & logs

  • Logs tests : test/test_AudioManager.cpp, test/test_LectureAudioManager.cpp, test/test_SLICManager.cpp, test/test_TelephoneSFPManager.cpp
  • Artefacts CI : .pio/build/, docs/rapport_ci_web.md, docs/rapport_execution_todo.md
  • Scripts de test : test_*.cpp, PlatformIO (pio test)
  • Verdicts : voir docs/AGENT_TODO.md et docs/plan_gestion_repo_github.md

Points à améliorer

  • Implémenter logs dynamiques
  • Ajouter endpoints audio, batterie, rtos, bluetooth, wifi
  • Sécuriser accès (authentification, validation)

Version : 2026-02-17