Unittest method for DAL layer (NUnit 2.5.10 version)

12 views
Skip to first unread message

Arockia Bright

unread,
Jan 23, 2012, 11:34:01 PM1/23/12
to NUnit-Discuss
Hi,

I am currently using NUnit 2.5.10 version. I am able to write/execute
UnitTest method which does not involves any database operations.

But I am facing database connection issue, when I try to call the DAL
method(involves DB operation) of the actual project from the UnitTest
project.

Is there any specific area to be considered while writing UnitTest
methods for the DB related operations?


Regards,
Arockia

Charlie Poole

unread,
Feb 6, 2012, 6:21:48 PM2/6/12
to nunit-...@googlegroups.com
Where are you creating the connection in your tests?

Charlie

> --
> 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.
>

Reply all
Reply to author
Forward
0 new messages