summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-06-28 00:40:17 +0000
committerBenny Prijono <bennylp@teluu.com>2008-06-28 00:40:17 +0000
commitfd388102b9da31869793eb1741a68a73cd2b3c40 (patch)
tree18d205d9d26e130a23c1dde5ab1fcde21d13f8d0
parent532a86c054092a117a9649001ef9ef1fda13e419 (diff)
Updated python test readme doc
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2087 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjsip-apps/src/test-pjsua/README.TXT39
1 files changed, 25 insertions, 14 deletions
diff --git a/pjsip-apps/src/test-pjsua/README.TXT b/pjsip-apps/src/test-pjsua/README.TXT
index f21c7908..0475bacb 100644
--- a/pjsip-apps/src/test-pjsua/README.TXT
+++ b/pjsip-apps/src/test-pjsua/README.TXT
@@ -4,8 +4,8 @@
0. What is this
---------------
-This is the automated testing scripts for pjsua. It can do many things (just don't ask
-it to write good documentation :) ).
+This is the automated testing scripts for pjsua. It can do many things (just
+don't ask it to write good documentation :) ).
1. Requirements
@@ -20,32 +20,43 @@ To run the tests you need:
2. Using
--------
To run all the tests:
- $ python runall.py
+ $ python [OPTIONS] runall.py
To run individual test:
- $ python run.py MODULE CONFIG
+ $ python [OPTIONS] run.py MODULE CONFIG
-The run.py is the main entry for the test. It imports the various inc_xxx.py files, and
-it will load the MODULE. The MODULE contains specific test flows, and we have few of
-them:
+Where options:
+ -e EXE use EXE as pjsua executable
+ -n use null audio
+ -r TEST (for runall.py only) resume test at TEST
+
+
+For each individual tests, the run.py is the main entry for the test. It
+imports the various inc_xxx.py files, and it will load the MODULE. The MODULE
+contains specific test flows, and we have few of them:
- mod_run.py:
- a simple test which just run pjsua with the configuration from CONFIG file
- and checks if pjsua can start properly.
+ a simple test which just run pjsua with the configuration from CONFIG
+ file and checks if pjsua can start properly.
- mod_call.py:
- call testing where it spawns two pjsua instances each with configurations as
- specified in CONFIG file, makes one pjsua call the other, and checks if the call
- can be established.
+ call testing where it spawns two pjsua instances each with configura-
+ tions as specified in CONFIG file, makes one pjsua call the other, and
+ checks if the call can be established.
- mod_pres.py:
presence testing
- mod_sendto.py:
- Simple UAC to send arbitrary SIP message
+ Simple UAC to send arbitrary SIP message to pjsua. Good to test
+ various incoming INVITE scenarios
- mod_media_playrec.py:
- Media testing
+ Mainly for resampling quality testing
+
+ - mod_pesq.py
+ Measure call quality of various call settings with PESQ, for people
+ who have PESQ tool and license
Example:
$ python run.py mod_run.py scripts-run/100_simple.py