Skip to content

Commit 3427a16

Browse files
committed
new testing resources
1 parent c4d6155 commit 3427a16

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

content/pages/04-web-development/35-testing.markdown

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ test runners, coverage reports and related libraries.
9797
[top answer on Stack Overflow](http://stackoverflow.com/questions/4904096/whats-the-difference-between-unit-functional-acceptance-and-integration-test)
9898
to that very question.
9999

100+
* [Testing Python applications with Pytest](https://semaphoreci.com/community/tutorials/testing-python-applications-with-pytest)
101+
walks through the basics of using Pytest and some more advanced
102+
ways to use it such as continuous testing through Semiphore CI.
103+
100104
* [The cleaning hand of Pytest](https://blog.daftcode.pl/the-cleaning-hand-of-pytest-28f434f4b684)
101105
provides a couple of case studies for how companies set up their testing
102106
systems. It then gives the boilerplate code the author uses for Pytest
@@ -106,7 +110,7 @@ test runners, coverage reports and related libraries.
106110
shows how to get a basic [pytest](http://pytest.org/latest/) test
107111
running for a Django project and explains why the author prefers pytest
108112
over standard unittest testing.
109-
113+
110114
* [Distributed Testing with Selenium Grid and Docker](https://testdriven.io/distributed-testing-with-selenium-grid)
111115
shows how to distribute automated, browser tests with Selenium Grid and
112116
Docker Swarm. It also looks at how to run tests against a number of
@@ -119,6 +123,21 @@ test runners, coverage reports and related libraries.
119123
[integration](/integration-testing.html) and examines when to use example
120124
and bulk tests.
121125

126+
* [How to run tests continuously while coding](https://www.blog.pythonlibrary.org/2017/03/14/how-to-run-python-tests-continuously-while-coding/)
127+
contains a Python script that uses the
128+
[watchdog](https://pythonhosted.org/watchdog/) to check for changes
129+
to source code files in your project directory. If changes are detected
130+
then your tests will be run to check that everything is still working
131+
as intended.
132+
133+
* This test-driven development series shows you how to write an interpreter
134+
in Python and contains a ton of great code samples to learn from:
135+
136+
* [A game of tokens: write an interpreter in Python with TDD - Part 1](http://blog.thedigitalcatonline.com/blog/2017/05/09/a-game-of-tokens-write-an-interpreter-in-python-with-tdd-part-1/)
137+
* [A game of tokens - part 2](http://blog.thedigitalcatonline.com/blog/2017/10/01/a-game-of-tokens-write-an-interpreter-in-python-with-tdd-part-2/)
138+
* [A game of tokens - part 3](http://blog.thedigitalcatonline.com/blog/2017/10/31/a-game-of-tokens-write-an-interpreter-in-python-with-tdd-part-3/)
139+
* [A game of tokens - part 4](http://blog.thedigitalcatonline.com/blog/2018/06/02/a-game-of-tokens-write-an-interpreter-in-python-with-tdd-part-4/)
140+
122141
* [Pytest leaking](https://nvbn.github.io/2017/02/02/pytest-leaking/)
123142
examines situations where tests leak memory and can cause abnormal
124143
results if they are not fixed.

content/pages/04-web-development/37-integration-testing.markdown

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,8 @@ during development so they can be addressed immediately.
6060
presents Google's data on where their integration tests fail and how
6161
the tools you use can sometimes lead to higher incidents of failed
6262
tests than other testing tools.
63+
64+
* [Unleash the test army](http://wordaligned.org/articles/unleash-the-test-army)
65+
covers the author's first impressions of using Hypothesis for testing
66+
the properties of a system under test.
67+

content/pages/meta/00-change-log.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ on GitHub.
1616

1717
## 2018
1818
### October
19+
* Added a bunch of new [testing](/testing.html) page resources.
1920
* Published new post on
2021
[How to Provision Ubuntu 18.04 LTS Linux Servers on DigitalOcean](/blog/provision-ubuntu-1804-linux-servers-digitalocean.html).
2122
* Published a new blog post showing

0 commit comments

Comments
 (0)