[asterisk-commits] mmichelson: branch mmichelson/queue_tests r215 - /asterisk/team/mmichelson/qu...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Apr 7 14:18:02 CDT 2010
Author: mmichelson
Date: Wed Apr 7 14:18:00 2010
New Revision: 215
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=215
Log:
Add a small document with areas of queues that can be tested.
I'll likely be modifying this document soon by actually writing
up some test plans which exercise the areas that I have listed so
far.
Added:
asterisk/team/mmichelson/queue_tests/Queue_testing.txt (with props)
Added: asterisk/team/mmichelson/queue_tests/Queue_testing.txt
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mmichelson/queue_tests/Queue_testing.txt?view=auto&rev=215
==============================================================================
--- asterisk/team/mmichelson/queue_tests/Queue_testing.txt (added)
+++ asterisk/team/mmichelson/queue_tests/Queue_testing.txt Wed Apr 7 14:18:00 2010
@@ -1,0 +1,91 @@
+Queue tests:
+
+Aspects to test:
+
+-Options to the Queue application:
+n,c,i are testable.
+h,H,t,T,k,K,w,W,x,X are bridge options not specific to queues
+d,C are not easily testable
+I is testable but would fit better in a connected line test instead
+
+Arguments to Queue()
+name: Easily testable.
+options: Detailed above.
+URL: Testable, I guess. Worth it though?
+announceoverride: Not easily testable externally. No external notification of what file is played.
+timeout: Easily testable.
+AGI: Testable, I guess.
+macro: Testable
+gosub: Testable
+rule: Testable
+position: Testable
+
+queues.conf options:
+The following options are quite testable:
+
+persistent_members
+shared_lastcall
+musicclass
+strategies: linear, rrmeory, leastrecent, fewestcalls
+context
+servicelevel
+penaltymemberslimit
+timeout
+retry? (Possibly with the AgentConnect event?)
+weight
+wrapuptime
+autofill(?) (Perhaps can check holdtimes in certain manager events?)
+autopause
+maxlen
+setinterfacevar
+setqueueentryvar
+setqueuevar
+eventwhencalled
+eventmemberstatus
+(The above 5 will be essential for testing)
+membermacro
+joinempty
+leaveempty
+ringinuse(?)
+memberdelay not directly testable, but it can be used in conjunction with testing other stuff.
+defaultrule
+All aspects of a queue member
+
+The hardest-to-test options are ones relating to sound files. As far as I can tell, there are no manager
+events that can be used to determine which sound file is played to a caller.
+
+Testable queue dialplan functions:
+QUEUE_VARIABLES
+QUEUE_MEMBER
+QUEUE_MEMBER_COUNT
+QUEUE_WAITING_COUNT
+QUEUE_MEMBER_LIST
+QUEUE_MEMBER_PENALTY (read and write)
+
+Testable queue manager actions:
+Queues
+QueueStatus
+QueueSummary
+QueueAdd
+QueueRemove
+QueuePause
+QueueLog
+QueuePenalty
+QueueRule
+QueueReload(?)
+QueueReset
+
+Testable queue applications:
+AddQueueMember
+RemoveQueueMember
+PauseQueueMember
+UnpauseQueueMember
+QueueLog
+
+Is CLI worth testing? Ostensibly, aside from parsing, the CLI and manager are
+sharing the same code.
+
+Other things to test with queues:
+Queue rules
+Realtime?
+
Propchange: asterisk/team/mmichelson/queue_tests/Queue_testing.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: asterisk/team/mmichelson/queue_tests/Queue_testing.txt
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: asterisk/team/mmichelson/queue_tests/Queue_testing.txt
------------------------------------------------------------------------------
svn:mime-type = text/plain
More information about the asterisk-commits
mailing list