用例 - 帮助 [英] Use Cases - Help

查看:22
本文介绍了用例 - 帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是编写用例的新手.我听说用例是非技术性的表达.

I am new to writing use cases.I heard that Use cases are non-technical expressions .

我有以下任务,我必须为其编写用例.
(我降低了对你理解的要求)

I have the following task for which i have to write Use case.
(I reduced the requirement for your understanding)

ABC 公司的注册客户使用凭据登录系统进行检索特定服务提供者的完整地址.他在 TextBox 上搜索服务提供者.系统与数据库通信并将结果显示在监视器上.

Registered Customer of ABC company logged in to the system with credentials to retrieve the complete Address of particular service provider.He searches the service provider on TextBox.The System communcates with database and displays the result on monitor.

我是技术人员,
我必须编写用例来向客户端解释系统的行为.

I am technical guy,
I have to write use case to explain the behavior of the system to the client.

我写的用例如下:

用例名称:地址定位系统
主要参与者:客户
利益相关者:ABC 公司
前提:客户成功登录系统

Use case Name: Address Locating System
Primary Actor: Customer
Stakeholder: ABC Company
Precondition: Customer Successfully Logged in to the system

成功情景:

  1. 客户在提供的框中输入搜索词.
    • 系统在搜索词中搜索匹配项.
    • 系统向客户提供地址.

扩展点:当没有成功匹配时通知客户
发布条件:无

Extension Point: Client is informed when no successful match
Post condition: None

  1. 上述用例是否正确?
    • 技术人员真的需要编写用例吗?

推荐答案

每当我需要编写用例时,我都会拿起我的 UML Distilled 并使用其建议的格式.格式存在差异,因此这不是唯一的方法.无论如何,将它放在您的办公桌上是一个很好的参考.您还可以查看编写有效用例;不过我还没读过.

Whenever I need to write a Use Case, I pick up my copy of UML Distilled and use its suggested format. There are variations in the formats, so this isn't the only way. In any case it's a good reference to have on your desk. You might also check out Writing Effective Use Cases; I haven't read that one, though.

如果您需要免费示例,请参阅:

If you'd like a free example, see:

http://ontolog.cim3.net/cgi-bin/wiki.pl?UseCasesMartinFowlerSimpleTextExample

我可能会避免使用在提供的框中"位 - 这是一个可能会更改的实现细节.我也可能将 2 更改为系统搜索匹配项".

I might avoid the "in the box provided" bit - that's an implementation detail that might change. I might also change 2 to just "System searches for matches."

是的,技术人员确实需要编写可供非技术领域专家阅读的用例.

And yes, technical people do need to write Use Cases readable by non-technical domain experts.

这篇关于用例 - 帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆