测试开发 [英] Test Development

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

问题描述

我的任务是对我们的软件进行测试

我之前还没有这样做,我应该从哪里开始呢?

对我来说,创建一个有用的结构很重要.

有没有人有经验,也许是如何开始的?


我非常感谢您提供任何信息..

Hi, I have the task of to take the tests of our software

I have not already do that before so, where should i start exactly?

Is important to me creating a structure which is also useful.

Does anyone have experience with it, perhaps how to start something?


I am grateful for any information ..

推荐答案

首先要确切了解代码应执行的操作,然后尝试不同的测试用例.
您还应该考虑使用单元测试.这是一个很好的起点
http://www.dreamincode.net/forums/topic/108976-c %23-unit-testing-basics/
Start by knowing exactly what the code should do and then try different test cases.
You should also consider using unit testing. This is an excellent starting point
http://www.dreamincode.net/forums/topic/108976-c%23-unit-testing-basics/


首先,请尝试忽略该代码-如果您熟悉的话.
获取业务需求和功能规范的副本.
进行一般测试,但效果很小,但至少可以证明安装成功.
如果存在部署问题,这将使您的发布/打包人员更加警惕.
测试每个需求是否有效.
测试每个功能是否正常.
尝试破坏事物-例如在数字字段中粘贴字母.
测试日期验证,例如6月31日,2月29/30.
做批量测试-随着交易数量的增加,性能是否会下降.
Simultests-两个用户同时尝试相同的任务.
故障转移测试.当计算机/电源中途出现故障时,复杂的交易会怎样?
First of all, try ignore the code - if you are familiar with it.
Get copies of the business requirements and functional specification.
Have a general test that does very little but at least proves the installation is successfull.
This will give your release / packaging people a heads up if there are deployment issues.
Test that each requirement works.
Test that each function works.
Try to break things - e.g. sticking alphas in number fields.
Test date validation e.g. February 29/30, June 31.
Do volume testing - does performace fall off as the transaction count rises.
Simultests - two users attempting the same task at the same time.
Fail over testing. What happens to complex transactions when the computer / power fails mid way?


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

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