automated acceptance testing of high capacity network gateway

22
 RANNICON NSN Automated Acceptance Testing of High Capacity Network Gateway Ran Nyman, Ismo Aro, Ronald Wagner

Upload: ismo-aro

Post on 26-Jun-2015

238 views

Category:

Technology


0 download

DESCRIPTION

Experience paper presentation from XP2010. Paper itself can be found from: http://gosei.fi/material/xp2010-final-public-v1.pdf

TRANSCRIPT

Page 1: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

Automated Acceptance Testing of High Capacity Network Gateway

Ran Nyman, Ismo Aro, Ronald Wagner

Page 2: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

Content

Background

Initial Phase

Growing

Scaling Now

Agile Acceptance Testing

CI

Challenges with ATDD

Conclusions

Page 3: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

Who are We

Ran NymanAgile Coach

Consultant

Developer

Ismo AroAgile Coach

Scrum Master

Tester

Developer

Page 4: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

Background

Product development started in 2007

The product High capacity GGSN and SAE 

Gateway

Two teams and cultures Waterfall Agile

Page 5: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

The Starting Phase

Two teams

Mixing teams

No legacy code

First steps: PBL  Initial architecture and  Development environment

Page 6: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

Growing First Wave

Two more teams from traditional background

C team grasped new development ideas fast

D team had difficulties in changing

Page 7: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

Growing Second Wave

More local teams

Subcontractor on different continent Same rules apply CI challenges Customs problems Lot's of traveling

And it slowly started to work 

Page 8: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

Current Setup

More than 20 teams

Located in four countries

Development staff is still growing More teams on existing sites

Page 9: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

How Does it Work

Release at least every other sprint

“As a result of our agility in developing products, we have been able to demonstrate the product capabilities at an early stage of the development cycle itself, helping us to win new customers cases.” 

Head of the product line

Page 10: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

Agile Acceptance Testing

Page 11: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

Agile Acceptance Testing

Acceptance test are decided in beginning of sprint

Tests are automated during development

All acceptance test are automated

Test scripts are only documentation that is written from tests

Page 12: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

Tools

CI servers: Bamboo, BuildBot

Automation Framework: Robot Framework

Protocol tester: Catapult

Page 13: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

Continuous Integration

CI Build (compilation and Unit Tests) Sanity Nightly regression

Page 14: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

CI Initial

Page 15: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

CI Current

Page 16: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

Test Growth

Page 17: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

Page 18: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

Challenges with ATDD

Limited e2e testing:

No visibility what is ready for shipping

Hard to troubleshoot

Changing functionality leads to unpredictable failures in tests

ATDD is done on to low level

Page 19: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

E2E Tests in Future

Test cases are created before code and they work as a tool of communication.

Test Cases are going to be written using BDD. eg.

Given activate customer license 

When customized packet is send to A interface

Then packet is delivered from A interface to B interface.

And no counters are increased. 

Page 20: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

Conclusions

Automated acceptance testing pays off

100% test automation is the target

Real life is more complex than you think

Do not forget the CI challenges

Splitting requirements and tracking progress

Page 21: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

Questions

Page 22: Automated Acceptance Testing of High Capacity Network Gateway

 RANNICON NSN

Contact Us

Ran Nyman

[email protected] www: http://rannicon.com

Ismo Aro

[email protected] Twitter: ismoaro www: http://www.graceland.fi

Roland Wagner

[email protected]