萍聚社区-德国热线-德国实用信息网

 找回密码
 注册

微信登录

微信扫一扫,快速登录

萍聚头条

查看: 606|回复: 6

问:为什么软件需要测试?

[复制链接]
发表于 2005-10-31 14:36 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册 微信登录

x
一定要测试吗?为什么?
如果没有专门的测试部门,程序员自己写程序自己测试应该怎么测试?
Die von den Nutzern eingestellten Information und Meinungen sind nicht eigene Informationen und Meinungen der DOLC GmbH.
发表于 2005-10-31 17:50 | 显示全部楼层
局部功能测试应该在组装测试前由局部coder自己完成
具体测试方法很多 什么黑和 白和的  总之 好的测试员很多是好的 coder出身
Die von den Nutzern eingestellten Information und Meinungen sind nicht eigene Informationen und Meinungen der DOLC GmbH.
发表于 2005-10-31 21:08 | 显示全部楼层
原帖由 tadios 于 2005-10-31 14:36 发表
一定要测试吗?为什么?
如果没有专门的测试部门,程序员自己写程序自己测试应该怎么测试?


不测试没法验证是否正确实现了设计时候的需求。总不能把软件写完了就这么给用户,然后说“功能都在里面了,自己看看你要的东西在不在里面”
Die von den Nutzern eingestellten Information und Meinungen sind nicht eigene Informationen und Meinungen der DOLC GmbH.
发表于 2005-10-31 21:36 | 显示全部楼层
现在用Eclipse开发软件的,都可以自己编写TestCase,因为Eclipse集成了JUnit,程序员自己就可以对自己的程序进行测试。。。
Die von den Nutzern eingestellten Information und Meinungen sind nicht eigene Informationen und Meinungen der DOLC GmbH.
 楼主| 发表于 2005-10-31 21:40 | 显示全部楼层
是不是可以说测试是为了control软件的质量和功能
Die von den Nutzern eingestellten Information und Meinungen sind nicht eigene Informationen und Meinungen der DOLC GmbH.
发表于 2005-10-31 22:42 | 显示全部楼层
software engineering is a strategy for producing high quality software.

Testing is the process of executing a program with the intent of finding
errors.  A good test case is one with a high probability of finding an as-yet
undiscovered error. A successful test is one that discovers an as-yet-undiscovered error.  Only exhaustive testing can show a program is free from defects.  However,
exhaustive testing is not possible.

A good test has a high probability of finding an error. ,is not redundant,
should be best of breed. ,should not be too simple or too complex.

Black-box or behavioral testing knowing the specified function a product is to
perform and demonstrating correct operation based solely on its specification
without regard for its internal logic. (You know the behavior of the system,
but do not know the internal detail), e.g. boundary value analysis: focus on
the boundaries of the input domain rather than its center.  (based on system
specifications).

White-box or glass-box testing knowing the internal workings of a product,
tests are performed to check the workings of all possible logic paths. (usually
based on the program flow graph).

[ 本帖最后由 flyingpig 于 2005-10-31 22:44 编辑 ]
Die von den Nutzern eingestellten Information und Meinungen sind nicht eigene Informationen und Meinungen der DOLC GmbH.
发表于 2005-10-31 23:15 | 显示全部楼层
lz问的问题以前上软件工程都学过,可惜考完就还给老师了。嘿嘿~~~~~~~~~
Die von den Nutzern eingestellten Information und Meinungen sind nicht eigene Informationen und Meinungen der DOLC GmbH.
您需要登录后才可以回帖 登录 | 注册 微信登录

本版积分规则

手机版|Archiver|AGB|Impressum|Datenschutzerklärung|萍聚社区-德国热线-德国实用信息网

GMT+1, 2025-2-12 03:38 , Processed in 0.501262 second(s), 19 queries , MemCached On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表