[nunit-discuss] ASP.NET MVC 2.0 Templates for NUnit?

16 views
Skip to first unread message

Stuart Ellis

unread,
Apr 26, 2010, 7:37:17 AM4/26/10
to NUnit-Discuss
Hello,

I'm wondering what the current situation is with NUnit test templates
for ASP.NET MVC 2.0. I get the impression that MVC 2.0 was due to
support test frameworks other than MSTest, but that this didn't
actually happen. Searches turn up the video series on www.asp.net and
various comments and posts about using NUnit with ASPNET MVC, most
quite old, but I haven't been able to find a current "official" answer
on the templates.

Thanks in advance,

Stuart Ellis

--
You received this message because you are subscribed to the Google Groups "NUnit-Discuss" group.
To post to this group, send email to nunit-...@googlegroups.com.
To unsubscribe from this group, send email to nunit-discus...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nunit-discuss?hl=en.

Markus Ewald

unread,
Apr 26, 2010, 9:04:12 AM4/26/10
to nunit-...@googlegroups.com
On 4/26/2010 1:37 PM, Stuart Ellis wrote:
> Hello,
>
> I'm wondering what the current situation is with NUnit test templates
> for ASP.NET MVC 2.0. I get the impression that MVC 2.0 was due to
> support test frameworks other than MSTest, but that this didn't
> actually happen. Searches turn up the video series on www.asp.net and
> various comments and posts about using NUnit with ASPNET MVC, most
> quite old, but I haven't been able to find a current "official" answer
> on the templates.
>
>
Same here.

I ported the MSTest unit test templates to NUnit when VS2010 came out
(using the trial of VS2010 Professional), including integration in
Visual Studio so the templates show up in the Unit Test Project dialog
of ASP.NET MVC 2.

When I discovered that the dialog doesn't show in the Express editions,
even with the NUnit template registered, I stopped working on the
integration. As it is now, the templates are fully ported and tests
execute flawlessly in NUnit, just the reference to the main ASP.NET
project isn't added to the test project after the project wizard closes.
If interested, I provided my port for download here:
http://www.nuclex.org/downloads/tools/39-nunit-template-for-asp-net-mvc-2

> Thanks in advance,
>
> Stuart Ellis
>
>
-Markus-
Reply all
Reply to author
Forward
0 new messages