Skip to Content
Hands-On Software Engineering with Python
book

Hands-On Software Engineering with Python

by Nimesh Verma, Brian Allbee
October 2018
Beginner to intermediate
736 pages
17h 39m
English
Packt Publishing
Content preview from Hands-On Software Engineering with Python

Testing Data Persistence

Repeatable unit testing of code is rarely more critical than in the case of data persistence. Code can change or be replaced over time, perhaps even to the point of changing to a completely different system, written in a completely different language, but once data exists, it can potentially outlive any number of code bases that make use of it. The data in a system, it could be argued, is where the real business value usually exists, so testing of the processes that interact with it, and have the potential to destroy that value, is extremely important.

With that in mind, the bulk of this chapter will be focused on the following:

  • Writing the unit tests for the data object and related classes created in this iteration: ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Software Architecture with Python

Software Architecture with Python

Anand Balachandran Pillai
Data Structures and Algorithms in Python

Data Structures and Algorithms in Python

Michael T. Goodrich, Roberto Tamassia, Michael H. Goldwasser

Publisher Resources

ISBN: 9781788622011Supplemental Content