[asterisk-bugs] [JIRA] (ASTERISK-21253) Create a test realtime backend suitable for driving Asterisk Test Suite tests

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Mar 15 08:06:01 CDT 2013


Matt Jordan created ASTERISK-21253:
--------------------------------------

             Summary: Create a test realtime backend suitable for driving Asterisk Test Suite tests
                 Key: ASTERISK-21253
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21253
             Project: Asterisk
          Issue Type: New Feature
      Security Level: None
          Components: Tests/General
            Reporter: Matt Jordan


It has become apparent that it is rather difficult to test dynamic realtime functionality using the available realtime backends.
# They typically require a third party system to store the records (MySQL, Sqlite3, etc.)
# For each test run, they require a 'fresh' database/table
# They require significant system configuration that may be difficult to automate with bamboo agents

This task is to create a specialized test realtime backend that, from the perspective of a unit using ARA, is a dynamic realtime provider. However, it should provide the Test Suite with the ability to retrieve, update, create, and otherwise manipulate the records that it 'stores'.

The following should be possible:

* Before a test run, an initial configuration of the stored objects can be provided to the realtime provider
* During a test run, the objects can be updated either by Asterisk or by an external entity
* After a test run, the final state of the objects can be obtained (note that this can still be through Asterisk - the 'after' a test run can be after all actions have taken place but before shutdown)

This could be as simple as a realtime backend that persists objects in memory and exposes those objects over AMI to the Test Suite.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list