Fitnesse与任何其他子系统测试工具 [英] Fitnesse vs any other subsystem testing tool

查看:60
本文介绍了Fitnesse与任何其他子系统测试工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们当前正在使用Fitness进行子系统测试. 我们在使用该工具时遇到了很多问题,很少提及

We are currently using Fitness for subsystem testing. we are having lot of issues using the tool, few to mention

  1. 编写Fixture的开发时间要比编写实际代码的时间多
  2. 围绕dll签入问题,以便Qa可以对其进行测试
  3. 使用NHibernate的项目运行Fitnesse的问题
  4. 在线帮助有限

我们计划使用其他工具进行测试 我们知道的几个选项是

We are planning to use some other tool to do the testing Few options which we know are

  1. SOAP用户界面
  2. 故事柜员

我不确定这些工具是否会出现类似的问题 知道是否有人有使用这些工具的经验并可以指导我们

I am not sure whether we will have similar problems with these tools It would be great to know if someone has experience using these tool and could guide us

在我们的项目中,我们采用了TDD,因此我们有用于单元测试的Nuits. 如果任何人都知道也可以扩展nunits进行子系统测试的工具/想法,那就太好了.

In our project we have adopted TDD so we have Nuits for unit testing. It would be great if anyone is aware of tools/ideas which could extend nunits for subsystem testing as well.

推荐答案

组件测试工具都与调用函数有关.您的测试使函数在夹具"中被调用,然后调用SUT.任何以此为前提的工具都会遇到您上面提到的问题.

Component testing tools are all about calling functions. Your tests cause functions to be called in "fixtures" that then call into the SUT. Any tool based on this premise will encounter the problems you reference above.

但是,大多数这些问题都是可以解决的.例如,您不应该编写大量的灯具.如果您是,那是不对的.其次,您的固定装置应该只不过是连接代码以在您的应用程序中调用API.如果您的灯具正在做大量工作,则说明出了点问题.

However, most of those problem are manageable. For example you should not be writing lots of fixtures. If you are, something is wrong. Secondly, your fixtures ought to be little more than wiring code to call the APIs in your application. If your fixtures are doing significant work, then something is wrong.

在大多数FitNesse环境中,固定装置的数量很少.例如,有200多个针对fitnesse本身的验收测试,但是固定装置的数量只有十几个,而且都相对简单.

In most FitNesse environments the number of fixtures is rather small. For example, there are over two hundred acceptance tests for fitnesse itself, but the number of fixtures in on the order of a dozen, and they are all relatively simple.

在fitnesse@yahoogroups.com网站上获取帮助.那里的人们通常对问题都非常敏感.

Get help on the fitnesse@yahoogroups.com site. The folks there are usually very responsive to questions.

这篇关于Fitnesse与任何其他子系统测试工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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