Development methodology Mechanistic design Continue to detail the internal workings of your system, breaking it down into smaller pieces and more classes, if necessary. Use “white-box” sequence diagrams to depict the class interactions within the system. Define the collaborations that are required to realize certain core cases by creating collaboration diagrams. Add to your model the “glue” objects that are used in the UML design patterns that you use. Again, you can use the code generation and animation tools to debug and test the model at this point. Your end result should be a more refined set of logical object models. Detailed design Continue to fill in the details of your design.
Get your individual classes working; fully define their constraints, internal data structures, and message passing behavior. Use activity diagrams and statecharts to define correct behavior. At this stage, you will probably begin typing in extra code in the implementation boxes in various diagrams. Use component diagrams to define the physical artifacts of your system and to include the libraries, executables, or legacy code you have deemed necessary for your model. Make low-level decisions about implementations, such as choosing static or dynamic instantiations. This should result in a more refined logical object model (or models) of your system.
Implementation The implementation phase is essentially the code generation and unit testing phase. Using Rational Rhapsody, write the code that is not generated automatically, such as the bodies of non-statechart operations. These include constructors, destructors, object methods, and global functions. Use the animation and tracing tools to test and debug sections of code and to make decisions about any optimization trade-offs. The testing phase In the testing phase, you determine not only whether your model is working, but whether it meets the requirements that you set in the analysis phase. Your end result should be a working system.
Rational Rhapsody includes the following features to assist with the testing phase: Љ Animator creates test scripts to apply external test stimuli to the system. Љ Tracer performs white, gray, and black-box regression testing. It also provides performance testing based on timing annotations or on a simulated time facility. Љ Sequence diagram comparison Automatically compares requirement sequences with implementation sequences. Rational Rhapsody 9