xunit.net
Unit Testing (xUnit) an ASP.NET Mvc Controller with a custom input model?
I\'m having a hard time finding information on what I expect to be a pretty straightforward scenario.I\'m trying to unit test an Action on my ASP.NET Mvc 2 Controller that utilizes a custom input mode[详细]
2022-12-30 12:22 分类:问答How to write a test for accounts controller for forms authenticate
Trying to figure out how to adequately test my accounts controller.I am having problem testing the successful logon scenario.[详细]
2022-12-26 03:11 分类:问答Unit test for Web Forms MVP presenter has a null Model
I am using Web Forms MVP to write an DotNetNuke user control.When the \'SubmitContactUs\' event is raised in my unit test the presenter attem开发者_JAVA百科pts to set the \'Message\' property on the M[详细]
2022-12-22 13:40 分类:问答Where to put my xUnit tests for an F# assembly?
I\'m working on my first \'real\' F# assembly, and trying to do things right. I\'ve managed to get xUnit working too, but currently my test module is inside the same assembly. This bothers me a bit,[详细]
2022-12-22 01:10 分类:问答xUnit false positive when comparing null terminated strings
I\'ve come across odd behavior when comparing strings. First assert passes, but I don\'t think it should.. Second assert fails, as expected...[详细]
2022-12-19 19:17 分类:问答Should I test UDP server code, and if so - why and how?
I don\'t have much experience doing unit testing. From what I learned, code should be decoupled, and I should not strive to test private code, just public methods, setters, etc etc.[详细]
2022-12-19 14:47 分类:问答Moq and accessing called parameters
I\'ve just started to implement unit tests (using xUnit and Moq) on an already established project of mine. The project extensively uses dependency injection via the unity container.[详细]
2022-12-17 11:26 分类:问答Xunit: Perform all 'Assert'ions in one test method?
Is it possible to tell xUnit.net to perform all e.g. Assert.True() in one test method? Basically in some of our use/testcases all assertions belong logically to one and the same \'scope\' of tests and[详细]
2022-12-13 10:07 分类:问答easiest way to get continual unit tests running locally with visual alerts, with xUnit for C#/VS2008?
I\'m currently using MSTest in VS2008 for unit tests开发者_如何学JAVA, but I am looking at going to xUnit.net.[详细]
2022-12-12 23:03 分类:问答Migrate from MSTest to XUnit
We are thinking about moving our tests from MSTest to XUnit. Is there any migration application that 开发者_JS百科takes a MSTest and migrates it to XUnit?[详细]
2022-12-12 05:51 分类:问答
加载中,请稍侯......