summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/test-pjsua/README.TXT
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip-apps/src/test-pjsua/README.TXT')
-rw-r--r--pjsip-apps/src/test-pjsua/README.TXT32
1 files changed, 26 insertions, 6 deletions
diff --git a/pjsip-apps/src/test-pjsua/README.TXT b/pjsip-apps/src/test-pjsua/README.TXT
index fed4be79..f21c7908 100644
--- a/pjsip-apps/src/test-pjsua/README.TXT
+++ b/pjsip-apps/src/test-pjsua/README.TXT
@@ -4,7 +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
@@ -13,8 +14,7 @@ To run the tests you need:
- Python (tested with Python 2.5.2)
- pjsua application, built and placed in pjsip-apps/bin directory
- the pjsua must be built with:
- - TLS enabled
- - SRTP enabled
+ - SRTP enabled (the default)
2. Using
@@ -25,10 +25,30 @@ To run all the tests:
To run individual test:
$ python 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 couple of them:
- - mod_run.py: this module implements a simple test which just run pjsua with the configuration from CONFIG file and checks if pjsua can start properly.
- - mod_call.py: this module implements 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.
+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.
+
+ - 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.
+
+ - mod_pres.py:
+ presence testing
+
+ - mod_sendto.py:
+ Simple UAC to send arbitrary SIP message
+
+ - mod_media_playrec.py:
+ Media testing
Example:
$ python run.py mod_run.py scripts-run/100_simple.py
$ python run.py mod_call.py scripts-call/100_simple.py
+
+