API for a Supermarket Controller: Development Process

Document Number: E01

Date of Issue: 4 October 2004

Author: John B. Wordsworth
J.B.Wordsworth@ex.ac.uk

Copyright: © J. B. Wordsworth 2004

Preface

This document defines a process for developing software in a style similar to that taught on COM2404 Design and Method. It is intended as teaching material for COM3403 Information Systems Design.

Table of contents

  1. Overview of the process
  2. Analysis
  3. Specification
  4. Design
  5. Test planning
  6. Implementation
  7. Testing

Overview of the process

The process defined below is used to produce application programming interfaces (APIs) for various kinds of businesses. The interfaces are implemented in Java. It is a modified waterfall process with the following activities:

The following diagram illustrates the activites and their dependence on on another.
Development process: actvity net

The following diagrams illustrate the documents produced and their relationships to the activites.
Development process: documents and actvities

Development process: documents and actvities

The process description describes each stage under the following headings:

Analysis

Entry criteria

Requirements statement signed off by business area experts, who should include potential customers.

Inputs

Method

Use vocabulary analysis to identify actors, objects, classes, relationships, and use cases.

Outputs

Exit criteria

Validation of the analysis document against the requirements statement by an inspection that includes experts in the business area.

Back to the table of contents.

Specification

Entry criteria

Analysis document signed off by inspection moderator.

Inputs

Method

Outputs

Exit criteria

Validation of the specification against the analysis document by inspection. The inspection checklist includes the following points:

Back to the table of contents.

Design

Entry criteria

Specification document signed off by inspection moderator.

Inputs

Outputs

Exit criteria

Validation of the design document by inspection. The inspection checklist includes the following points:

Back to the table of contents.

Test planning

Entry criteria

Design document signed off by inspection moderator.

Inputs

Method

For the public methods of each class, devise a scheme of tests that will cause each method to return each return code.

Outputs

Exit criteria

Validation of the test document by inspection. The inspection checklist includes the following points:

Back to the table of contents.

Implementation

Entry criteria

Design document signed off by inspection moderator.

Inputs

Outputs

Exit criteria

Validation of the implementation document by inspection. The inspection checklist includes the following points:

Back to the table of contents.

Testing

Entry criteria

Design document signed off by inspection moderator.

Test plan signed off by inspection moderator

Inputs

Method

Execute the test cases, starting with the classes at the end of the reference tree. Refer each failing test case to the author of the code. Repeat until all the tests succeed.

Outputs

Exit criteria

All tests successful.

Back to the table of contents.


Document history

4 October 2004

First issued.