There are two steps to create a module project:

  • Create a Modelio Studio project

  • Create the module’s project in the Modelio Studio project

Create the Modelio Studio project:

  1. Open Modelio

  2. Open the "File" menu and choose Junit dev tutorial create project newProject 16 "Create a project"

  3. In the Create a project dialog box:

    1. Select the Modelio Studio project type.

    2. Enter JUnit_sample as project name.

    3. Enter the following text for the project’s description: ‘This project contains a JUnit module sample.’

  4. The chosen project type will automaticaly include modules and model components. The modules and model components list are detailed here.

  5. To finish, click on "Create the project"

Junit dev tutorial create project Createaproject junit

Create the module’s project

The Modelio Studio project is created and open. Now the module’s project needs to be created:

On the junit package (under the JUnit_sample work model), open the contextual menu and select:
Junit dev tutorial create project studio16 "Modelio Studio" –> Junit dev tutorial create project studio16 "create a Module Project".

Junit dev tutorial create project JUnit Modelio3.4 create module ws
Module Information dialog box

Enter the module administrative information.

  • Label: Enter the module name. In our case, it is "JUnit". Note: This name is used for the jmdac filename.

  • Name: This field will be filled automatically

  • Description: Enter the module description:
    The JUnit module provides facilities to build unit tests for a Java application model.
    It creates and maintains a Java unit test model based on the user model following a simple paradigm: each class in the model that has to be JUnit-tested produces a corresponding JUnit test class.

  • Provider: Enter the provider. For example: My company

  • Icon: Select an 16x16 icon. Junit dev tutorial create project junit icon16

Junit dev tutorial create project JUnit Modelio3.4 create module ws module information
Module Features dialog box

Select the features that will be available for the module.

Note: The non-selected features can be added later

Select the following features:

  • MDA extensions

  • Property view

  • User Commands

Junit dev tutorial create project JUnit Modelio3.4 create module ws module features

Module Configuration dialog box

  • Artifact id: junit

  • Namespace: org.sample

  • Version: 1.0.00

  • Production path: $(Project)/JUnit (leave the default value)

Junit dev tutorial create project JUnit Modelio3.4 create module ws module configuration

<< Sample module design

Index

Creating a module profile >>