Skip to content
Snippets Groups Projects
Commit 62214800 authored by W. Spencer Smith's avatar W. Spencer Smith
Browse files

Updates to white box testing continued and black box testing lectures

parent 052c6f4f
No related branches found
No related tags found
No related merge requests found
...@@ -390,7 +390,9 @@ constituents of compound conditions are exercised at least once ...@@ -390,7 +390,9 @@ constituents of compound conditions are exercised at least once
\frametitle{Weakness} \frametitle{Weakness}
\includegraphics[scale=0.5]{../Figures/WeaknessConditionCoverage.png} \includegraphics[scale=0.5]{../Figures/WeaknessConditionCoverage.png}
%technically condition coverage is already achieved by the tests, but the second
%test has the problem that it doesn't exercise both possible values of the
%second condition
\end{frame} \end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
......
No preview for this file type
...@@ -106,6 +106,24 @@ TBD ...@@ -106,6 +106,24 @@ TBD
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile]
\frametitle{Unix Command of the Day: \texttt{grep}}
\begin{itemize}
\item Search for the lines in a collection of data that match a specified
pattern
\item From \texttt{se2aa4\_cs2me3/Lectures}
\bi
\item \verb|grep -r Parnas . > parnas.txt|
\item \texttt{grep -c L04 parnas.txt}
\item \texttt{grep -c 'L0.' parnas.txt}
\ei
\end{itemize}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame} \begin{frame}
\frametitle{Path-Coverage Criterion} \frametitle{Path-Coverage Criterion}
...@@ -129,7 +147,7 @@ TBD ...@@ -129,7 +147,7 @@ TBD
\frametitle{The Infeasibility Problem} \frametitle{The Infeasibility Problem}
\begin{itemize} \begin{itemize}
\item Syntactically indicated behaviours (statements, edges, etc.) are often impossible % \item Syntactically indicated behaviours (statements, edges, etc.) are often impossible
\item Unreachable code, infeasible edges, paths, etc. \item Unreachable code, infeasible edges, paths, etc.
\item Adequacy criteria may be impossible to satisfy \item Adequacy criteria may be impossible to satisfy
\begin{itemize} \begin{itemize}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment