Changeset 2087


Ignore:
Timestamp:
Jun 28, 2008 12:40:17 AM (11 years ago)
Author:
bennylp
Message:

Updated python test readme doc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/test-pjsua/README.TXT

    r2033 r2087  
    550. What is this 
    66--------------- 
    7 This is the automated testing scripts for pjsua. It can do many things (just don't ask  
    8 it to write good documentation :) ). 
     7This is the automated testing scripts for pjsua. It can do many things (just  
     8don't ask it to write good documentation :) ). 
    99 
    1010 
     
    2121-------- 
    2222To run all the tests: 
    23   $ python runall.py 
     23  $ python [OPTIONS] runall.py 
    2424 
    2525To run individual test: 
    26   $ python run.py MODULE CONFIG 
     26  $ python [OPTIONS] run.py MODULE CONFIG 
    2727 
    28 The run.py is the main entry for the test. It imports the various inc_xxx.py files, and  
    29 it will load the MODULE. The MODULE contains specific test flows, and we have few of  
    30 them: 
     28Where options: 
     29  -e EXE        use EXE as pjsua executable 
     30  -n            use null audio 
     31  -r TEST       (for runall.py only) resume test at TEST 
     32 
     33   
     34For each individual tests, the run.py is the main entry for the test. It  
     35imports the various inc_xxx.py files, and it will load the MODULE. The MODULE  
     36contains specific test flows, and we have few of them: 
    3137 
    3238  - mod_run.py:  
    33         a simple test which just run pjsua with the configuration from CONFIG file  
    34         and checks if pjsua can start properly. 
     39        a simple test which just run pjsua with the configuration from CONFIG  
     40        file and checks if pjsua can start properly. 
    3541 
    3642  - mod_call.py:  
    37         call testing where it spawns two pjsua instances each with configurations as  
    38         specified in CONFIG file, makes one pjsua call the other, and checks if the call  
    39         can be established. 
     43        call testing where it spawns two pjsua instances each with configura- 
     44        tions as specified in CONFIG file, makes one pjsua call the other, and  
     45        checks if the call can be established. 
    4046 
    4147  - mod_pres.py: 
     
    4349 
    4450  - mod_sendto.py: 
    45         Simple UAC to send arbitrary SIP message 
     51        Simple UAC to send arbitrary SIP message to pjsua. Good to test 
     52        various incoming INVITE scenarios 
    4653 
    4754  - mod_media_playrec.py: 
    48         Media testing 
     55        Mainly for resampling quality testing 
     56 
     57  - mod_pesq.py 
     58        Measure call quality of various call settings with PESQ, for people  
     59        who have PESQ tool and license 
    4960 
    5061Example: 
Note: See TracChangeset for help on using the changeset viewer.