How can I run the Unit Tests using nUnit

  • Thread starter Thread starter NW Technicals
  • Start date Start date
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
 
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
 
Back
Top