mspec
How do I do unit & integration testing in a BDD style in ASP.NET MVC?
I am learning Behavior Driven Development with ASP.NET MVC and, based on a post from Steve Sanderson, understand that BDD can mean, at least, the following test types: individual units of code & U[详细]
2023-02-09 00:40 分类:问答MSpec runs under ReSharper fine, but TD.NET throws exception
I\'ve been receiving this exception when trying to run mspec specification tests with TD.NET. ------ Test started: Assembly: DesignRightWeb.Specs.dll ------[详细]
2023-02-07 04:55 分类:问答How do I write context/specification style unit tests with an MSTest/xUnit framework?
I have been using MSpec to write my unit tests and really prefer the BDD style, I think it\'s a lot more readable. I\'m now using Silverlight which MSpec doesn\'t support so I\'m having to use MSTest[详细]
2023-02-03 19:52 分类:问答Can mspec tests run in the native Visual Studio 2010 test runner?
I have mspec running with R#, but my client doesn\'t have R# and doesn\'t plan on getting it. :( I want my test su开发者_开发百科ite (written completely with mspec) to be valuable to my client, so it[详细]
2023-02-02 15:28 分类:问答BDD naming: when does it stop being about the user experience?
I\'m drawn to MSpec with the hopes of one day sharing my test reports with non-developers*, but that is most valuable (right?) if I discuss the business (the user experience) in the test/scenario name[详细]
2023-01-31 17:00 分类:问答Is there a way to RowTest using MSpec?
Whilst practising the Check Out Kata with MSpec I wanted to remove the duplication in my specs the same way that you would add a RowTest in NUnit, but I couldn\'t figure out how.[详细]
2023-01-28 21:49 分类:问答Why does this ViewResult fail MSpecMVC's ShouldBeAView assertion?
I\'ve been following James Broome\'s tutorial to teach myself MSpec and some of the related infrastructure. I\'m using the latest version of MSpec, MSpecMvc, and ASP.NET MVC 2 and I\'m not using J.P B[详细]
2023-01-28 19:35 分类:问答How do I fake a user log in for unit testing purposes using fakeiteasy within asp.net mvc 2
I have just started learning and usingASP.NET MVC 2 and also getting more involved into unit testing my code. My question is broadly how to simulate a user log in by passing in credentials within my t[详细]
2023-01-28 18:22 分类:问答Set up test using MSpec with MSpecMVC, RedirectToAction and ViewData test condition problem
In my HomeController I\'ve got the following: public ActionResult Index() { SetModuleTitle(\"Welcome\");[详细]
2023-01-28 13:51 分类:问答Code Coverage with MSpec
Can anyone recommend a free code coverage tool for use with MSpec on VS2010/.NET4开发者_开发问答? Can TD.NET do this?TD.Net supports code coverage with MSpec (Test with -> Coverage or NCover). You can[详细]
2023-01-27 07:11 分类:问答
加载中,请稍侯......