Of course, unit testing and integration is usually done as part of the development process. I am looking for ways to use this methodology in the configuration of an existing system, in this case Asterisk soft PBX .
In the case of Asterisk, the configuration file is the same programming language as everything else, complete with loops, jumps, conditional expressions, etc., and can become quite complex. Changes in configuration often suffer from the same problems as changes in a complex software product - it can be difficult to anticipate all the effects without tests. This has deteriorated due to the fact that the nature of the system is to interact with external objects, that is, to make phone calls.
I have some ideas about testing the system using call files (to create specific calls between extensions) when viewing the manager interface for the generated events. Then the test could follow the expected result, i.e. By dialing * 99 #, the called Voicemail application should turn out.
The errors are obvious - it does not check the actual result, but the result, which, according to the system, is the result, probably requires some modification of the tested system. It is also very difficult to write these tests reliably enough to run only the expected output, especially if the system is in use (i.e. other calls are being made).
I want a testing system for Asterisk not be possible? If not, do you have any ideas on how to do this in a reasonable way? Iām ready to contribute a sufficient amount of development time at this time and publish the result under a friendly license, but Iām not sure how best to approach it.
source
share