How can I run the Unit Tests using nUnit

N

NW Technicals

I have a web application which is developed as a layered projects.

To test this project(s) I have written Unit Tests to cover the
DataAccessLayer etc.,

DAL access the ConnectionString etc., from the Web.config

How do I make this web.config available at the runtime for nUnit based unit
tests.

Any good article to read.

All the help is really appreciated

Regards
 
N

NW Technicals

Thanks a lot all the Kind hearted people

It has worked for me the steps I followed were as the following

We need to create nUnit project not just open an assembly

Then copy the web.config into the Bin/Debug or Release folders
and rename the file as ProjectName.config.

Then run the tests. Happy programming folks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top