aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2020-01-30 19:04:21 +0100
committerGravatar GitHub <[email protected]>2020-01-30 19:04:21 +0100
commite518dc2193f0f1ed31217e6097c2c6cdbc36e0e1 (patch)
tree13cead8016d3d9a8f3603c8bc7dee53bce6c8974
parentAdd additional resources to the test readme (diff)
Merge the note with the additional resources section
Move the link to Ned Batchelder’s talk and link the note to the section
-rw-r--r--tests/README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/README.md b/tests/README.md
index c3551bd54..be78821bf 100644
--- a/tests/README.md
+++ b/tests/README.md
@@ -2,7 +2,7 @@
Our bot is one of the most important tools we have for running our community. As we don't want that tool break, we decided that we wanted to write unit tests for it. We hope that in the future, we'll have a 100% test coverage for the bot. This guide will help you get started with writing the tests needed to achieve that.
-_**Note:** This is a practical guide to getting started with writing tests for our bot, not a general introduction to writing unit tests in Python. If you're looking for a more general introduction, you may like Corey Schafer's [Python Tutorial: Unit Testing Your Code with the unittest Module](https://www.youtube.com/watch?v=6tNS--WetLI) or Ned Batchelder's PyCon talk [Getting Started Testing](https://www.youtube.com/watch?v=FxSsnHeWQBY)._
+_**Note:** This is a practical guide to getting started with writing tests for our bot, not a general introduction to writing unit tests in Python. If you're looking for a more general introduction, you can take a look at the [Additional resources](#additional-resources) section at the bottom of this page._
## Tools
@@ -215,6 +215,7 @@ The answer to this is that we also need to make sure that the individual parts c
## Additional resources
+* [Ned Batchelder's PyCon talk: Getting Started Testing](https://www.youtube.com/watch?v=FxSsnHeWQBY)
* [Corey Schafer video about unittest](https://youtu.be/6tNS--WetLI)
* [RealPython tutorial on unittest testing](https://realpython.com/python-testing/)
* [RealPython tutorial on mocking](https://realpython.com/python-mock-library/)