Transcript

P A G E

Testing Telephony - It’s not all terrible

Ben Langfeld@benlangfeldblangfeld@mojolingo.com

Lance Gleason@lgleasainlgleason@mojolingo.com

Friday, 28 October 2011

P A G E

Friday, 28 October 2011

P A G E

Friday, 28 October 2011

P A G E

WTF GUYS?!

Friday, 28 October 2011

P A G E

UNIT TESTING ADHEARSION APPLICATIONS

3

Friday, 28 October 2011

P A G E

Adhearsion components can be unit tested like anything else

4

Friday, 28 October 2011

P A G E

If using ActiveRecord or any other ORM, move as much domain logic as possible into your models

5

Friday, 28 October 2011

P A G E

State-full telephony fits into a set of domain models

6

Friday, 28 October 2011

P A G E

Specify the hell out of your models

7

Friday, 28 October 2011

P A G E

When possible, encapsulate dialplan DSL methods and/or any other code which touches the voice platform for ease of

mocking

8

Friday, 28 October 2011

P A G E

INTEGRATION TESTING

9

Friday, 28 October 2011

P A G E

QA TELEPHONY APPLICATIONS IS HARD

10

Friday, 28 October 2011

P A G E

MANY COMPLEX SCENARIOS

11

Friday, 28 October 2011

P A G E

VERY COMPLEX BRANCHING FLOW

12

Friday, 28 October 2011

P A G E

LOTS OF REGRESSIONS

13

Friday, 28 October 2011

P A G E

14

Friday, 28 October 2011

P A G E

AUTOMATED INTEGRATION TESTING

14

Friday, 28 October 2011

P A G E

AUTOMATED INTEGRATION TESTING

14

NÜECHO

Friday, 28 October 2011

P A G E

AUTOMATED INTEGRATION TESTING

14

$$$NÜECHO

Friday, 28 October 2011

P A G E

AUTOMATED INTEGRATION TESTING

14

PROPRIETARY$$$NÜECHO

Friday, 28 October 2011

P A G E

AUTOMATED INTEGRATION TESTING

14

TELTONE

PROPRIETARY$$$NÜECHO

Friday, 28 October 2011

P A G E

AUTOMATED INTEGRATION TESTING

14

TELTONE

PROPRIETARY$$$NÜECHO

DITTO

Friday, 28 October 2011

P A G E

15

Friday, 28 October 2011

P A G E

CUCUMBER-VOIP

15

Friday, 28 October 2011

P A G E

CUCUMBER-VOIP

15

Friday, 28 October 2011

P A G E

CUCUMBER-VOIP

15

$0, OPEN SOURCE, EXTENSIBLE

Friday, 28 October 2011

P A G E

16

Friday, 28 October 2011

P A G E

17

Friday, 28 October 2011

P A G E

(TOTALLY FAKED - THERE’S BUGS)

18

Friday, 28 October 2011

P A G E

19

Friday, 28 October 2011

P A G E

TEST THE ENTIRE STACK, INCLUDING THE VOICE INTERACTION AND MEDIA

20

Friday, 28 October 2011

P A G E

GITHUB.COM/BENLANGFELD/CUCUMBER-VOIP

21

Friday, 28 October 2011

P A G E

Quest ions?

Friday, 28 October 2011

top related