[asterisk-bugs] [JIRA] Commented: (ASTERISK-20502) Definition of new test-condition called sip-channels, which checks for the output of "sip show channels"

NITESH BANSAL (JIRA) noreply at issues.asterisk.org
Tue Oct 2 08:18:27 CDT 2012


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197828#comment-197828 ] 

NITESH BANSAL commented on ASTERISK-20502:
------------------------------------------

I have created this JIRA issue in continuation to the discussion on testconditions on asterisk-dev mailing list with the subject header "Question on the testconditions in the asterisk testsuite".


> Definition of new test-condition called sip-channels, which checks for the output of "sip show channels" 
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-20502
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20502
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Tests/testsuite
>    Affects Versions: 11.0.0-beta1
>         Environment: Debian Squeeze x86_64
>            Reporter: NITESH BANSAL
>            Severity: Minor
>         Attachments: SipChannelTestCondition.py, test-config.yaml
>
>
> Hello All,
> I have got the "sip show channels" working for me in the testsuite. I have defined a new testcondition sip-channels which checks for the output of "sip show channels" at the end of a test case and validates the output against the allowedchannels parameter defined in the test-config.yaml file. 
> Please find the global test-config.yaml defining this condition and python class
> implementing the behaviour for this condition. I would request you to have a look at the code and if it seems fine then i assume there is no harm in merging this code in testsuite trunk.
> Regards,
> Nitesh Bansal

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list