CS447 Lecture Notes - Lecture 1: Precondition, Postcondition, Activity Diagram
Document Summary
Create graphs from use cases and cover them. We will actually use activity diagrams, not use cases (so that we have graphs with more than 1 path. ) Note that uml class diagrams aren"t so helpful. Set of use cases (see below) isn"t very useful for testing, although we could use node coverage. play and win play and lose watch demo. Here is a more elaborated description of a use case. Player successfully drives to the goal in allotted time. 1: when player passes a checkpoint, system extends timer, system displays appropriate winning ending, if player has a high score, get initials and add to highscore list, return to demo mode. Here is an activity diagram for this use case. You should be able to do the following with graphs: Summarizing structural coverage: generic; hence broadly applicable, uses no domain knowledge. Summarizing data ow coverage: de nitions and uses are a concept that often reappears.