I am doing requirement analysis so I'm writing some use case diagrams. I'll try to clarify what I mean by virtual test case
with the following example:
I have a set of operations, for example {create
, read
, update
, delete
}. I would like to group them in a kind of virtual use case
, so I can later extend it and create a new use case with each operation. Something like:
o
-|- ----- ( basic operation ) <---- <<extends>> --- ( read )
/ \
The theory tells me that this is not correct, as the extensions in use cases shall introduce changes in the basic sequence of actions described by the base use case. In my case, the basic operation
use case is empty of real meaning, so it has no associated sequence of actions.
This could be useful for grouping actions depending on a menu item:
File Operations = {Save, Save As, Print, Exit}
How would you express something like that?