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 On Wed, Mar 3, 2010 at 5:15 AM, John Barstow <[email protected]> wrote: > 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, [email protected] > <[email protected]> wrote: >> 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/618ff4e9ef477e80/7fb0789f01d0f0d4 >> >> from August 2009 indicated that the tests were close to release, so >> I'm expecting to find them somewhere... >> >> Thanks! >> Benjamin >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Wave Protocol" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/wave-protocol?hl=en. >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Wave Protocol" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/wave-protocol?hl=en. > > -- Benjamin Nortier e: [email protected] c: +44 (0)778 946 1959 gtalk: [email protected] -- You received this message because you are subscribed to the Google Groups "Wave Protocol" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/wave-protocol?hl=en.
