Views, models and diagrams
Main application diagram at each stage of development
Requirements acquisition: use case diagram, activity diagram
Requirements analysis: class diagram, object diagram and package diagram
System analysis and design: state diagram, sequence diagram, collaboration diagram, activity diagram, component diagram
Test: class diagram for unit testing; deployment for integration testing Figure; Confirmation test case diagram
Use case diagram
The use case diagram consists of three elements
Participants, use cases, relationships
Participants
Use case diagrams show the interaction between the system and entities outside the system. These entities are referenced as participants. Participants represent roles, which can include users, external hardware, and other systems
example
Use cases are meaningful system services or functional units
relationship
Generalization, expansion, inclusion
There is a certain relationship between use cases and participants. This relationship belongs to an association relationship. The association relationship is a two-way one-to-one relationship, indicating the communication between participants and use cases.
Use case modeling
Use case description
Use case descriptions generally include: brief description (explanation), pre-conditions (prerequisites), basic event flow, other event flows, abnormal event flow, post-event (post-event) event conditions
In the process of use case modeling, first identify the participants, then determine the use cases related to each participant according to the participants, and finally refine the use case specifications for each use case.
System Boundary-the range of the entire problem space that the software system needs to deal with.
Any system has a boundary problem. The
boundary problem is to determine the intersection of the system and the adjacent system.
Defining the system boundary is to define the scope of the system, that is, which elements belong to the system Which elements belong to the adjacent system, clearly define the system target range