- Timestamp:
- Jun 28, 2008 12:40:17 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/test-pjsua/README.TXT
r2033 r2087 5 5 0. What is this 6 6 --------------- 7 This is the automated testing scripts for pjsua. It can do many things (just don't ask8 it to write good documentation :) ).7 This is the automated testing scripts for pjsua. It can do many things (just 8 don't ask it to write good documentation :) ). 9 9 10 10 … … 21 21 -------- 22 22 To run all the tests: 23 $ python runall.py23 $ python [OPTIONS] runall.py 24 24 25 25 To run individual test: 26 $ python run.py MODULE CONFIG26 $ python [OPTIONS] run.py MODULE CONFIG 27 27 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: 28 Where 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 34 For each individual tests, the run.py is the main entry for the test. It 35 imports the various inc_xxx.py files, and it will load the MODULE. The MODULE 36 contains specific test flows, and we have few of them: 31 37 32 38 - mod_run.py: 33 a simple test which just run pjsua with the configuration from CONFIG file34 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. 35 41 36 42 - mod_call.py: 37 call testing where it spawns two pjsua instances each with configura tions as38 specified in CONFIG file, makes one pjsua call the other, and checks if the call39 c an 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. 40 46 41 47 - mod_pres.py: … … 43 49 44 50 - 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 46 53 47 54 - 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 49 60 50 61 Example:
Note: See TracChangeset
for help on using the changeset viewer.