Top Banner
ADVANCES IN TESTING Ahmed Shabib @iamshabib
19
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Virtualization

ADVANCES IN TESTINGAhmed Shabib

@iamshabib

Page 2: Virtualization

VIRTUALIZATION OF TEST ENVIRONMENTS

Page 3: Virtualization

WHAT IS VIRTUALIZATION

Page 4: Virtualization

WHAT IS VIRTUALIZATIONCreating virtual version of something including but not

limited to a virtual computer hardware platform, operating system (OS), storage device, or computer

network resources.

(Wikipedia)

Page 5: Virtualization

Virtual(Machine(

1(

Hypervisor(

Opera6ng(System(

Hardware(Resources(

Virtual(Machine(

2(

Virtual(Machine(

3(….(

VIRTUALIZATION STACK

Virtual(Machine(

1(

Hypervisor(

Hardware(Resource(

Virtual(Machine(

2( …(

Page 6: Virtualization

WHY

Page 7: Virtualization

WHY• Software needs to be tested under different

platforms and configurations.

• Setting up of test environments are cumbersome

• Cost Effective

Page 8: Virtualization

–Some Random Developer

“Build early and build often.(BEBO)”

Page 9: Virtualization

POPULAR TOOLS

Page 10: Virtualization

POPULAR VIRTUALIZATION TOOLS• VmWare

• Oracle VirtualBox

• KVM

• XEN

• ……

Page 11: Virtualization

SOME CONFUSING TERMS

Page 12: Virtualization

LINUX CONTAINERS(LXC) VS

HYPERVISORS VS

BARE METAL

Page 13: Virtualization

VAGRANT

Page 14: Virtualization

WHAT IS VAGRANTAllows you to create portable test and development environment

Page 15: Virtualization

WHY VAGRANT• Easy to use

• Easy to deploy

• Support for shell/chef/puppet and many more provisioner codes

• Support for AWS, OpenStack, Ganeti, Azure …… via plugins

• I like it :)

Page 16: Virtualization

VAGRANT COMMANDSvagrant  init  -­‐  Initialises  the  environment  

vagrant  up  -­‐  Boots  up  the  machine  

vagrant  ssh  -­‐  Connect  to  machine  

vagrant  destroy  -­‐  Delete  the  machine

Page 17: Virtualization

DEMO

Page 18: Virtualization

QUESTIONS ?

Page 19: Virtualization

–Ahmed shabib

Thank You