[Mono-dev] Unit tests for WCF

Andreas Färber andreas.faerber at web.de
Tue Apr 1 09:22:13 EDT 2008


Hi Atsushi,

As far as I understood Roei, their tests are not limited to a single  
WCF class so do not match the Directory.By.NamespaceName/ 
Test.By.ClassName pattern. Also, it sounds like they'd like to use  
some kind of inheritance or helper classes to simplify their tests.
But I don't see a major problem with integrating it into the existing  
structure either, since the runnable test classes need to be specified  
manually anyway.

HTH,
Andreas

Am 01.04.2008 um 15:00 schrieb Atsushi Eno:

> I have no idea why your test stuff does not fit NUnit test suite by
> nature, but then
> feel free to put your tests into somewhere like
> $(topdir)/class/System.ServiceModel/Test/standalone.
>
> (Once it turned out to fit with existing nunit test stuff, we could
> integrate it later.)
>
> Atsushi Eno
>
> Roei Erez wrote:
>> Hi,
>> This suite does not fit naturally into this pattern, since the  
>> tests are
>> a bit more integrative.
>> It is essential to have such a suite, in order to stay in control
>> regarding the various 'end to end' flows.
>> I think that the options are:
>> 1. Create a separate directory in the current Nunit test suite  
>> (call it
>> something like 'System.ServiceModel.Integrative')
>> 2. Put it in another suite.
>>
>> What do you think?
>>
>> Regards,
>> Roei Erez
>>
>> -----Original Message-----
>> From: Atsushi Eno [mailto:atsushi at ximian.com]
>> Sent: Tuesday, April 01, 2008 12:10 PM
>> To: Roei Erez
>> Cc: mono-devel-list at lists.ximian.com
>> Subject: Re: Unit tests for WCF
>>
>> Hello,
>>
>> As usual, it has NUnit test infrastructure in:
>> topdir/class/Directory.By.Assembly/Test/Directory.By.Namespaces/ 
>> Test.By.
>> Class.cs
>>
>> Basically it should not be a separate test suite unless there is some
>> appropriate reason.
>>
>> Atsushi Eno
>>
>> Roei Erez wrote:
>>
>>> Hi,
>>>
>>> We are currently writing integrative tests that are 'Nunit' based,  
>>> but
>>>
>>
>>
>>> test more integrative flows.
>>>
>>> The tests in this suite are in the form of services & clients that
>>> exchange messages, and the suite enables adding such tests easily.
>>>
>>> Do you think it has a place in Mono unit tests for WCF, or should  
>>> be a
>>>
>>
>>
>>> separate test suite?
>>>
>>>
>>>
>>> Regards,
>>>
>>> Roei Erez
>>>
>>>
>>>
>>>
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list