summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrabhu Ramachandran2019-04-18 07:28:12 +0530
committerPrabhu Ramachandran2019-04-18 07:28:12 +0530
commit035c22dcfdddddcbffe02dc3e20934a2cf80a62d (patch)
tree394c1df997e1a6d9fe2a3c1d93346b830c7a0fd8
parent43f161eb0558b42f00e749d4e086e5e443b52ac3 (diff)
downloadsees-035c22dcfdddddcbffe02dc3e20934a2cf80a62d.tar.gz
sees-035c22dcfdddddcbffe02dc3e20934a2cf80a62d.tar.bz2
sees-035c22dcfdddddcbffe02dc3e20934a2cf80a62d.zip
Minor fixes.
-rw-r--r--slides/test_driven_development/tdd_simple.tex13
1 files changed, 10 insertions, 3 deletions
diff --git a/slides/test_driven_development/tdd_simple.tex b/slides/test_driven_development/tdd_simple.tex
index ae57c69..bbb308d 100644
--- a/slides/test_driven_development/tdd_simple.tex
+++ b/slides/test_driven_development/tdd_simple.tex
@@ -190,7 +190,7 @@ AssertionError
\end{lstlisting} %$
\begin{itemize}
- \item We have our code unit stub, and a failing test.
+ \item We have our code unit stub, and a failing test.
\item The next step is to write code, so that the test just passes.
\end{itemize}
\end{frame}
@@ -262,7 +262,7 @@ def gcd(a, b):
\end{itemize}
\begin{lstlisting}
def gcd(a, b):
- """Returns the Greatest Common Divisor of the
+ """Returns the Greatest Common Divisor of the
two integers passed as arguments.
Args:
@@ -322,7 +322,7 @@ if __name__ == '__main__':
\frametitle{\texttt{nose} tests}
\begin{itemize}
\item It is not easy to organize, choose and run tests scattered
- across multiple files.
+ across multiple files.
\item \texttt{nose} module aggregate these tests automatically
\item Can aggregate \texttt{unittests} and \texttt{doctests}
\item Allows us to pick and choose which tests to run
@@ -339,4 +339,11 @@ $ nosetests
\end{itemize}
\end{frame}
+
+\begin{frame}
+ \frametitle{\texttt{py.test}}
+ \begin{itemize}
+ \item Another test runner with different features
+ \end{itemize}
+\end{frame}
\end{document}