Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Unit Tests for OT
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Expand all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
bjnortier@gmail.com  
View profile  
 More options Feb 9 2010, 12:53 pm
From: "bjnort...@gmail.com" <bjnort...@gmail.com>
Date: Tue, 9 Feb 2010 09:53:38 -0800 (PST)
Local: Tues, Feb 9 2010 12:53 pm
Subject: Unit Tests for OT
Hi

Where can I find the unit tests for the OT classes of the reference
implementation?

The packages that deal with OT (org.waveprotocol.wave.model.*) in the
reference implementation don't seem to have any unit tests.

This thread: http://groups.google.com/group/wave-protocol/browse_thread/thread/618...

from August 2009 indicated that the tests were close to release, so
I'm expecting to find them somewhere...

Thanks!
Benjamin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Barstow  
View profile  
 More options Mar 2 2010, 11:15 pm
From: John Barstow <jbow...@amathaine.com>
Date: Wed, 3 Mar 2010 17:15:31 +1300
Local: Tues, Mar 2 2010 11:15 pm
Subject: Re: Unit Tests for OT
I've been looking for them as well, abandoned my OT implementation
until there's some way to validate results.

On Wed, Feb 10, 2010 at 6:53 AM, bjnort...@gmail.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Benjamin Nortier  
View profile  
 More options Mar 3 2010, 4:02 am
From: Benjamin Nortier <bjnort...@gmail.com>
Date: Wed, 3 Mar 2010 10:02:28 +0100
Local: Wed, Mar 3 2010 4:02 am
Subject: Re: Unit Tests for OT
I've started adding some te verify my OT implementation, which I can
plan to put onto GitHub.

My vision at the moment is to create a suite of test cases that use
the String representation, and that providers can verify their
implementations against this set (akin to the way you can specify
acceptance criteria in Fitnesse (http://fitnesse.org/)).

For example:
Inputs:
C: ++"xyz"; (insert "xyz")
S: ++"abc"; (insert "abc")
Expected outputs:
C': ++"xyz"; __3; (insert "xyz", retain 3)
S': __3; ++"abc"; (retain 3, insert "abc")

Different OT implementations would have to be able to parse this
format to create operations and output operations in this format to
verify their implementations.

It would be really useful to make this a community effort, so that
problematic OT cases become part of the body of tests.

Cheers
Ben

--
Benjamin Nortier
e: bjnort...@gmail.com
c: +44 (0)778 946 1959
gtalk: bjnort...@gmail.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael K  
View profile  
 More options Mar 3 2010, 3:15 pm
From: Michael K <mk.mat...@gmail.com>
Date: Wed, 3 Mar 2010 12:15:11 -0800 (PST)
Local: Wed, Mar 3 2010 3:15 pm
Subject: Re: Unit Tests for OT
Hi Benjamin,

If you are programming in java, please consider contributing the unit
tests to FedOne. The procedure is listed here:
http://code.google.com/p/wave-protocol/wiki/SubmittingCode

There are two classes in FedOne code that are intended to help test OT
code, but to my knowledge no actual unit tests. These classes are:

org.waveprotocol.wave.model.operation.testing.TestOperations
org.waveprotocol.wave.model.document.operation.debug.RandomDocOpGenerator

On Mar 3, 11:02 am, Benjamin Nortier <bjnort...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »