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

Updates to lecture numbers and slides for black box testing

parent 4fd9521a
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
\input{../def-beamer} \input{../def-beamer}
\Draftfalse \Draftfalse
\newcommand{\topicTitle}{32 White Box Testing Continued (Ch.\ 6)} \newcommand{\topicTitle}{33 White Box Testing Continued (Ch.\ 6)}
\ifDraft \ifDraft
\newcommand{\topic}{\topicTitle~DRAFT} \newcommand{\topic}{\topicTitle~DRAFT}
\else \else
......
No preview for this file type
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
\mode<presentation>{} \mode<presentation>{}
\input{../def-beamer} \input{../def-beamer}
\Drafttrue \Draftfalse
\newcommand{\topicTitle}{34 Black Box Testing (Ch.\ 6)} \newcommand{\topicTitle}{34 Black Box Testing (Ch.\ 6)}
\ifDraft \ifDraft
...@@ -81,27 +81,22 @@ TBD ...@@ -81,27 +81,22 @@ TBD
\begin{itemize} \begin{itemize}
\item Today's slide are partially based on slides by Dr.\ Wassyng \item Today's slide are partially based on slides by Dr.\ Wassyng
\item No tutorials next week \item A4: Due April 9 at 11:59 pm
\item Final tutorials on Friday, Apr 6
\item A4
\bi
\item Due April 3 at 11:59 pm
\ei
\item Course evaluations \item Course evaluations
\bi \bi
\item CS 2ME3: 28\% \item \href{https://evals.mcmaster.ca}{https://evals.mcmaster.ca}
\item SE 2AA4: 40\% \item Start: Tues, Mar 27, 10:00 am
\item \href{https://evals.mcmaster.ca/login.php}{https://evals.mcmaster.ca/} \item Close: Tues, Apr 10, 11:59 pm
\item Closes: 11:59 pm, Monday, April 10 \item {Your participation is highly valued}
\ei \item {Grade bonus for class participation}
% \item CAS poster and demo competition
% \bi % \bi
% \item April 6, 4 - 6 pm % \item CS 2ME3 C02: 40\%
% \item ITB/201 (tentative) % \item CS 2ME3 C01: 23\%
% \item 12 graduate student submissions % \item SE 2AA4 C01: 22\%
% \ei % \ei
\ei
\end{itemize} \end{itemize}
} }
...@@ -111,6 +106,56 @@ TBD ...@@ -111,6 +106,56 @@ TBD
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle{Path-Coverage Criterion}
\begin{itemize}
\item Select a test set $T$ that traverses all paths from the initial to the final node of $P$s control flow
\item It is finer than the previous kinds of coverage
\item However, number of paths may be too large, or even infinite (see while loops)
\item Loops
\begin{itemize}
\item Zero times (or minimum number of times)
\item Maximum times
\item Average number of times
\end{itemize}
\end{itemize}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle{The Infeasibility Problem}
\begin{itemize}
\item Syntactically indicated behaviours (statements, edges, etc.) are often impossible
\item Unreachable code, infeasible edges, paths, etc.
\item Adequacy criteria may be impossible to satisfy
\begin{itemize}
\item Manual justification for omitting each impossible test case
\item Adequacy ``scores'' based on coverage - example 95 \% statement coverage
\end{itemize}
\end{itemize}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle{Further Problem}
\begin{itemize}
\item \structure{What if the code omits the implementation of some part of the
specification?}
\item White box test cases derived from the code will ignore that part of the
specification!
\end{itemize}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame} \begin{frame}
\frametitle{Black Box Testing Example} \frametitle{Black Box Testing Example}
...@@ -506,7 +551,7 @@ dist & PointT & real & ~\\ ...@@ -506,7 +551,7 @@ dist & PointT & real & ~\\
independent component independent component
\item This does not exploit incrementality \item This does not exploit incrementality
\item Finding an ad-hoc way to take advantage of the hierarchy \item Finding an ad-hoc way to take advantage of the hierarchy
\item Think about testing PointT.java and PointMassT.java \item Think about testing PointT.py and PointMassT.py
\end{itemize} \end{itemize}
\end{frame} \end{frame}
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
\input{../def-beamer} \input{../def-beamer}
\Drafttrue \Drafttrue
\newcommand{\topicTitle}{37 Review for Final} \newcommand{\topicTitle}{36 Review for Final}
\ifDraft \ifDraft
\newcommand{\topic}{\topicTitle~DRAFT} \newcommand{\topic}{\topicTitle~DRAFT}
\else \else
......
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