aboutsummaryrefslogtreecommitdiff
path: root/doc/tex
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2022-12-14 15:41:49 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2022-12-14 15:41:49 +0100
commit824d5e3b6954407a694f5739cbeb40f66324c8d7 (patch)
tree2edd317df4a83afbb305e017f3d5afd92b6b5422 /doc/tex
parente8b9bf589e698b51e55ae59693b5bb0293f86a26 (diff)
downloadimago-824d5e3b6954407a694f5739cbeb40f66324c8d7.tar.gz
imago-824d5e3b6954407a694f5739cbeb40f66324c8d7.zip
Developing Unit Testing.
Diffstat (limited to 'doc/tex')
-rw-r--r--doc/tex/imago.tex10
-rw-r--r--doc/tex/systemAnalysis.tex31
2 files changed, 31 insertions, 10 deletions
diff --git a/doc/tex/imago.tex b/doc/tex/imago.tex
index 4b292f1..7978a0c 100644
--- a/doc/tex/imago.tex
+++ b/doc/tex/imago.tex
@@ -38,16 +38,6 @@
\newcommand{\lref}[1]{Listing~\ref{#1}}
%\newcommand{\uurl}[1]{\underline{\url{#1}}}
-%\newcommand{\acronim}[2]
-%{
-% \iftoggle{#1}
-% {#1}
-% {#1 (#2)\toggletrue{#1}}
-%}
-%
-%\newtoggle{SGF}
-%\newcommand{\acrSGF}[0]{\acronim{SGF}{Smart Game Format}}
-
\newcommand{\tabitem}{~~\llap{\textbullet}~~}
\begin{document}
diff --git a/doc/tex/systemAnalysis.tex b/doc/tex/systemAnalysis.tex
index bbae66e..ba5fbf1 100644
--- a/doc/tex/systemAnalysis.tex
+++ b/doc/tex/systemAnalysis.tex
@@ -878,6 +878,17 @@ The engine interface reads the input for generating a move as stated by the
\subsection{Testing Plan Specification}
+The Testing Plan will include four types of tests:
+
+\begin{itemize}
+
+ \item Unitary Testing: for isolated code elements.
+ \item Integration Testing: for the collaboration between components.
+ \item System Testing: for the product as a whole.
+ \item Usability Testing: for the experience of users with the product.
+
+\end{itemize}
+
\subsubsection{Unitary Testing}
Tests for the Python code are developed using the unittest \cite{python_unittest}
@@ -888,4 +899,24 @@ The coverage of unit testing is checked with Coverage.py \cite{python_coverage},
which can by itself run the unittest tests and generate coverage reports based
on the results.
+The script used to run the tests is shown on \lref{lst:test} and its output on
+\lref{lst:testOutput}.
+
% Maybe put an example report here?
+\begin{listing}[h]
+ \inputminted{bash}{listings/test.sh}
+ \caption{Dense neural network model.}
+ \label{lst:test}
+\end{listing}
+
+\begin{listing}[h]
+ \inputminted[fontsize=\footnotesize]{text}{listings/testOutput.txt}
+ \caption{Unitary testing output.}
+ \label{lst:testOutput}
+\end{listing}
+
+\subsubsection{Integration Testing}
+
+\subsubsection{System Testing}
+
+\subsubsection{Usability Testing}