Fetching latest commit…
Cannot retrieve the latest commit at this time.
================================================== Ocean Observatories Initiative Cyberinfrastructure Integrated Observatory Network (ION) ioncore-integration - Integration tests for OOICI ================================================== April 2010 - September 2010 (C) UCSD Regents This project provides a integration testing framework for all the services of the OOI release 1 system with their full architectural dependencies in Python. For more information, please see: ++++++ + + The res directory is currently a mess. + + To operate the ion-integration tests you must replace it with a symlink to the ioncore-python res directory + ++++++ Python Developement =================== Step 1. Create virtualenv to isolate system site-packages mkvirtualenv --no-site-packages --python=/usr/bin/python2.5 buildout workon buildout Step 2. Run 'ant clean' to clean buildout directories, if the virtualenv has previously been created and used. Step 3. python bootstrap.py (you only need to run this one) Step 4. bin/buildout (you run this as many times as you change buildout.cfg and/or its parent files. Step 5. a. bin/trial itv_trial b. bin/itv itv_trial These test will show that the your environment is properly configured Step 6. bin/itv tests Not yet consistently runnable! If you want to re-run step 5, it is reccomended to rerun step 2 (ant clean) between runs of trial. Java Development ================= Step 1. cp ivy.jar ~/.ant/lib Step 2. ant eoi-integration-test (this test depends on: 1. a local rabbit mq server (otherwise, change ooici-conn.properties to point a different rabbit mq) 2. ion container running (follow python dev steps above to run bin/buildout) bin/twistd -n cc -h localhost -a sysname=eoitest res/scripts/eoi_demo.py Clean buildout depedencies ========================== To completely clean out buildout directories and start fresh: ant clean-buildout Change log: =========== 2/1/11 - Added Some tests from ioncore-python that partially fulfil requirements UC_R1_18_Command_An_Instrument UC_R1_19_Direct_Instrument_Access * Note above tests are currently broken due to re-write of DataPubSub .