Geeks With Blogs


Geekus Con Livus Malcolm Anderson's home for Geeks With Lives

It's been 3 years since I did any coding and am starting back up with Java using netBeans and glassfish.  Right off the bat I noticed two things about Java's ease of use.  The java ide (netBeans) has finally caught up with visual studio, and jUnit, has finally caught up with nUnit.  netBeans intellisense exists and I don't have to subclass everything in jUnit. 


Now on to the point of this very short post ( request)


I'm trying to figure out how to do test driven development with vxml and have not found anythnig yet.  I've done my google search, but unfortunately, TDD in IVR land has something to do with helping the hearing impared.

I've found a vxml simulator or two, but none of their marketing is getting my hopes up. 


My request - if you have done any agile engineering work with vxml, contact me, I need to pick your brain and bring some ideas back to my team.


Thanks in advance.


Posted on Friday, January 28, 2011 8:51 PM Agile Development , Stupid Code Tricks | Back to top

Comments on this post: Test Driven Development with vxml

# re: Test Driven Development with vxml
Requesting Gravatar...
Option 1: Use the various HTTP based unit testers. You won't be able to validate the VoiceXML, grammar, audio or other logic, but you can verify that navigation works as expected. For bonus points, parse the page, pull out the static references and make sure defined resources exist. A few other soft things that can also be done, like DTD validation.

Option 2: Drive the call flow with telephony. One port calls another. Use DTMF sounds (might be an issue if using SIP) or voice clips to drive call path. You might be able to use call timing to perform additional validation.

Option 3: Find one of the existing free or commercial browsers and attempt to replace the bottom so you can drive/control behaviors. I don't know of any 'other' software that does this, but it can be done.

Option 4: Voiyager ( Disclaimer, its my baby (actually my company's, but I was the development architect). It's also aimed at enterprises so the pricing may not be what you want. It has a variety of features that you can pick up at the web site, but the one you want is either the Java or .Net interface that lets you programmatically drive the call. You can validate nearly everything a human caller can validate.

Most people in the VoiceXML development industry go down the option 1 or 2 route. That's assuming there's any focused on automated 'functional' testing. There's very few that do or are willing to invest many resources to make it happen (not a reference to my product, but even bothering to do basic testing with option 1 or 2 above).

Not sure if my eMail is posted on this forum, but if you'd like to ask some questions (don't no sales pitch if you don't want it) contact me at jamesrush at earthlink dot net. I also have a small blog where I've been collecting some VoiceXML information that isn't as well known or publicized. Which reminds me, I need to add more content on tools.
Left by Jim Rush on Jan 29, 2011 2:17 PM

# re: Test Driven Development with vxml
Requesting Gravatar...
We, the JVoiceXML team, have created a good starting point.

Currently, not perfect. But still active work going on. The project started as a bachelor thesis, so therefore we have actual documentation.

It's based on JUnit as a framework for unit tests on the level of integration tests. Enjoy!
Left by Raphael Groner on Jan 31, 2013 9:47 AM

# re: Test Driven Development with vxml
Requesting Gravatar...
I created an interpreter for testing the vxml. It is not perfect but it happens to simulate a vxml interpreter. There are still a lot of work but it is already quite used to in-house teams who develop vxml.

It is possible to recover on

If you have any questions or suggestions do not hesitate. I could make a stand for you to help built into your project.

Left by cudl on Jun 26, 2013 4:06 AM

Your comment:
 (will show your gravatar)

Copyright © Malcolm Anderson | Powered by: