From 1d9c67537f4aeb1747a5e152d5371dcf158bc03c Mon Sep 17 00:00:00 2001 From: Vince Knight Date: Mon, 12 Feb 2024 13:05:21 +0000 Subject: [PATCH] Add handout for testing. --- _topics/testing-of-code.md | 2 + assets/handouts/spring/07-testing/main.pdf | Bin 0 -> 16592 bytes assets/handouts/spring/07-testing/main.tex | 60 +++++++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 assets/handouts/spring/07-testing/main.pdf create mode 100644 assets/handouts/spring/07-testing/main.tex diff --git a/_topics/testing-of-code.md b/_topics/testing-of-code.md index b4b61b5..2d52a9a 100644 --- a/_topics/testing-of-code.md +++ b/_topics/testing-of-code.md @@ -7,3 +7,5 @@ note_urls: video_urls: - "Video demonstration of tutorial. - [YouTube](https://youtu.be/TaZYDG6Vags)" --- + +A handout is available [here]({{site.baseurl}}/assets/handouts/spring/05-documentation/main.pdf). diff --git a/assets/handouts/spring/07-testing/main.pdf b/assets/handouts/spring/07-testing/main.pdf new file mode 100644 index 0000000000000000000000000000000000000000..e2e0ee99915d1b2851ac2d6be2a7adf1fbdbecd4 GIT binary patch literal 16592 zcmbWeV~}XwlCE2}ZQHhO+qP}5vTfV8ZDW;f+g11Lh#S#+-|o}*ME{vFW5)QEImVk$ zj+rm1f`}L`BONOg>CxTw8x$iG0Rw@(krfmV551VBjf<%hy_k)mi>ZjIvAu~Yy^N`y zxr+q>Cp!ZlAC$9;lc}LCl*dMn+GgxB2ZHZz-Q6Y`yzPN@HbFBIG%z$05)AG2P*A)i z&(gxl;?dx|zdWZKUG6#F*{aM`#C0W(dJdQA6D%Ui0KQ=2pnpgs)Q;ZJ?MvHOU)$LP zwF4m|X;9HMtQ7Hdgb212V-bk$<8KhUYzzKJVJ|Fubp2kb<@FHv%B@Su2hnA2D0V&6 zkD}`iOpk8r{^_;0gSueoD2rETN7`$i7c)X=2K<) zm?;(o^Ibl6rBn-eS5-#?v4A7|3?9IGj;1k>54btlbQ)1Lj=RN<=I z)RE5b-!SY$lFJ%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uD+ros>IXp(gyA(Gh5#1dk02I5 zh*26zrJq6R>xEjmtLMyGuqITtdYS(?WDRQlcTh1c4*#X|N59JTH^vWe3;^oqzlP7* a#n8#c!^zYPijj?pl@W@RR8(FJ>i+@c9m~xC literal 0 HcmV?d00001 diff --git a/assets/handouts/spring/07-testing/main.tex b/assets/handouts/spring/07-testing/main.tex new file mode 100644 index 0000000..4e812a1 --- /dev/null +++ b/assets/handouts/spring/07-testing/main.tex @@ -0,0 +1,60 @@ +\documentclass{article} + +\usepackage[margin=1.5cm, includefoot, footskip=30pt]{geometry} +\usepackage[parfill]{parskip} +\usepackage[black]{merriweather} %% Option 'black' gives heavier bold face +\usepackage[T1]{fontenc} +\usepackage{hyperref} +\usepackage{minted} + +\pagenumbering{gobble} + +\title{Computing for Mathematics: Handout 7} +\date{} + +\begin{document} + +\maketitle + + +This handout contains a summary of the topics covered as well as outline of +expected progress. + +For further practice you can do the exercises available at +\href{https://vknight.org/pfm/building-tools/06-testing/exercises/main.html}{the +testing chapter of Python for Mathematics}. + +\section{Expected progress} +\hrule + +At the end of this week you should start writing your automated tests. + +\begin{itemize} + \item Write your \mintinline{python}{test_.py} file. + \item Include doctests in your \mintinline{md}{README.md} file. +\end{itemize} + +\begin{center} +\framebox{ + \textbf{At this stage I'd expect you to have tests for your library.} +} +\end{center} + +\section{Summary}\label{summary} +\hrule + +The programming topics covered in the +\href{https://vknight.org/pfm/building-tools/06-testing/introduction/main.html}{testing +chapter +} are: + +% TODO + +\begin{itemize} +\item Write an assert statement. +\item Write and run a test file. +\item Write doctests. +\item Run doctests. +\end{itemize} + +\end{document}