That's a good question.  Upon reflection, I'm more concerned about the  
protocol edge cases than the proper execution of query/update  
operations.

Does anyone know of unit tests for other adapters?

- Steve

--------------
Steve G. Bjorg
http://mindtouch.com
http://twitter.com/bjorg

On Dec 3, 2008, at 6:52 AM, Charles Foster wrote:

> The XML:DB tests are not made public, but I can certainly send them to
> you, I'm not sure how helpful they will be to you?
>
> Regards,
>
> Charles
>
>> Charles,
>>
>> Yes, NUnit tests are part of the plan and will be added to the .NET
>> distribution.  The old code didn't have any and the protocol document
>> is too ambiguous to allow TDD, so I had to (re)start somewhere.  Do
>> you have the link to the existing XML:DB tests?  Where can I find
>> them?  Thanks for the help.
>>
>> - Steve
>>
>> --------------
>> Steve G. Bjorg
>> http://mindtouch.com
>> http://twitter.com/bjorg
>>
>> On Dec 2, 2008, at 2:26 PM, Charles Foster wrote:
>>
>>> Hi Steve,
>>>
>>> It's great that you've managed to write a new .NET driver for Sedna.
>>>
>>> But without thorough testing, it will probably end up like the
>>> other .NET
>>> driver. I highly recommend using CSUnit, http://www.csunit.org/
>>>
>>> The Sedna XML:DB has over 1000 unit tests and this list is always
>>> growing.
>>> These tests test all parts of entire library both public facing and
>>> the
>>> internal private components.
>>>
>>> If you are not prepared to write these C# unit tests, is anyone else
>>> prepared to write some?
>>>
>>> Regards,
>>>
>>> Charles
>>>
>>>> I should point out that the new .NET adapter is written in C# 2.0  
>>>> and
>>>> will be made available under Apache License 2.0.  For those
>>>> interested
>>>> in trying things out rather sooner than later, you can get the  
>>>> trunk
>>>> code from:
>>>>    https://svn.mindtouch.com/source/public/sedna/trunk/
>>>>
>>>> However be forewarned, this code is not yet tested!  That said, the
>>>> more early feedback, the better! :)
>>>>
>>>> On the diagrams, it would really help is the clarification  
>>>> questions
>>>> could be filled in.  I can test the code for many cases, but some
>>>> require the server to send failure messages, which cannot be  
>>>> forced.
>>>> For example, what happens after the server sends the
>>>> BeginTransactionFailed message? Is the connection forcefully closed
>>>> or
>>>> does it stay open?
>>>>
>>>> The wiki page can be though of an "annotated client/server  
>>>> protocol"
>>>> document.  This should be useful for updating the master document
>>>> from
>>>> which it is pulled as well.
>>>>
>>>>
>>>> Cheers,
>>>>
>>>> - Steve
>>>>
>>>> --------------
>>>> Steve G. Bjorg
>>>> http://mindtouch.com
>>>> http://twitter.com/bjorg
>>>>
>>>> On Dec 2, 2008, at 2:57 AM, Ivan Shcheklein wrote:
>>>>
>>>>> Hi Steve,
>>>>>
>>>>> Over the Thanksgiving weekend in the US, I've been rewriting the
>>>>> existing .NET adapter.  The code was quite old and just by reading
>>>>> it,
>>>>> I spotted some bugs and concerns.
>>>>>
>>>>> It's great. Indeed, .NET adapter is very old and buggy. Obviously
>>>>> there is a need to rewrite it.
>>>>>
>>>>> Anyhow, I've been reading the Sedna
>>>>> Client/Server protocol PDF and have some questions concerning
>>>>> ambiguities in the message flow and the underlying protocol state
>>>>> machine.  But before I fire away at them, I was curious if anyone
>>>>> has
>>>>> already compiled a list of clarifications concerning the existing
>>>>> spec?  If not, I'll start a wiki page on the subject.  Thanks!
>>>>>
>>>>> There was no page before the one you started (I mean
>>>>> http://wiki.developer.mindtouch.com/index.php?title=Community/Sedna_XML_Database_Client%2F%2FServer_Session_Protocol)
>>>>> .
>>>>>
>>>>>
>>>>> Ivan Shcheklein,
>>>>> Sedna Team
>>>>
>>>> -------------------------------------------------------------------------
>>>> 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=/_______________________________________________
>>>> Sedna-discussion mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/sedna-discussion
>>>>
>>>
>>>
>>> -------------------------------------------------------------------------
>>> 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=/
>>> _______________________________________________
>>> Sedna-discussion mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/sedna-discussion
>>
>
>
> -------------------------------------------------------------------------
> 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=/
> _______________________________________________
> Sedna-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sedna-discussion


-------------------------------------------------------------------------
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=/
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to