250 likes | 383 Vues
Planning your TESTING & AUTOMATION Environment. Viranand Strout, MANDIANT (NOVATAIG 7/13/2011). A Little About Me…. Shameless Recruiting. Software Testers (Automation ++) Capacity and Performance Engineers Software Engineers …and much more!
E N D
Planning your TESTING & AUTOMATION Environment Viranand Strout, MANDIANT (NOVATAIG 7/13/2011)
Shameless Recruiting Software Testers (Automation ++) Capacity and Performance Engineers Software Engineers …and much more! Alexandria (HQ) and a new Reston office (Summer 2011) is hiring! (http://jobs.mandiant.com)
What’s the problem? The environment drives the test coverage.
How about this? The tests drive the environment.
Head Scratching • I like software but that network and machine configuration stuff is boring. • What’s the deal with it happening in production but not in QA? • I’m the only one who can run my automation • Developer who? • You can use that machine… but don’t mess it up! • It only happens on my machine
Breaking it Down • Installation/Deployment • Functional • System • Configuration Mgmt • Scale/Performance • Security/Communication • Automation • Continuous Integration • Others…
Example: Configuration Management • I need to be able to test my software on 10 operating systems in any given build • How do I quickly pull up those configurations and make sure that they are ready for test? • What I need: I need x bare metal environments and and x virtual environments at my disposal. These environments need to be stood up and reverted in a clean way.
What is the SA Worried About? • Virtualization • Firewalls • Network • Servers • Backup/Restore • Uptime • Throughput • Environment Bloat
Example: Network Architecture • Subnets, routing • Active Directory • Firewall traffic • Need to know: How do we anticipate different components within a system to be installed in production or on a customer site and how do they communicate to each other?
We Don’t Need No Stinkin’ Process • Who will use it? • How often? • How will they use it? • Ease of use • Accountability • Recoverability • Speed
Tie it Together Installation/Deployment Functional System Configuration Mgmt Scale/Performance Security/Communication Automation Continuous Integration Virtualization Firewalls Network Servers Backup/Restore Uptime Throughput Environment Bloat QA SA
Pretty Pictures Sample Software Test Environment
Security and Network Subnet 3 Subnet 1 Subnet 2 Port 1433 Port 80
Templates and Cloning Virtualized Environment Template Environment Initialization Scripts
Templates and Cloning Virtualized Environment QA Environment Template Environment Automation Environment Development Environment
Automation and Continuous Integration Virtualized Environment Virtualization API CI Server Template Environment Test Automation Server Automation Environment
Templates and Cloning Virtualized Environment Virtualization API Test Automation Server Template Environment QA EnviroConfig 1 QA EnviroConfig 2
Thank You! Viranand Strout Viranand.Strout@Mandiant.com