Difference between revisions of "Pyogp Test Harness"

From Second Life Wiki
Jump to navigation Jump to search
Line 11: Line 11:


== Project Tasks ==
== Project Tasks ==
These are tasks that need to be accomplished for the overall project. Each part of the project (library and harness) also has its own task list.
#Get the requirements specification
#Set up collaboration methods
#*May include use-cases
#*Meeting Times - Enus is out of the Linden Lab office until July 14th. June 28th is unavailable for him, the following week is some silly American holiday, and the following Friday (July 11) is a travel day). July 18th will be the first sc heduled office hours where Pyogp will be a primary topic.
#Design the test harness
#*Mailing list - should probably set this up as a Linden hosted list...
#Implement the test harness
#Start planning structure for Pyogp overall (see [[Pyogp/Specification]]), with an initial emphasis on the client library.
#*Distribute the work across the contributors
#*[http://www.muthukadan.net/docs/zca.html ZCA], [http://pypi.python.org/pypi/zc.buildout buildout] and [http://peak.telecommunity.com/DevCenter/PythonEggs eggs] have been tapped as components/attributes of Pyogp...
#Start planning structure for test harness (see [[Pyogp/Test_Framework]])
 
Recently completed tasks include:
#(complete?)License - The Apache V2 License has been selected as the license of choice for pyogp (or whatever name we agree upon, see next point).
#(complete?)Naming (I'd like to not debate for an hour on these. Tao had suggestions, I like em. Please speak up if you have strong reservations about the suggested naming).
#*Python client library name - pyogp
#*Python test framework (unittest/doctest) - ?
#(complete?)Repository - So Mercurial, aka hg, was looking promising, but we decided internally that we aren't quite ready for that. There is a move toward Mercurial internally, but we need to work this out before moving forward with it on this effort. It is quite possible that this library and test harness work will become a guinea pig for hg with Linden Lab in the open source arena. Until then, I bring you pyogp on SVN: http://svn.secondlife.com/trac/linden/browser/projects/2008/pyogp.
#(complete?)Contributions - As we are going to be hosting the source code for this, contributions will be subject to Linden Lab's standard [http://secondlifegrid.net.s3.amazonaws.com/docs/SLVcontribution_agmt.pdf contributor's agreement]. I hope this doesn't prevent good work here...


== Collaboration ==
== Collaboration ==

Revision as of 10:50, 27 June 2008

This is just a stub for now. To be filled out in the near future.

  1. Test framework - unittest, doctest
  2. Test data (I put this here, not really as a component of the harness, more as a "i'm not telling you my test account's password and what are we gonna do about it" thing)
  3. Determine how to handle test data. I imagine we'll build a template and interface to an implementation of the template, and leave contents up to the developer.

Overview

AWG (in-world discussion group page) and Linden Lab plan to share the effort in writing a test harness which executes tests against implementations of the Open Grid Protocol (OGP). The intent is not to test SL or OpenSim (or gridX) themselves. Rather, the desire is to create a framework where the implementations of the protocols can be tested in any virtual environment implemented per the Open Grid Protocols as documented. We plan to be able to test at the smallest functional level possible, akin to unit testing, and to have the ability to use the framework to sequence steps to enable state specific tests to be run.

Project Status

  • June 26, 2008 - Tess and Leyla have written some tests for the OGP protocol. At this point, they are untestable because the framework isn't sound enough.

Project Tasks

  1. Get the requirements specification
    • May include use-cases
  2. Design the test harness
  3. Implement the test harness
    • Distribute the work across the contributors

Collaboration

Communication Channels

  • Communication
    • IRC: irc://irc.freenode.com/#pyogp
    • mailing list: TBD
    • AW_Groupies - AWG in-world discussion group, Pyogp is occassionally covered at the Tuesday morning meetings at 9:30 SLT
    • In-world meeting: Fridays, 1:00PM SLT. This is starting July 11.
      • We will post the location as soon as we decide.

Contributors

  • Main Linden Lab Contributors
    • Enus -
    • Infinity -
    • Locklainn -
  • Main AWG Contributors (subject to the contributor's agreement)
    • Tao Takashi -
    • Saijanai Kuhn -
    • (your name here)

Related Chat Logs

Links

Please add to the list as you see fit. The more we throw in here, the better off we are in the long run.

Project pages

Licensing

  1. The code written as part of this effort is subject to the Apache v2 license. Read more at http://opensource.org/licenses/apache2.0.php.
 <excerpt>
 Copyright 2008, Linden Research, Inc.
 
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. </excerpt>

Picture of the Moment

  1. 05/29/08: Using quite nasty code, a first contact of sorts via python into the agent domain and onto a simulator:
    pyogp and ad enabled sl viewer on a vaak sim via aditi's agent domain