-
Book Overview & Buying
-
Table Of Contents
Hands-On Software Engineering with Python - Second Edition
By :
These changes are tagged in the GitHub repo as CH-14-Test-Stubbing.
Achieving the end goals for the unit-test suite that were defined in the testing standards starts with making sure that every source code entity has a corresponding test suite entity. Specifically, every source module should have a corresponding test suite module, and every member of each source module should have a corresponding test case in the test suite. Once those module members and their corresponding test members have been identified, the happy- and unhappy-path rules noted above also need to be checked. To that end, the HMS team found a third-party package that at least identifies missing test entities for standard Python classes: goblinfish-testing-pact (https://pypi.org/project/goblinfish-testing-pact/).
Following the instructions in the MANUAL-SETUP.md file in that package’s documentation, they were able to quickly generate test modules...