Web Developer Express & Nunit?

How do you configure a web developer express project for Nunit integration?

I let WDE import my VS.Net 2003 code, figuring that I would continue to be able to use the TDD methodolgies, but it doesn't work. It throws a FileNotFoundException, because it can't locate the project dll.

I can't even find the project assembly to manually load into nunit. It used to live in the bin folder, where the heck is it now? Gac'ed?

I have googled and searched MSDN and have found nothing on the topic.

Can someone throw an old dog a bone and tell me how to get this to work?

Thanks,

Jason

[591 byte] By [Jdubya] at [2007-12-17]
# 1

Hi!

Thanks for asking! I'm a member of the ASP.NET team, and was just popping over here to see what was going on. The best place to ask ASP.NET questions is over on the ASP.NET forums at http://www.asp.net/welcome.aspx?tabindex=1&tabid=39

I'm not sure what Nunit is, but I'm sure someone on the ASP.NET forums should be able to help you out there! There are some great community resources there, and someone else should know what Nunit is.

HTH,

PEte

PeteL-MSFT at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 2
Pete,

Nunit is a testing framework that promotes the Test Driven Development paradigm.

The short explanation is that it inspects the assembly for methods that have been decorated with a test attribute, then runs the tests specified and gives you a pass or fail result per test case.
The problem I am having is that I cannot locate the assembly file to pass off to nunit. In VS 2003 and .NET 1.1, assemblies for web projects are placed in the bin folder and are named [namespace].[project].dll.

I have searched my machine hi and low, and cannot locate the assembly file. I know it must be here somewhere, as the code runs as expected, I am simply having a hard time discovering where the assembly lives.

Jdubya at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 3

try checking under C:\programFiles\Nunit\bin

the assembly is nunit.framework.dll

I hope it helps..

Reeba at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 4

Thanks Reeba,

I wasn't looking for the Nunit assemblies, though.

Typically, I set up my projects with these settings:

Config Properties:

External Application to start: c:\program files\nunit\bin\nunit.framework.dll

and then for arguments I pass the path to mt project.nunit file which I have create by referencing an initial build of the project with an object reference set to nunit.framework.dll

Then when I hit F5, instead of launching the web app, it launches nunit and runs my tests.

I can't sem to accomplish this with the express version since there doesn't seem to be any actual project.dll's laying around.

Jdubya at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...
# 5
sorry, I misunderstood your question.I havent used the express version,not much of a help I guess.
Reeba at 2007-9-8 > top of Msdn Tech,Visual Studio Express Editions,Installing and Registering Visual Studio 2005 Express Editions...