Les enseignants ont besoin de moyennes à jour immédiatement après la publication ou modification des notes, sans attendre un batch nocturne. Le système recalcule via Domain Events synchrones : statistiques d'évaluation (min/max/moyenne/médiane), moyennes matières pondérées (normalisation /20), et moyenne générale par élève. Les résultats sont stockés dans des tables dénormalisées avec cache Redis (TTL 5 min). Trois endpoints API exposent les données avec contrôle d'accès par rôle. Une commande console permet le backfill des données historiques au déploiement.
1.4 KiB
1.4 KiB
Test Automation Expansion
Workflow ID: _bmad/tea/testarch/bmad-testarch-automate
Version: 5.0 (Step-File Architecture)
Overview
Expands test automation coverage by generating prioritized tests at the appropriate level (E2E, API, Component, Unit) with supporting fixtures and helpers.
Modes:
- BMad-Integrated: Uses story/PRD/test-design artifacts when available
- Standalone: Analyzes existing codebase without BMad artifacts
WORKFLOW ARCHITECTURE
This workflow uses step-file architecture for disciplined execution:
- Micro-file Design: Each step is self-contained
- JIT Loading: Only the current step file is in memory
- Sequential Enforcement: Execute steps in order without skipping
INITIALIZATION SEQUENCE
1. Configuration Loading
From workflow.yaml, resolve:
config_source,test_artifacts,user_name,communication_language,document_output_language,datetest_dir,source_dir,coverage_target,standalone_mode
2. First Step
Load, read completely, and execute:
./steps-c/step-01-preflight-and-context.md
3. Resume Support
If the user selects Resume mode, load, read completely, and execute:
./steps-c/step-01b-resume.md
This checks the output document for progress tracking frontmatter and routes to the next incomplete step.