- Add complete agent harness structure with 8 roles (leader, triager, architect, implementer, reviewer, security, qa, documenter) - Implement strict workflow with 9 stages and mandatory gates - Add comprehensive verification script and runtime status tracking - Create artifact-based evidence system with contracts and schemas - Add agent policy matrix with permissions and anti-cheat rules - Include test suite (44 tests passing) and CI-ready structure - Add documentation: README, HOWTO, CHECKPOINTS, templates - Configure model routing policies and token-aware task assignment - Add BDD/SDD specification guides and feature templates - Include starter pack for quick project onboarding All verification checks pass. Framework ready for production use.
58 lines
1.5 KiB
Markdown
58 lines
1.5 KiB
Markdown
# Features BDD
|
|
|
|
Este directorio contiene los archivos `.feature` organizados por dominio.
|
|
|
|
## Estructura
|
|
|
|
```
|
|
features/
|
|
├── auth/
|
|
│ ├── login.feature
|
|
│ └── registration.feature
|
|
├── dashboard/
|
|
│ └── dashboard.feature
|
|
├── common/
|
|
│ ├── navigation.feature
|
|
│ └── error-handling.feature
|
|
└── README.md
|
|
```
|
|
|
|
## Tags comunes
|
|
|
|
Usar estos tags en todos los features:
|
|
|
|
| Tag | Descripción |
|
|
|-----|-------------|
|
|
| `@F-XXX` | Link a feature ID del backlog |
|
|
| `@smoke` | Test crítico |
|
|
| `@regression` | Regresión |
|
|
|
|
## Example
|
|
|
|
```gherkin
|
|
@F-001 @auth @smoke
|
|
Feature: Inicio de sesión
|
|
|
|
Como usuario registrado
|
|
Quiero iniciar sesión con mis credenciales
|
|
Para acceder a mi cuenta personal
|
|
|
|
@positive
|
|
Scenario: Login exitoso con credenciales válidas
|
|
Given un usuario con email "user@example.com" y password "Password123"
|
|
And el usuario no tiene sesión activa
|
|
When el usuario ingresa email "user@example.com"
|
|
And ingresa password "Password123"
|
|
And presiona el botón "Iniciar sesión"
|
|
Then el sistema redirige al dashboard
|
|
And muestra mensaje de bienvenida
|
|
|
|
@negative
|
|
Scenario: Login fallido con password incorrecto
|
|
Given un usuario con email "user@example.com" y password "Password123"
|
|
When el usuario ingresa email "user@example.com"
|
|
And ingresa password "WrongPassword"
|
|
And presiona el botón "Iniciar sesión"
|
|
Then el sistema muestra mensaje de error "Credenciales inválidas"
|
|
And permanece en la página de login
|
|
``` |