Book Image

Hands-On Software Engineering with Python

By : Brian Allbee, Nimesh Verma
Book Image

Hands-On Software Engineering with Python

By: Brian Allbee, Nimesh Verma

Overview of this book

Software Engineering is about more than just writing code—it includes a host of soft skills that apply to almost any development effort, no matter what the language, development methodology, or scope of the project. Being a senior developer all but requires awareness of how those skills, along with their expected technical counterparts, mesh together through a project's life cycle. This book walks you through that discovery by going over the entire life cycle of a multi-tier system and its related software projects. You'll see what happens before any development takes place, and what impact the decisions and designs made at each step have on the development process. The development of the entire project, over the course of several iterations based on real-world Agile iterations, will be executed, sometimes starting from nothing, in one of the fastest growing languages in the world—Python. Application of practices in Python will be laid out, along with a number of Python-specific capabilities that are often overlooked. Finally, the book will implement a high-performance computing solution, from first principles through complete foundation.
Table of Contents (21 chapters)
Free Chapter
1
Programming versus Software Engineering

Building/distribution, demonstration, and acceptance

The build process for the individual modules will not have changed much, though with unit tests now available, those can be added to the setup.py files that are used to package the individual Python packages. The setup function that's already in place can, with minimal changes, be used to execute the entire test suite simply by providing a test_suite argument that points to the root test suite directory.

It may be necessary to ensure that the path to the test suite directory has been added to sys.path as well:

#!/usr/bin/env python

import sys
sys.path.append('../standards')
sys.path.append('tests/test_hms_core') # <-- This path

The current setup function call, then, includes test_suite like this:

setup(
    name='HMS-Core',
    version='0.1.dev0',
    author='Brian D...