I am working on a C# WinForms application in VC# 2008 Express, writing unit tests with NUnit 2.5.5, and running them via the NUnit GUI program. Right now to run them I switch the output type to \'clas
What ways can the Sample开发者_运维技巧ConfirmationDialog be unit tested? The SampleConfirmationDialog would be exercised via acceptance tests, however how could we unit test it, seeing as MessageBox
Is there an MSTest equivalent to NUnit\'s Explicit Attri开发者_高级运维bute?No, the closest you will get is with the [Ignore] attribute.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
I discovered [Theory] and [Datapoint] attributes in NUnit. I am not very sure about how should I use these. I think they can be used for data-driven testing and this has got me interested. There aren\
Is there any advantage to picking NUnit for unit/int开发者_Python百科egration testing vs the built in MsTest?They are pretty similar. Differences are subtle.
I have a C#/ASP.NET website that has some code (*.cs) files in the App_Code directory.I would like to test them using NUnit.I have written a test file with the proper [TestFixture] and [Test] annotati
Generally, I\'m still very much a unit testing neophyte. BTW, you may also see this question on other forums like xUnit.net, et cetera,
I have an Nunit test which uses selenium RC to run tests against our UI. I want to run the tests against 2 different servers, which means having the call to selenium.open() with 2 different servers.Ho
MSTest has a [ClassCleanup()] attribute, which needs to be static as far as I can tell. I like to run through after my unit tests have run,and clean up my database. This all works great, however when