-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Python Real-World Projects
By :

This project has the following deliverables:
Documentation in the docs
folder.
Acceptance tests in the tests/features
and tests/steps
folders.
Unit tests for the application modules in the tests
folder.
Application to clean some acquired data and apply simple conversions to a few fields. Later projects will add more complex validation rules.
We’ll look at a few of these deliverables in a little more detail.
When starting a new kind of application, it often makes sense to start with acceptance tests. Later, when adding features, the new acceptance tests may be less important than new unit tests for the features. We’ll start by looking at a new scenario for this new application.
As we noted in Chapter 4, Data Acquisition Features: Web APIs and Scraping, we can provide a large block of text as part of a Gherkin scenario. This can be the contents of an input file. We can consider something like the following scenario.
Scenario...