比方說,我正在製作一個關於填寫測驗的Use Case
。你只有5分鐘的時間來填寫測驗。在填寫測驗時,我應該如何發出信號Use Case
,然後Use Case
已完成?我只是用文字寫出來,還是有更正式的用法呢?如何表示用例已結束?
素描的什麼我的用例可以是:
1. The Actor tells the System he's ready to start the quiz.
2. The System presents the Actor with the first question of the Quiz and its 4 possible answers and tells him how much time he has left.
3. The Actor tells the System what is his chosen answer (a number between 1 and 4).
Repeat steps 2-3 until there are no questions left.
4. The System registers the results of the quiz.
我只是把操作如上圖所示,檢查時剩下的時間已經過去所有那些之間,但也有可能是一個更好的方式來證明這一點。
感謝