Build and Run
Enterprise Architect 6.0 provides the ability to build, test, debug, run and execute deployment scripts - all from within the EA development environment. This capability is available in the Professional and Corporate versions of EA. Providing developers with tools to integrate UML development and modeling, with source code development and compilation. With the ability to generate nUnit and jUnit test classes from source classes using MDA Transformations and then integrate the test process directly into the EA IDE increasing your project productivity exponentially.
In addition to build/test and execute functionality, EA also includes debugging capabilities for .NET and Java. The debuggers built into EA are specifically designed to allow the capture of stack trace information as a developer or tester "walks through" the executing code. The final stack trace history can then be used to generate Sequence diagrams within EA - converting the actual code execution and calls into visual diagrams. This capability provides an excellent means of managing complexity within a project, by documenting existing code and ensuring that the code written performs as intended by the original architect/developer.
With the appropriate scripts setup EA can:
- Call a compiler to build your application, parse the compiler output to and open the internal editor to the location of errors and warnings given.
- Call a unit testing program to run the defined unit tests and parse the output of JUnit or NUnit and open the internal editor to failed tests.
- Debug source code using a customizable interface appropriate to the programming language.
Debugging
Enterprise Architect allows debugging of source code using a debug interface appropriate to the source language. Debugging is configured by creating a debug script for the package(s) you wish to test. One of the primary objectives of this feature is to allow you to perform a debug "walk" through executing code and capture your stack trace for direct conversion into a Sequence diagram. This is a great way to document and understand what your program is doing during its execution phase.
Unit Testing
EA supports integration with unit testing tools in order to make it easier to develop good quality software. EA helps you to create test classes with the JUnit and NUnit transformations. Then you can set up a test script against any package and run it.
Debugging System Requirements
Enterprise Architect 6.0 supports debugging .Net 1.n and Java 1.5 applications.
.Net
- .NET Framework 1.n, including C#, managed C++, VB.Net and J#
- Requires previous installation of the .NET framework from Microsoft.
Java
- JDK version 1.5 and above.
- Debugging is implemented through the Java Virtual Machine Tools Interface, which is part of the JDK 1.5 SDK
- Java 1.5 SDK must be set up prior to using the debugger and requires the additional setting of the JRE runtime location.