Skip to content

Commit 915f2d6

Browse files
committed
Move unittest examples to their own directory
1 parent 962c59e commit 915f2d6

34 files changed

+18
-6
lines changed

source-code/testing/README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,15 @@
33
Testing is an integral part of the software development process. Unit
44
testing is a popular technique, and is used in test-driven development
55
(TDD). Python's `unittest` module in its standard library is quite
6-
versatile.
6+
versatile, but more modern packages are available.
77

88
## What is it?
99

10-
1. `Simple`: a simple example demonstrating useful assertion function in
11-
unittest`.
12-
1. `Fixtures`: an example of the use of fixtures for unit testing in the
13-
context of database testing.
10+
1. `Unittest`: illustration of using the unittest` framework in
11+
Python's standard library.
1412
1. `PyTest`: `pytest` is a more modern and convenient testing framework
1513
than that provided by Python's standard library.
1614
1. `Asserts`: `assert` is a Python statement, so it not part of unit
1715
testing per se. It is mainly intended for contract-based programming
1816
and one can prevent code to be emitted for asserts by using the
1917
`-O` optimizatino flag when running the code.
20-
1. `Newick`: illustration of unit testing on real world code.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)