view testing/utp_1.1/unit_test_doc/introduction.tex @ 44:409a22968d5e default

Add unit tests
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Tue, 06 Dec 2011 18:42:11 +0100
parents
children
line wrap: on
line source

\section{Introduction}

This document captures the results of the unit test run on LTPDA. The
development cycle of LTPDA uses an automated test-rig which runs every night
using a fresh build of the toolbox. The test-rig runs a series of different
tests, including the unit tests presented in this report. 

The LTPDA unit tests are gathered according to the object class and method within
that class. For each unit test, there is a syntax test (to check that the method
can be run) and an algorithm test (to check that the method does the correct thing).

The test tables presented in this document are structured as follows:
\begin{itemize}
  \item Column 1 contains the test name or number, together with any sub-name or
number
  \item Column 2 contains the general description of the test.
  \item Column 3, row 1 contains the description of the syntax test.
  \item Column 3, row 2 contains the description of the algorithm test.
  \item Column 4, row 1 contains the result of the syntax test (pass or fail).
  \item Column 4, row 2 contains the result of the algorithm test (pass or fail).
\end{itemize}

\subsection{Version}

This report refers to version 2.4 of the LTPDA toolbox.