English 中文(简体)
How to do unit testing in Visual Studio 2005?
原标题:

Is there any support for unit testing in Visual Studio 2005? After googling for some time, I found out that we can do unit testing with Visual Studio Team System, but I do not have it.

I cannot install NUnit also because of some stupid rules of my organization. Does anyone knows how to do unit testing in Visual Studio?

Many Thanks

最佳回答

If you upgrade to VS 2008, they changed their stance and included unit testing in the non Team suite level versions of the IDE.

问题回答

If you can t use NUnit (and presumably MBUnit etc.), then you have two options: upgrade to VS2005 Team System or VS2008 Professional. Sure, it will possibly cost money, but if challenged when presenting your case to the manager, point out that their "policy" is what s costing them the money.





相关问题
run unit tests and coverage in certain python structure

I have some funny noob problem. I try to run unit tests from commandline: H:PROpyEstimator>python src estpython est_power_estimator.py Traceback (most recent call last): File "src est...

How to unit-test an enterprise symfony project?

I´m working on a huge project at my work. We have about 200 database tables, accordingly a huge number of Models, Actions and so on. How should I begin to write tests for this? My biggest problem ...

Code Coverage Tools & Visual Studio 2008 Pro

Just wondering what people are using for code coverage tools when using MS Visual Studio 2008 Pro. We are using the built-in MS test project and unit testing tool (the one that come pre-installed ...

Unit testing. File structure

I have a C++ legacy codebase with 10-15 applications, all sharing several components. While setting up unittests for both shared components and for applications themselves, I was wondering if there ...

Unit Testing .NET 3.5 projects using MStest in VS2010

There s a bug/feature in Visual Studio 2010 where you can t create a unit test project with the 2.0 CLR. https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=483891&wa=...

Unit Test for Exceptions Message

Is there a simple (Attribute-driven) way to have the following test fail on the message of the exception. [TestMethod()] [ExpectedException(typeof(ArgumentException))] public void ExceptionTestTest() ...

热门标签