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

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
个人分类: 其他技术
上一篇Draw Call Batching
下一篇46 Tips & Tricks for 2D mobile Performance in Unity
想对作者说点什么? 我来说一句

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

关闭
关闭
关闭