没有人可以帮助我进行软件测试吗? [英] No One can help me on Software Testing ?

查看:84
本文介绍了没有人可以帮助我进行软件测试吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Friends

我需要测试一些VC ++代码.
它适用于受保护/不受保护的代码,能否请您告诉我哪种软件适合测试,或者可以向我发送一些链接来帮助我,
?
我已经抛弃了NUnit,针对c ++的单元测试,cppunit软件,但是由于VC ++,我面临许多问题.

因此,请为我提供其他任何软件的帮助.

Hi Friends

I need to test some VC++ code.
It''s for protected/unprotected code can you please help me by telling which software is good for testing or can you send me some links.

I have gone throw NUnit, Unit testing for c++, cppunit software but in that I am facing many problems for VC++.

So please help me out for any other software.

推荐答案

以下是一些问题……

-受保护/不受保护的代码是什么意思?

-您的发展文化是什么?如果您还没有设计用于测试的代码(或者甚至最好先编写测试),那么在事件结束后编写测试就不会很轻松.

-测试的目的是什么?他们是为了证明大量的代码按照某种规范工作,还是在那里指定代码的工作方式?

如果您能回答后两个问题,那么世界其他地方可能会有帮助您的机会.如果不能,那么在担心使用哪种工具进行操作之前,请仔细阅读如何测试代码,这可能是一个主意.

干杯,



PS回应以下评论...

如果要对C ++代码进行单元测试,则可以下载cppunit lite,boost测试或仅使用C ++编写测试,然后再担心一下框架问题. assert()宏可以很好地工作,直到您知道必须测试什么为止.在确定要测试的内容之后,您可以对要使用哪种工具甚至是否要使用工具进行测试做出更明智的选择.

就我个人而言,我从未接触过CPPunit(或者实际上是整个XUnit系列),因为它们都很笨重.我无法评论您尝试过且无法设置的库的实用程序.
Here are a couple of questions back...

- what do you mean by protected/unprotected code?

- what''s your development culture? If you haven''t designed your code for testing (or even better written your tests first) you won''t have an easy time writing tests after the event.

- what''s the purpose of the tests? Are they to prove that a lump of code works according to some specification or are they there to specify how the code works?

If you can answer the last two then the rest of the world might have a chance helping you. If you can''t then it''s probably an idea to read around HOW you test code before worrying about WHAT tool to use to do it.

Cheers,

Ash

PS in response to the comment below...

If you want to do unit testing of C++ code then you can download something like cppunit lite, boost test or just write your tests in C++ and worry about a framewok later. The assert() macro can work fairly well until you know what you have to test. After you work out exactly what you want your tests for then you can make a more informed choice about what tool or even whether to use a tool for your testing.

Personally I''ve never got on with CPPunit (or actually the whole XUnit family) as they''ve all been very heavyweight. I can''t comment on the utility of the library you''ve tried and couldn''t setup.


这篇关于没有人可以帮助我进行软件测试吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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