Skip to content

Commit da42253

Browse files
committedMay 25, 2020
Update documentation
1 parent d615231 commit da42253

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
 

‎app/README.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# pytesting - example application
2+
3+
[https://github.com/4OH4/pytesting](https://github.com/4OH4/pytesting)
4+
5+
This folder contains a skeleton Python application, as example target code for unit testing with Pytest.
6+
7+
As well as the application main code, it contains a worker module and a Data Access Object (DAO) that provides a layer of abstraction above a SQLite database:
8+
9+
![Dependency diagram showing the application structure, with a number of separate modules and a SQLite database](https://github.com/4oh4/pytesting/resources/dependency-graph.png)
10+
11+
The code doesn't really do much except read in data and communicate it to the database. Some parts of the code are deliberately light on input validation, to demonstrate how testing can identify unintended behaviours.

‎resources/dependency-graph.png

121 KB
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.