Paul Donald 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
..
include 3dff189e33 test/unit: fix unit test 33 8 سال پیش
1.sh 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
10.sh 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
11.cfg dfddb4b763 test/: add a space between comma and quote 2 سال پیش
11.sh 31923e56ff test/unit: avoid killall 8 سال پیش
12.cfg e24de68680 test/: typos a/an 2 سال پیش
12.sh e24de68680 test/: typos a/an 2 سال پیش
13.cfg dfddb4b763 test/: add a space between comma and quote 2 سال پیش
13.sh 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
14.cfg dfddb4b763 test/: add a space between comma and quote 2 سال پیش
14.sh 31923e56ff test/unit: avoid killall 8 سال پیش
15.sh 31923e56ff test/unit: avoid killall 8 سال پیش
16.sh 31923e56ff test/unit: avoid killall 8 سال پیش
17.sh 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
18.sh 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
19.cfg dfddb4b763 test/: add a space between comma and quote 2 سال پیش
19.sh e24de68680 test/: typos a/an 2 سال پیش
2.cfg 184392b54b tests: add many modules that where introduced in the last years to the 2.sh unit test 6 سال پیش
2.sh 9aacde2917 test/unit: update unit test 2 & 4 8 سال پیش
20.cfg dfddb4b763 test/: add a space between comma and quote 2 سال پیش
20.sh e24de68680 test/: typos a/an 2 سال پیش
21.cfg 3ebec4db10 test: updated the link to wiki site 2 سال پیش
21.sh e24de68680 test/: typos a/an 2 سال پیش
22.cfg dfddb4b763 test/: add a space between comma and quote 2 سال پیش
22.sh 31923e56ff test/unit: avoid killall 8 سال پیش
23.sh 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
24.sh 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
25.cfg dfddb4b763 test/: add a space between comma and quote 2 سال پیش
25.sh 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
26.cfg dfddb4b763 test/: add a space between comma and quote 2 سال پیش
26.sh 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
27.sh ff6ce3bb0b test/unit: update unit test 27 8 سال پیش
28.cfg dfddb4b763 test/: add a space between comma and quote 2 سال پیش
28.sh 31923e56ff test/unit: avoid killall 8 سال پیش
29.sh 31923e56ff test/unit: avoid killall 8 سال پیش
3.sh 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
30.cfg dfddb4b763 test/: add a space between comma and quote 2 سال پیش
30.sh 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
31.sh 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
32.sh 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
33.cfg 3dff189e33 test/unit: fix unit test 33 8 سال پیش
33.sh 3dff189e33 test/unit: fix unit test 33 8 سال پیش
34.cfg 6cb53228ff tests: add several presence module to the 34.sh presence load test 6 سال پیش
34.sh 6cb53228ff tests: add several presence module to the 34.sh presence load test 6 سال پیش
35.cfg dfddb4b763 test/: add a space between comma and quote 2 سال پیش
35.sh e24de68680 test/: typos a/an 2 سال پیش
36.sh 31923e56ff test/unit: avoid killall 8 سال پیش
37.sh 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
38.sh 31923e56ff test/unit: avoid killall 8 سال پیش
39.sh 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
4.sh 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
40.cfg 2f58816d29 test/unit: use directory variables in test runner scripts 8 سال پیش
40.sh e24de68680 test/: typos a/an 2 سال پیش
41.cfg dfddb4b763 test/: add a space between comma and quote 2 سال پیش
41.sh e24de68680 test/: typos a/an 2 سال پیش
42.sh 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
43.sh 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
44.sh 31923e56ff test/unit: avoid killall 8 سال پیش
45.cfg dfddb4b763 test/: add a space between comma and quote 2 سال پیش
45.sh e24de68680 test/: typos a/an 2 سال پیش
46.sh e24de68680 test/: typos a/an 2 سال پیش
5.cfg 039cce694a test/ : typos 2 سال پیش
5.sh 1d5d36556e test/unit: use sh instead of bash in unit test 5 8 سال پیش
50.cfg dfddb4b763 test/: add a space between comma and quote 2 سال پیش
50.sh 31923e56ff test/unit: avoid killall 8 سال پیش
6.sh 915efd3bfc test/unit: fix bashism - use `.` instead of `source` and use regular syntax files 8 سال پیش
60-message-sdp0.sip 83d44c6472 test/unit: add unit test for sdpops script function sdp_remove_line_by_prefix() 9 سال پیش
60-message-sdp1.sip 83d44c6472 test/unit: add unit test for sdpops script function sdp_remove_line_by_prefix() 9 سال پیش
60-message-sdp2.sip 83d44c6472 test/unit: add unit test for sdpops script function sdp_remove_line_by_prefix() 9 سال پیش
60-message-sdp3.sip 83d44c6472 test/unit: add unit test for sdpops script function sdp_remove_line_by_prefix() 9 سال پیش
60-message-sdp4.sip 83d44c6472 test/unit: add unit test for sdpops script function sdp_remove_line_by_prefix() 9 سال پیش
60-message-sdp5.sip 83d44c6472 test/unit: add unit test for sdpops script function sdp_remove_line_by_prefix() 9 سال پیش
60-message-sdp6.sip 83d44c6472 test/unit: add unit test for sdpops script function sdp_remove_line_by_prefix() 9 سال پیش
60-message-sdp7.sip 83d44c6472 test/unit: add unit test for sdpops script function sdp_remove_line_by_prefix() 9 سال پیش
60-message-sdp8.sip 1fe1769d15 test/unit: update unit 60 9 سال پیش
60-message-sdp9.sip 8d4c2e4190 test/unit: update unit test 60 8 سال پیش
60.cfg dfddb4b763 test/: add a space between comma and quote 2 سال پیش
60.sh 2f58816d29 test/unit: use directory variables in test runner scripts 8 سال پیش
61-message-sdp.sip 892ab2737c test/unit: create unit test 61 8 سال پیش
61.cfg dfddb4b763 test/: add a space between comma and quote 2 سال پیش
61.sh 2f58816d29 test/unit: use directory variables in test runner scripts 8 سال پیش
7.cfg dfddb4b763 test/: add a space between comma and quote 2 سال پیش
7.sh fe4c56f5c0 test/unit: update unit test 7 8 سال پیش
8.sh 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
9.sh 3f1f75bf48 test/unit: spell fixes 3 ماه پیش
Makefile 52c766bf3c test/unit: print same messages when running all or individual unit tests 7 سال پیش
README f1e0b32643 test: typos 2 سال پیش
carrierroute-2.cfg a42f984574 - fix postgres cpl test name 17 سال پیش
carrierroute.cfg 676425728b - some cleanup in existing tests 17 سال پیش
cpl_ignore.xml 07080c8ad2 - rename presence test 17 سال پیش
cpl_test.xml 07080c8ad2 - rename presence test 17 سال پیش
failure_route.xml de8ca6197a - extend cr test with actual failure routes 17 سال پیش
inv_auth.xml 7611536475 - extend test 21 to INVITEs, add more tests for uri_db 17 سال پیش
invite.sip 6d262e666a - add missing file for registrar test (11) 17 سال پیش
presence.cfg dfddb4b763 test/: add a space between comma and quote 2 سال پیش
publish.csv 8ce632822b - added tests for presence 17 سال پیش
publish_scenario.xml 8ce632822b - added tests for presence 17 سال پیش
reg_auth.xml 7611536475 - extend test 21 to INVITEs, add more tests for uri_db 17 سال پیش
register.sip 29f416a4f3 - commit missing SIP test messages 18 سال پیش
route-empty.cfg 4bfc11009d test/unit: use SRC_DIR to point to kamailio source and updated tests 4, 5, 6 11 سال پیش
subscribe_notify.csv 8ce632822b - added tests for presence 17 سال پیش
subscribe_notify_scenario.xml 8ce632822b - added tests for presence 17 سال پیش
unregister.sip 29f416a4f3 - commit missing SIP test messages 18 سال پیش

README

Kamailio Test Unit
==================

This directory contains some small "smoke tests", that should assure that
basic functionality of the server work as required. This tests should consists
of one shell script and a config file if needed. They should not need much time
for execution, to allow the run of the complete test suite in a few seconds.

All test scripts must be self-contained, should not have external dependencies
and must clean up after they are run. The second line in each scripts should
contain a small comment that describe the task of the test, it should not
output any messages on successful runs.

This tests should (in the current state) only run by developers who know
what they do. They could delete your database, produce core dumps that fill
your harddisk or do other nasty things..

Dependencies
------------

External tools needed by some test units:

- SIPP (http://sipp.sourceforge.net)
- SIPSAK (https://github.com/nils-ohlmeier/sipsak)

Usage
-----

To execute all unit tests, run:

make all

To run a specific unit test, run:

make run UNIT=scriptname

Scriptname is the name of shell file to execute, for example:

make run UNIT=1.sh