Testing part moved into org.glite.jp/doc/testplan.tex
authorJiří Sitera <sitera@civ.zcu.cz>
Thu, 9 Mar 2006 22:38:13 +0000 (22:38 +0000)
committerJiří Sitera <sitera@civ.zcu.cz>
Thu, 9 Mar 2006 22:38:13 +0000 (22:38 +0000)
org.glite.jp.index/doc/README

index cae8f41..92ac673 100644 (file)
@@ -112,51 +112,5 @@ GLITE_JPIS_PIDFILE         - pid file
 Testing 
 -------
 
-For testing purposes, several tests are done by shell script
-located in test/run-test.sh and is also apcked in in RPM. It
-includes following tests:
-
-* Simple query test 
-- this test starts testing index server, creates testing DB 
-  and polutes it with sample data. Then simple query is given
-  to server, answer is checked with supposed return output and
-  cleanup is done.
-- the query is in file test/simple_query.in and has followhing 
-  form: (status=Ready)
-
-* Complex query test
-- behaves as previous test, but query is more complicated.
-- the query is in file test/complex_query.in and has followhing 
-  form: (status=Done OR status=READY) AND (user!=God)
-
-* Feed & query test
-- this test starts testing index server, feeds index server by
-  mimicing bahaviour of primary storage server by sending data 
-  via soap call, than asks IS using some complex query, checks
-  the responce and does cleanup. 
-- detailed info:
-       1) it simulates response from primary storage, making appropriate
-          changes in database. (inserts feedid).
-
-       2) it calls updateJobs wsdl call, normally invoked by JP-PS, and
-          send some data to JP-IS which stores them im database.
-
-       3) it calls queryJobs wsdl call, normally called by user program,
-          obtaining previously inserted data.
-
-       Test query has form (status=Done OR status=Ready) AND (user!=God).
-
-* AuthZ test
-- behaves exactly as simple query, except the fact that the index server
-  does compare query owner with jobs owner. These two differ and result
-  should be empty answer.
-- scenario that checking ownership is swithed off (IS with -n option) is 
-  covered by Simple query test
-- scenario that only user jobs are returned and no others is covered by
-  Feed & query test
-  
-
-
-The testing shell script is highly configurable via environmental varibles.
-Please, run the script (run-test.sh) with '-?' option to get list of all 
-variables and their meaning, if you are not satisfied with default setting.
+For testing recipes of JP-IS please see appropriate chapter of JP test plan
+document (org.glite.jp/doc/testplan.tex).