started items slides

This commit is contained in:
2026-01-17 18:53:40 +01:00
parent 5a077c63bb
commit 9b20353e3a
4 changed files with 105 additions and 51 deletions

View File

@@ -1,49 +1,65 @@
\section{Exemples}
\section{Test items}
\begin{frame}[fragile]{Exemple de code Python}
\lstset{style=corporate, language=Python}
% ===== Tests items summary =====
\subsection{Tests items summary}
\begin{lstlisting}
def hello(name):
print(f"Bonjour {name}")
hello("Entreprise")
\end{lstlisting}
\begin{frame}{Test items - 1/2}
\small
\begin{NiceTabular}{l X}
\hline
\textbf{Item} & \textbf{Description} \\
\hline
\incode{check} & Checks for a value or expression \\
\incode{console} & Console actions (serial, terminal, telnet, tcp, ssh) \\
\incode{dialog\_choices} & Asks for a choice in list \\
\incode{dialog\_image} & Displays an image \\
\incode{dialog\_message} & Displays a message \\
\incode{dialog\_note} & Asks to enter a note \\
\incode{dialog\_question} & Asks a question with a yes/no choice \\
\incode{dialog\_references} & Asks for references \\
\incode{dialog\_value} & Asks for a value, entered manually \\
\incode{py\_func} & Python function call (from a file) \\
\incode{lua\_func} & Lua function call (from a file) \\
\hline
\end{NiceTabular}
\end{frame}
\begin{frame}{Test items - 2/2}
\small
\begin{NiceTabular}{l X}
\hline
\textbf{Item} & \textbf{Description} \\
\hline
\incode{group} & container for grouping things \\
\incode{jsonrpc} & JSON-RPC test item \\
\incode{let} & Defining variables \\
\incode{loop} & Container for repeating things \\
\incode{plot} & Runtime plot utility \\
\incode{report} & Extract a report file \\
\incode{run} & Runs a new instance of sequencer \\
\incode{sleep} & Wait (with or without dialog) \\
\incode{unittest\_file} & Python unittest file \\
\hline
\end{NiceTabular}
\end{frame}
\begin{frame}{Architecture Overview}
\begin{columns}[T] % T = alignement en haut
\subsection{Tests items common attributes}
\column{0.45\textwidth}
\includegraphics[width=\linewidth]{logo.png}
\column{0.55\textwidth}
\begin{frame}{Items common attributes}
\begin{itemize}
\item Modular architecture
\item Clean separation of concerns
\item Easy maintenance
\item Scalable design
\item Mandatory
\begin{itemize}
\item \incode{name} : The test item name
\end{itemize}
\item Optional
\begin{itemize}
\item \incode{stop\_on\_failure}: Stop the test if there is one failure
\item \incode{execute\_on\_stop} : Execution of the item when the test is stopped
\item \incode{skipped} : \incode{true} to skip the execution of the test
\item \incode{doc} : The documentation of the test item
\item \incode{key} : A Key used to filter the reports
\item \incode{condition} : If \incode{true}, will execute the test step. Otherwise, the test step is skipped
\item \incode{process\_result} : Processes the result
\item \incode{expected\_result} : Expected result of the item
\end{itemize}
\end{itemize}
\end{columns}
\end{frame}
\begin{frame}{Performance Metrics}
\begin{columns}[T]
\column{0.45\textwidth}
\includegraphics[width=\linewidth]{images/logo.png}
\column{0.55\textwidth}
\centering
\begin{tabular}{lcc}
\textbf{Metric} & \textbf{v1} & \textbf{v2} \\
\hline
Latency (ms) & 120 & 85 \\
Throughput & 200 & 310 \\
Errors (\%) & 2.1 & 0.7 \\
\end{tabular}
\end{columns}
\end{frame}