Re: Integration tests with Nunit
"Bisson-Coulombe, Stephane" <[email protected]> Fri, 1 Aug 2008 12:50:34 -0700
| Newsgroups | gmane.comp.windows.dotnet.nunit.devel |
|---|---|
| Message-ID | <5C889913FF236E4190093AF280AB4EC4010492E7DA@wwlkfmail1.wonderware.com> |
Hi Sambhaji, Even if you were doing unit tests, a lot of methods return void. You have to assert on the "noticeable effect of you method", whatever that may be. If your method call end up inserting records in a database, I guess you should validate these records. Does it make sense? Thanks, Stéphane From: [email protected] [mailto:[email protected]] On Behalf Of Sambhaji Dhawan Sent: Friday, August 01, 2008 3:39 PM To: [email protected] Subject: [nunit-developer] Integration tests with Nunit Hi All, Can we use nunit for Integration testing to test the whole flow of the functionalities through out all tiers? How this can be done in case of a method returning nothing (void) e.g. method is as follows.. public void test() { call1(); call2(); call3(); } Thanks in advance! Kind regards, Sambhaji. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ nunit-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nunit-developer