Skip to content

Commit feddc67

Browse files
committed
add testing resources
1 parent d448cc7 commit feddc67

File tree

4 files changed

+26
-0
lines changed

4 files changed

+26
-0
lines changed

content/pages/02-development-environments/15-application-dependencies.markdown

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,11 @@ developers.
220220
a configuration for ensuring tests run against your code and how to
221221
properly package your project.
222222

223+
* [12 Alternatives for Distributing Python Applications in 2020](https://tryexceptpass.org/article/distributing-python-applications/)
224+
covers packaging with [Docker](/docker.html), Vagrant, PyInstaller,
225+
Briefcase, virtual environments, Pipx and several more options for
226+
bundling and running Python code.
227+
223228
* [Python Application Dependency Management in 2018](https://hynek.me/articles/python-app-deps-2018/)
224229
presents some critical analysis and critique oof the existing Python
225230
dependency management tools including newer ones such as pipenv and

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,16 @@ test runners, coverage reports and related libraries.
8585
* [Python Testing](http://pythontesting.net/) is a site devoted to testing
8686
in - you guessed it - the Python programming language.
8787

88+
* [In praise of property-based testing](https://increment.com/testing/in-praise-of-property-based-testing/)
89+
is an article by the author of the [Hypothesis](https://hypothesis.works/)
90+
testing tool written in Python. The article explains the shortcomings of
91+
example-based tests and how property-based testing can augment or replace
92+
those example-based tests to find more defects in software. There is also
93+
a great
94+
[introductory post on Hypothesis](https://hypothesis.works/articles/incremental-property-based-testing/)
95+
that goes into further detail about getting your first Hypothesis tests
96+
up and running.
97+
8898
* Google has a [testing blog](http://googletesting.blogspot.com/) where
8999
they write about various aspects of testing software at scale.
90100

content/pages/04-web-development/36-unit-testing.markdown

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ Python-specific applications.
102102
is the transcript of an interview with Robert Collins who is a core
103103
committer of `unittest`.
104104

105+
* [Precise Unit Tests with PyHamcrest](https://orbifold.xyz/pyhamcrest.html)
106+
is a short tutorial on using the
107+
[PyHamcrest](https://github.com/hamcrest/PyHamcrest) assertion tool for
108+
unit testing.
109+
105110
* [Why most unit testing is a waste](https://rbcs-us.com/documents/Why-Most-Unit-Testing-is-Waste.pdf)
106111
discusses how low risk unit tests rarely fail even as the code
107112
changes and why they do not matter as much to a project's health as

content/pages/04-web-development/42-websockets.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,12 @@ Python.
272272
[handy WebSockets reference chart](http://caniuse.com/#feat=websockets)
273273
for which web browsers and specific versions support WebSockets.
274274

275+
* [WebSockets for fun and profit](https://stackoverflow.blog/2019/12/18/websockets-for-fun-and-profit/)
276+
has a nice concise overview of WebSockets alternatives like long polling
277+
and Server-Sent Events (SSE) before it goes into a WebSockets example
278+
that includes [JavaScript](/javascript.html) code for the client-side
279+
implementation.
280+
275281
* Mozilla's
276282
[Developer Resources for WebSockets](https://developer.mozilla.org/en-US/docs/WebSockets)
277283
is a good place to find documentation and tools for developing with

0 commit comments

Comments
 (0)