VS 2008 - 测试驱动? [英] VS 2008 - test driven?
问题描述
您好,
有谁能告诉我VS 2008是否有测试驱动开发
设施吗?如果是这样,在哪个版本?
谢谢,
Roger Pearse
Hello,
Can anyone tell me whether VS 2008 has test-driven development
facilities in it? If so, in which versions?
Thanks,
Roger Pearse
推荐答案
IIRC,2008 Pro包含测试工具(以前是Team System
,2005年)。
或者考虑适用于所有人的NUnit。
Marc
IIRC, 2008 Pro has the test tools included (it used to be Team System
upwards for 2005).
Or perhaps consider NUnit which would work for all.
Marc
1月28日,10:39 * am,Marc Gravell < marc.grav ... @ gmail.comwrote:
On Jan 28, 10:39*am, "Marc Gravell" <marc.grav...@gmail.comwrote:
IIRC,2008 Pro包含测试工具(以前是Team System
向上为2005年。
或者考虑一下NUnit哪个适用于所有人。
IIRC, 2008 Pro has the test tools included (it used to be Team System
upwards for 2005).
Or perhaps consider NUnit which would work for all.
我记得以前它曾经是Team System,这太可笑了。我已经确认它不在Express 2008版本中。
NUnit的问题让我们这些人从Eclipse进入它并且
JUnit缺乏适当的IDE集成。
一切顺利,
Roger Pearse
I remember that it used to be in Team System, which was ridiculously
costly. I''ve verified that it isn''t in the Express 2008 edition.
The problem with NUnit for those of us coming to it from Eclipse and
JUnit is the lack of proper IDE integration.
All the best,
Roger Pearse
" Marc Gravell" < ma ********** @ gmail.comwrote in message
news:uf ************** @ TK2MSFTNGP03.phx.gbl ...
"Marc Gravell" <ma**********@gmail.comwrote in message
news:uf**************@TK2MSFTNGP03.phx.gbl...
IIRC,2008 Pro包含测试工具(以前是团队系统
,比2005年更高)。
IIRC, 2008 Pro has the test tools included (it used to be Team System
upwards for 2005).
是的,单元测试现已整合到VS2008 Professional及以上版本中。
只需在您的解决方案中添加一个测试项目并开始编写测试(sub
用< TestMethod()>标记),然后在主项目中创建代码,以便
使单元测试工作。
>
-
Leon Mayne
http: //leon.mvps.org/
Yes, unit testing is now incorporated into VS2008 Professional and upwards.
Just add a test project to your solution and start writing your tests (subs
tagged with <TestMethod()>) and then create code in your main project to
make the unit tests work.
--
Leon Mayne
http://leon.mvps.org/
这篇关于VS 2008 - 测试驱动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!