DalSoft / dalsoft-website-comments

0 stars 0 forks source link

blog/index.php/2009/11/17/13/nunit-templates-for-asp-net-mvc-2-0-preview-2/ #10

Open utterances-bot opened 2 months ago

utterances-bot commented 2 months ago

NUnit Templates for ASP.NET MVC 2 Preview 2 | DalSoft Ltd

I recently downloaded ASP.NET MVC 2.0 Preview 2 and was surprised to see that the NUnit test templates haven't made it into the build.

https://www.dalsoft.co.uk/blog/index.php/2009/11/17/13/nunit-templates-for-asp-net-mvc-2-0-preview-2/

DalSoft commented 2 months ago

Legacy Comments

DalSoft says: November 18, 2009 at 1:10 pm This also works with ASP.NET MVC 2 Beta


DalSoft says: November 18, 2009 at 4:02 pm Updated today to work with the latest version of NUnit (2.5.2).


developer says: November 21, 2009 at 5:23 pm thanx, very interesting


Peter Zak says: February 23, 2010 at 4:38 pm It’s great to see the example AccountController with NUnit test. Thanks.


Nathan Brown says: February 28, 2010 at 8:29 pm I had some problems using this template, so I went back to the ASP.Net MVC 2 RC 2 test template and modified it for NUnit. Check it out here: NUnit templates for ASP.NET MVC 2 RC 2


DalSoft says: March 4, 2010 at 5:40 pm Sorry to hear it’s not working for you, I think they have changed the AccountController in ASP.NET MVC 2 (Release Candidate 2) . Will check out your post, I’ll also will be upgrading my example soon.


Sergio says: March 28, 2010 at 6:22 pm What about Visual Web Developer? I tried using your quick guide but… it doesn’t work…


DalSoft says: March 30, 2010 at 6:46 pm I’m in the process of updating the code for the official MVC 2 release. Not promising anything, but if I can get it working with Visual Web Developer Express I’ll post it here.


Alexandra says: April 25, 2010 at 6:24 pm Any luck with Visual Web Developer Express, MVC 2 and NUnit?


DalSoft says: April 26, 2010 at 3:49 pm Sorry I haven’t had a chance yet, been spending all my spare time writing a massive post on MVC 2 templates.


Krokonoster says: August 17, 2010 at 1:38 pm Hi, Nice work and thanks for sharing. However things are not working out that well over here: Using VS 2k8 SP1 (Team System) and MVC 2. Followed your steps exactly, and indeed I had nUnit as option in the “Create a Test Project” screen. However, when selecting nUnit, the project get created without a test project. A [project].test are created in my solution directory, but it’s empty. Any advice? Krok


Rush says: January 1, 2011 at 3:25 pm Hello, is there any update of a template for Visual Web Developer Express 2010 ?

Thanks.


WEBCAMPS Sydney Day 1 / Part 2 « Ahmadreza's Notes says: April 30, 2011 at 10:04 am […] testing MVC 2 projects. How to: Add a Custom MVC Test Framework in Visual Studio and a post about NUnit Template for ASP.NET MVC 2 […]


mvcmax says: June 3, 2011 at 7:36 pm I am using vwdExpress Sp1 with MVC2. I followed your instructions (replacing the MVC registry key name in the NUnitExpress.reg file with MVC2). Now when i create an MVC2 Web Application project, the “Create Unit Test Project” Dialog box pops up, but when I click on the OK button , the window closes but the test project is nowhere to be found. Help!!