testing telephony

33
PAGE Testing Telephony - It’s not all terrible Ben Langfeld @benlangfeld [email protected] Lance Gleason @lgleasain [email protected] Friday, 28 October 2011

Upload: ben-langfeld

Post on 28-Jan-2015

126 views

Category:

Technology


4 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Testing telephony

P A G E

Testing Telephony - It’s not all terrible

Ben Langfeld@[email protected]

Lance Gleason@[email protected]

Friday, 28 October 2011

Page 2: Testing telephony

P A G E

Friday, 28 October 2011

Page 3: Testing telephony

P A G E

Friday, 28 October 2011

Page 4: Testing telephony

P A G E

WTF GUYS?!

Friday, 28 October 2011

Page 5: Testing telephony

P A G E

UNIT TESTING ADHEARSION APPLICATIONS

3

Friday, 28 October 2011

Page 6: Testing telephony

P A G E

Adhearsion components can be unit tested like anything else

4

Friday, 28 October 2011

Page 7: Testing telephony

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

Page 8: Testing telephony

P A G E

State-full telephony fits into a set of domain models

6

Friday, 28 October 2011

Page 9: Testing telephony

P A G E

Specify the hell out of your models

7

Friday, 28 October 2011

Page 10: Testing telephony

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

Page 11: Testing telephony

P A G E

INTEGRATION TESTING

9

Friday, 28 October 2011

Page 12: Testing telephony

P A G E

QA TELEPHONY APPLICATIONS IS HARD

10

Friday, 28 October 2011

Page 13: Testing telephony

P A G E

MANY COMPLEX SCENARIOS

11

Friday, 28 October 2011

Page 14: Testing telephony

P A G E

VERY COMPLEX BRANCHING FLOW

12

Friday, 28 October 2011

Page 15: Testing telephony

P A G E

LOTS OF REGRESSIONS

13

Friday, 28 October 2011

Page 16: Testing telephony

P A G E

14

Friday, 28 October 2011

Page 17: Testing telephony

P A G E

AUTOMATED INTEGRATION TESTING

14

Friday, 28 October 2011

Page 18: Testing telephony

P A G E

AUTOMATED INTEGRATION TESTING

14

NÜECHO

Friday, 28 October 2011

Page 19: Testing telephony

P A G E

AUTOMATED INTEGRATION TESTING

14

$$$NÜECHO

Friday, 28 October 2011

Page 20: Testing telephony

P A G E

AUTOMATED INTEGRATION TESTING

14

PROPRIETARY$$$NÜECHO

Friday, 28 October 2011

Page 21: Testing telephony

P A G E

AUTOMATED INTEGRATION TESTING

14

TELTONE

PROPRIETARY$$$NÜECHO

Friday, 28 October 2011

Page 22: Testing telephony

P A G E

AUTOMATED INTEGRATION TESTING

14

TELTONE

PROPRIETARY$$$NÜECHO

DITTO

Friday, 28 October 2011

Page 23: Testing telephony

P A G E

15

Friday, 28 October 2011

Page 24: Testing telephony

P A G E

CUCUMBER-VOIP

15

Friday, 28 October 2011

Page 25: Testing telephony

P A G E

CUCUMBER-VOIP

15

Friday, 28 October 2011

Page 26: Testing telephony

P A G E

CUCUMBER-VOIP

15

$0, OPEN SOURCE, EXTENSIBLE

Friday, 28 October 2011

Page 27: Testing telephony

P A G E

16

Friday, 28 October 2011

Page 28: Testing telephony

P A G E

17

Friday, 28 October 2011

Page 29: Testing telephony

P A G E

(TOTALLY FAKED - THERE’S BUGS)

18

Friday, 28 October 2011

Page 30: Testing telephony

P A G E

19

Friday, 28 October 2011

Page 31: Testing telephony

P A G E

TEST THE ENTIRE STACK, INCLUDING THE VOICE INTERACTION AND MEDIA

20

Friday, 28 October 2011

Page 32: Testing telephony

P A G E

GITHUB.COM/BENLANGFELD/CUCUMBER-VOIP

21

Friday, 28 October 2011

Page 33: Testing telephony

P A G E

Quest ions?

Friday, 28 October 2011