Rewrite step definitions with inline detection logic

- Replace abstraction functions with inline regex patterns in step definitions
- Add clear test outcomes: Pass/Fail for testable features, Pending with
  specific prefixes (NOT IMPLEMENTED, CANNOT TEST, WRONG STEP, NOT ON THIS
  SCREEN) for non-testable features
- Fix GherkinHighlighter to use step.text instead of step.originalLine
  for step definition matching
- Update documentation with Test Outcomes section
- Extend test:cucumber script to run all parsing steps

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Sylvain Duchesne
2026-01-18 19:20:04 +01:00
parent a19bda44e1
commit 9620461b36
13 changed files with 1753 additions and 1470 deletions
+2 -2
View File
@@ -37,6 +37,6 @@ Fonctionnalité: US-13 Créer/Modifier/Supprimer un événement
Étant donné je suis sur la page "créer un événement"
Alors l'écran contient une section "Créer l'événement"
Scénario: Vérifier la psence du bouton d'annulation
Scénario: Pouvoir annuler la cation d'événement
Étant donné je suis sur la page "créer un événement"
Alors l'écran contient une section "Annuler"
Alors je peux annuler et revenir à l'écran précédent