[asterisk-users] Regression testing dialplan changes

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Jul 16 22:34:14 MST 2006


On Sun, Jul 16, 2006 at 11:31:24PM +0100, Nic Hughes wrote:
> Hi all,
> 
> As I am starting to have stable live releases of a dialplan and 
> development work going on in parallel I need to have some sort of 
> regression test in place to ensure that no key functions of the current 
> dialplan are broken by a new version. Does anyone have pointers to the 
> best way to run an automated test on the dialplan, what I am really 
> hoping for is something that looks and works a bit like an nUnit type 
> automated test but I'll take almost any automated testing approach over 
> the alternative - which is manual re-testing every time we change a 
> dialplan.

Do you expect those tests to run on a running Asteris system or a copy
of the configuration file?

What do you want to test, exactly?

'show dialplan' can show the parsed configuration (also after AEL
include files expansion). This can help validateproper configuration
generation.

-- 
Tzafrir Cohen         sip:tzafrir at local.xorcom.com
icq#16849755          iax:tzafrir at local.xorcom.com
+972-50-7952406          jabber:tzafrir at jabber.org
tzafrir.cohen at xorcom.com     http://www.xorcom.com



More information about the asterisk-users mailing list