xak的专栏

Sometimes when I look at the world, I can see a line behind it.

用例中的前置条件和后置条件
A preconditions section definesall the conditions that must be true (i.e., describes the state ofthe system) for the trigger to meaningfully cause the initiation ofthe use case

Post-conditions are thestates the system can be in after the use case ends,such as systemstate or persistent data that is left when the use case iscomplete
A post-condition for a use case should be trueregardless of which alternative flows were executed; it should notbe true only for the main flow. If something could fail, you wouldcover that in the post-condition by saying “The action iscompleted, or if something failed, the action is not performed,”rather than just “The action is completed.”
eg.
Post-condition for the Control Light Use Case
On leaving this use case, the system remembers the currentbrightness level for the selected On/Off/Dim button
阅读更多
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/cubesky/article/details/38754837
个人分类: 其他技术
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

不良信息举报

用例中的前置条件和后置条件

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭