The Code Generator is a standalone Java application that can be used to generate code from an .mxp file. To install the Code Generator download the ZIP archive, unzip the archive in a folder where you have writing permissions, and run the .jar file. In case if you have any issues with running the Code Generator, you can check out this FAQ file
This version of the Code Generator will not work on Mac. Therefore, MAC OS users can run the Code Generator via docker. The instructions can be found in this manual.
The current version is able to handle all models without inheritance and some (not all) models with inheritance.
This picture shows the general flow of how code is generated.
|
To generate a prototype application, proceed with the following steps:
To re-run an already generated application, browse to to your saved application folder and click the RUN.bat in that folder to start your application.
|
The generated prototype application will contain one tab per each business object type. Each tab
When trying to execute a non-allowed action, the prototype application will explain which part of the model contains the constraint that causes the action to be refused. |
Testing is crucial to establish the quality of software. The most common mistakes when learning testing is suboptimal coverage. A high testing coverage indicates that most of the developed software has been tested, therefore, reducing the quality issues that the final software product may have. TesCaV allows validating the test cases defined by students and graphically determines the level of testing coverage over the system modeled. Preliminary results show TesCaV as a promising approach for MBT teaching/learning processes. TesCaV can be run as follows:
After you have done more tests on the generated application, you have to start TesCaV again by clicking "Run TesCaV" to update the visualizations. |