[Mono-list] RE: [Mono-hackers-list] Testing .config files
Nick Drochak
ndrochak@gol.com
Sat, 4 Jan 2003 20:48:16 -1000
| -----Original Message-----
| From: mono-hackers-list-admin@ximian.com
| [mailto:mono-hackers-list-admin@ximian.com]On Behalf Of NMatrix Open
| Source
| Sent: Saturday, January 04, 2003 5:41 PM
| To: ndrochak@gol.com; jonpryor@vt.edu; mono-list@ximian.com;
| mono-hackers-list@ximian.com
| Subject: RE: [Mono-hackers-list] Testing .config files
|
|
| I may be wrong, but I think this approach won't work because "internal"
| means accessible only from the current assembly (I'm pretty sure). It
| doesn't matter the namespace, AFAIK.
Yes, that's right. Jon corrected me as well.
So we can just build the tests into the same assembly (e.g. System.dll)
then. That was the mock object will have access to the internal property
like I thought originally. Of course, we'll call it System_test.dll and
just use it for nunit testing.
Any problems with that?
I'd still prefer to go the mock object route for unit tests, and do what Jon
suggests, but that would be a functional test as far as I'm concerned.
In any case it's great to have either kind of test and even better to have
both kinds.
Regards,
Nick D.