Task: Translate
This task generates shippable-quality code from the design model. The development process has been mostly about analysis and design up until this point.
Disciplines: Test
Purpose
The purpose of this task is to create deliverable code from the design model.  
Relationships
RolesPrimary Performer: Additional Performers:
InputsMandatory:
    Optional:
    • None
    Outputs
      Main Description

      Up until this point, you have been working solely with the model for the current prototype. The model is used to represent the behavior of the system, but it does not perform the functionality of the system. The translation of a model will provide you with source code that will perform the desired functionality. The translation of a model into source code should be relatively easy since most tools have compilers that automatically generate code from a given model.

      The output from this task is a constructed system component. After this task has been completed, you should have a usable piece of source code and a compiled executable that will be unit tested.

      Steps
      Translate model into code
      Use your modeling tool to forward generate code or manually write the code in the IDE or source code editor of your choice.
      Manually write code (optional)
      If needed, write or update source code for elements not explicitly modeled.  This is sometimes done for low level software such as device drivers.
      Compile and link code into testable component
      This step involves running the source code compiler and linker to construct a testable executable component.