Expected result en test-case table matchen nu.
[tt2015.git] / a2 / 2results.tex
index 361f9df..4e685ed 100644 (file)
 \r
-\pagebreak\r
-\r
-\begin{table}\r
-\r
 \subsection{Preflight checklist}\r
+Execution of the preflight checklist of Table~\ref{tbl:preflight} yields the\r
+following results:\r
+\r
+\begin{table}[H]\r
+       \centering\r
+    \begin{tabular}{|l|l|}\r
+    \hline\r
+    Check \# & result \\  \hline \hline\r
+    1 & RESULT\\  \hline\r
+    2 & RESULT\\  \hline\r
+    3 & RESULT\\  \hline\r
+    4 & RESULT\\  \hline\r
+    5 & RESULT\\  \hline\r
+    \end{tabular}\r
+\caption{Results of the preflight checks}\r
+\label{tbl:preflightresults}\r
+\end{table}\r
 \r
-\textbf{TODO: DEZE TABEL WEL UPDATEN!!}\r
+\subsection{Test cases}\r
+Comparing the results of the execution of the test cases of\r
+Table~\ref{tbl:testpairs} with the expected results of those test cases specified in\r
+Table~\ref{tbl:testcases} yields the following results:\r
 \r
-\begin{tabularx}{\linewidth}{| l | X|}\r
-       \hline\r
-Check 1 & Get the SUT in a workable state. \\\hline\r
-Course of action & \begin{enumerate}\r
-       \item Import the VirtualBox image into VirtualBox.\r
-       \item Boot the vm.\r
-       \item Verify the SUT booted succesfully and the network module(s) are loaded.\r
-\end{enumerate} \\\hline\r
-Passed & \textit{\st{Yes}/No} \\\hline \hline\r
-Check 2 & Verify the SUT is complete. \\\hline\r
-Course of action & \begin{enumerate}\r
-       \item Use the course of action for \emph{Check 1} in order to boot the SUT.\r
-       \item Verify the loopback device exists using \emph{ifconfig}\r
-       \item Verify the \emph{echo-server} is present on the system.\r
-       \item Verify \emph{Scrappy} is present on the system.\r
-       \item Verify all scripts used for testing are present on the system.\r
-\end{enumerate} \\\hline\r
-Passed & \textit{\st{Yes}/No} \\\hline \hline\r
-Check 3 & Initialize the testing environment. \\\hline\r
-Course of action & \begin{enumerate}\r
-       \item Boot the SUT (see \emph{Check 1}).\r
-       \item Setup iptables by executing \emph{./scripts/setup/iptables.sh}\r
-       \item Setup ... by executing \emph{./scripts/setup/...}\r
-\end{enumerate} \\\hline\r
-Passed & \textit{\st{Yes}/No} \\\hline\r
-\end{tabularx}\r
+\setcounter{TCC}{1}\r
+\begin{table}[H]\r
+       \centering\r
+    \begin{tabular}{|l|l|}\r
+    \hline\r
+    Test case \# & result \\  \hline \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \doTCC & RESULT\\  \hline\r
+    \end{tabular}\r
+\caption{Results of the test cases}\r
+\label{tbl:testcasesresults}\r
 \end{table}\r
+\r
+\subsection{Result}\r
+To pass the test the SUT has to pass all the specified test cases (\r
+Table~\ref{tbl:tpreflight} and Table~\ref{tbl:testpairs}). As can be seen in\r
+Table~\ref{tbl:preflightresults} and Table~\ref{tbl:testcasesresults} this is\r
+%not %remove first % in case of any failure\r
+the case. Therefore the SUT has PASSED/FAILED this test.\r
+%This failure is due to the failure of the test case(s) 1,2,3,n as specified\r
+%where the SUT failed to behave in the expected way by... %behavior dat SUT wel\r
+%%liet zien\r
+\r
+%\r
+%\textbf{TODO: DEZE TABEL WEL UPDATEN!!}\r
+%\r
+%\begin{table}\r
+%\begin{tabularx}{\linewidth}{| l | X|}\r
+%      \hline\r
+%Check 1 & Get the SUT in a workable state. \\\hline\r
+%Course of action & \begin{enumerate}\r
+%      \item Import the VirtualBox image into VirtualBox.\r
+%      \item Boot the vm.\r
+%      \item Verify the SUT booted succesfully and the network module(s) are loaded.\r
+%\end{enumerate} \\\hline\r
+%Passed & \textit{\st{Yes}/No} \\\hline \hline\r
+%Check 2 & Verify the SUT is complete. \\\hline\r
+%Course of action & \begin{enumerate}\r
+%      \item Use the course of action for \emph{Check 1} in order to boot the SUT.\r
+%      \item Verify the loopback device exists using \emph{ifconfig}\r
+%      \item Verify the \emph{echo-server} is present on the system.\r
+%      \item Verify \emph{Scrappy} is present on the system.\r
+%      \item Verify all scripts used for testing are present on the system.\r
+%\end{enumerate} \\\hline\r
+%Passed & \textit{\st{Yes}/No} \\\hline \hline\r
+%Check 3 & Initialize the testing environment. \\\hline\r
+%Course of action & \begin{enumerate}\r
+%      \item Boot the SUT (see \emph{Check 1}).\r
+%      \item Setup iptables by executing \emph{./scripts/setup/iptables.sh}\r
+%      \item Setup ... by executing \emph{./scripts/setup/...}\r
+%\end{enumerate} \\\hline\r
+%Passed & \textit{\st{Yes}/No} \\\hline\r
+%\end{tabularx}\r
+%\end{table}\r