Download presentation
Presentation is loading. Please wait.
Published byCynthia Carpenter Modified over 8 years ago
1
Testing and Asterisk SCF Testing is an integral part of the development methodology and the process Builds and running of tests are part of an automated process boost::test test framework Different levels of testing – unit – component – system
2
Testing and Asterisk SCF – Part of the Process Each component is expected to have a test suite – IceBoxTest base class to take care of boilerplate for writing your tests The same tests are run automatically as part of the automated build/test process are easily run by individual developers Test-ability is a design consideration Tests are included in code reviews
3
Testing and Asterisk SCF – Test Types Unit tests are typically hosted in standalone executables and focus on small sections of high risk or fundamental code Component tests load the component using a real- world configuration along with other supporting components and usually contain: – functional tests – unit tests where mock objects would be required by are impractical – not-quite-functional-or-unit tests which are focused and produce contrived, artificial solutions Some components are impractical to test with unit and even component tests (e.g. SIP). This component is most vigorously tested at the system level
4
Testing and Asterisk SCF – Higher Level Testing Useful automated testing of a distributed, interactive, concurrent system != trivial Enter the Asterisk SCF System Testing Framework – Heavy lifting for performance and stress testing as well as full system functional testing – Facilitating analysis is a primary design goal – Automatically generates detailed test specifications including commands and configuration – Implemented in Python and coordinates tests across multiple platforms – Can be run standalone in your own development environment
5
Testing and Asterisk SCF – More About Plugins Plugin API with plugins implemented for: – configuration – component life-cycle control – fail-over simulation – external device simulation (SIP) – remote control – system and post-mortem analysis Plugin spotlight! – PROTOs – independently developed INVITE focused torture test – SIPp – automated, configuration of call scenarios – Wireshark – on the wire logging of SIP, RTP, T38, etc. and generation of call graphs
6
Testing and Asterisk SCF – Output Examples insert SIP call graph screen shot of build/run artifact or something similar.. has to be cool
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.