[Mono-list] RE: [Mono-hackers-list] Testing .config files
Sat, 4 Jan 2003 20:48:16 -1000
| -----Original Message-----
| From: firstname.lastname@example.org
| [mailto:email@example.com]On Behalf Of NMatrix Open
| Sent: Saturday, January 04, 2003 5:41 PM
| To: firstname.lastname@example.org; email@example.com; firstname.lastname@example.org;
| 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