[asterisk-bugs] [JIRA] (ASTERISK-23898) Testsuite: Simple nominal tests for Authenticate

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue Jun 17 10:50:56 CDT 2014


Matt Jordan created ASTERISK-23898:
--------------------------------------

             Summary: Testsuite: Simple nominal tests for Authenticate
                 Key: ASTERISK-23898
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23898
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
            Reporter: Matt Jordan


Using the {{apptest}} pluggable module, write tests that verifies nominal authentication scenarios using the [Authenticate|]https://wiki.asterisk.org/wiki/display/AST/Application_Authenticate dialplan application:

h1. Test One - Authentication using Hard Coded Password with no Max Limit

Write a test that performs the following:
# A channel enters into the {{Authenticate}} application. The application should have a hard coded password of at least 4 digits.
# The channel should provide the application the correct DTMF digits for the password, and terminate the entry with a {{#}}.
# The channel should exit out of the {{Authenticate}} application and continue to the next priority. A UserEvent should be emitted indicating success.

h1. Test Two - Authentication using Hard Coded Password with a Max Limit

Write a test that performs the following:
# A channel enters into the {{Authenticate}} application. The application should have a hard coded password of 4 digits, with a {{maxdigits}} specified of 4.
# The channel should provide the application the DTMF digits for the password, but should not provide a {{#}}.
# The channel should exit out of the {{Authenticate}} application and continue to the next priority. A UserEvent should be emitted indicating success.





--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list