deploy and destroy complete test environments

26
Deploy and Destroy Complete Test Environments Service Virtualization, Containers and Cloud Bas Dijkstra [email protected] www.ontestautomation.com @_basdijkstra

Upload: bas-dijkstra

Post on 15-Jan-2017

1.990 views

Category:

Software


2 download

TRANSCRIPT

Page 1: Deploy and Destroy Complete Test Environments

Deploy and Destroy Complete Test Environments

Service Virtualization, Containers and Cloud

Bas Dijkstra

[email protected]

www.ontestautomation.com

@_basdijkstra

Page 2: Deploy and Destroy Complete Test Environments

Continuous Delivery

Release Build

Test Deploy

Page 3: Deploy and Destroy Complete Test Environments

Continuous Testing

Release Build

Test Deploy

Page 4: Deploy and Destroy Complete Test Environments

Test environment impediments

System under test

Mainframe

SaaS dependency

Backend system

Mobile app

No suitable test data Limited access

Under development Access fees

Page 5: Deploy and Destroy Complete Test Environments

The T-shaped tester: What about the T-shaped test environment?

Undercontrol

100% availabilityScalable Realistic

performanceSuitable test data

Page 6: Deploy and Destroy Complete Test Environments

Service virtualization

System under test

Virtualized mainframe

Virtualized SaaS

dependency

Virtualized backend system

Virtualized mobile app

Unrestricted access

Unrestricted access

Unrestricted access

Unrestricted access

Page 7: Deploy and Destroy Complete Test Environments

Service virtualization

_Simulation of dependency behavior

_Oblivious to dependency implementation

_Virtual assets

Page 8: Deploy and Destroy Complete Test Environments

Virtual asset creation

_Record and playback

_Based on specifications

Page 9: Deploy and Destroy Complete Test Environments

Implementation considerations

_Start small

_Model just enough

_Learn and expand

Page 10: Deploy and Destroy Complete Test Environments

Testing process benefits

_Test earlier

_Test more often

_Test more

Page 11: Deploy and Destroy Complete Test Environments

Taking service virtualization to the next level_Continuous Delivery integration

_Containerization

_Cloud

Page 12: Deploy and Destroy Complete Test Environments

Test environments on demand

_Recreate exact same initial situation every time

_Always available

_Scalable

Page 13: Deploy and Destroy Complete Test Environments

Test environments on demand

Build server

commit

Provision virtual test environment

Deploy application under

test

Run tests

Page 14: Deploy and Destroy Complete Test Environments

Server hardware

Host operating system

Docker engine

Bins / libs Bins / libs

App CApp BApp A

Page 15: Deploy and Destroy Complete Test Environments

Example: Hoverfly (SpectoLabs)

_HTTP(S) only

_Light-weight and open source

_http://hoverfly.io

Page 16: Deploy and Destroy Complete Test Environments
Page 17: Deploy and Destroy Complete Test Environments

Example: Parasoft Virtualize

_Support for many message types and protocols

_Commercially licensed

_Environment Manager

_http://www.parasoft.com/virtualize

Page 18: Deploy and Destroy Complete Test Environments

Virtualize + VSTS + Azure

commit

Parasoft Environment

Manager

Simulated test environment

Application under test

AUT ParasoftSV

Azure cloud VM

Host OS

Server

On-demand test environment in

the cloud

Page 19: Deploy and Destroy Complete Test Environments

Organizational decisions

$$$$

$$ $$

$

$

$

$$ $?

???

??

?

? ??

??

?

?

??

?

?

? ?

Page 20: Deploy and Destroy Complete Test Environments

Infrastructure

OR

On premise In the cloud

Page 21: Deploy and Destroy Complete Test Environments

Knowledge

OR

Inside development teams

Center of Excellence

Page 22: Deploy and Destroy Complete Test Environments

Development

OR

In-house Outsourced

Page 23: Deploy and Destroy Complete Test Environments

Example SV maturity journey

Page 24: Deploy and Destroy Complete Test Environments

Case study: education

Infrastructure Knowledge Development

Page 25: Deploy and Destroy Complete Test Environments

Case study: financial services

Infrastructure Knowledge Development

Page 26: Deploy and Destroy Complete Test Environments

?_ Email: [email protected]

_ Blog: http://www.ontestautomation.com

_ LinkedIn: https://www.linkedin.com/in/basdijkstra

_ Twitter: @_basdijkstra