ADVANCES IN TESTING Ahmed Shabib @iamshabib
ADVANCES IN TESTINGAhmed Shabib
@iamshabib
VIRTUALIZATION OF TEST ENVIRONMENTS
WHAT IS 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)
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( …(
WHY
WHY• Software needs to be tested under different
platforms and configurations.
• Setting up of test environments are cumbersome
• Cost Effective
–Some Random Developer
“Build early and build often.(BEBO)”
POPULAR TOOLS
POPULAR VIRTUALIZATION TOOLS• VmWare
• Oracle VirtualBox
• KVM
• XEN
• ……
SOME CONFUSING TERMS
LINUX CONTAINERS(LXC) VS
HYPERVISORS VS
BARE METAL
VAGRANT
WHAT IS VAGRANTAllows you to create portable test and development environment
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 :)
VAGRANT COMMANDSvagrant init -‐ Initialises the environment
vagrant up -‐ Boots up the machine
vagrant ssh -‐ Connect to machine
vagrant destroy -‐ Delete the machine
DEMO
QUESTIONS ?
–Ahmed shabib
Thank You