feat: Add comprehensive testing plan for IPSExtractor, including unit, integration, E2E, stress, and resilience tests. Introduce LaTeX documentation structure with sections for architecture, test strategy, and execution guidelines. Enhance README with setup instructions and k6 stress testing scripts.

This commit is contained in:
erik
2026-07-13 17:45:39 -05:00
parent 103bcea15b
commit 6bf413c4ce
25 changed files with 1662 additions and 0 deletions
@@ -0,0 +1,45 @@
\chapter{Cronograma y criterios de aceptaci\'on}
\label{ch:cronograma}
\section{Fases sugeridas}
\begin{longtable}{@{}p{1.5cm}p{4.5cm}p{6.2cm}@{}}
\caption{Hoja de ruta de calidad.}\\
\toprule
\textbf{Fase} & \textbf{Entrega} & \textbf{Criterio de cierre} \\
\midrule
\endhead
0 & Este documento LaTeX + scripts k6 & PDF compilado; scripts documentados \\
1 & CI + unitarios API bot & Pipeline verde en PR \\
2 & Compose test + IT-BOT-01..06 & Integraci\'on bot estable \\
3 & Extraction/cleaning + LLM mock & IT-EXT/CLN verdes \\
4 & Campa\~nas k6 staging & SLOs cap.~\ref{ch:estres} cumplidos \\
5 & E2E staging + Imaging & E2E-01..05 firmados \\
6 & Chaos mensual & CH-01..06 con informe \\
\bottomrule
\end{longtable}
\section{Definition of Done por release}
Un release es aceptable cuando:
\begin{enumerate}
\item Checklist del ap\'endice ``Checklist de release'' completa.
\item Ning\'un caso \texttt{E2E-01}--\texttt{E2E-05} fallido sin waiver documentado.
\item ST-GW-01 y ST-BOT-01 dentro de SLO en staging.
\item Hallazgos P0/P1 de resiliencia cerrados o mitigados.
\end{enumerate}
\section{Plantilla de informe de ejecuci\'on}
\begin{lstlisting}[language={},caption={Campos m\'inimos del informe}]
Fecha / entorno / commit
Casos ejecutados (IDs) y resultado
p95 latencia / error rate / max RSS
Jobs fallidos y causa
Costos LLM (si aplica)
Waivers y follow-ups
\end{lstlisting}
\section{Responsables (roles)}
\begin{itemize}
\item \textbf{QA / Dev:} ejecutar unitarias e integraci\'on; mantener fixtures.
\item \textbf{Ops:} staging, k6, m\'etricas Docker/PG.
\item \textbf{Producto:} firmar E2E de negocio en release.
\end{itemize}