Skip to content

Commit

Permalink
Black box testing a state machine
Browse files Browse the repository at this point in the history
  • Loading branch information
edomora97 committed Jan 22, 2020
1 parent 2219b59 commit 9d1d078
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 7-testing/7-testing.tex
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,10 @@ \subsection{Testing techniques}
\textbf{Black box} Used to test integration and the whole system. Used to check if expected behavior is the behavior of the software (\emph{Model-based testing}).

\textbf{Capture and reply} First test is manual (so it is costly) but it is recorded. Next time the test is an automatic replay of the first test, for which we know the outcome (used for example for auto-regression testing on GUI).

\subsection{Black box testing a state machine}
If the system acts like a state machine (there are states and transactions between them) there are 2 criterion of coverage:
\begin{itemize}
\item Coverage of States: the test cases must collectively reach all the states
\item Coverage of Transactions: the test cases must collectively reach all the transactions
\end{itemize}

0 comments on commit 9d1d078

Please sign in to comment.