automated testing: go beyond the basics

Post on 23-Jan-2018

158 Views

Category:

Software

3 Downloads

Preview:

Click to see full reader

TRANSCRIPT

       W3  Test  Automation  10/5/16  11:30            

Automated  Testing:  Go  Beyond  the  Basics  Presented  by:    

 

  Jim  Holmes      

Guidepost  Systems    

Brought  to  you  by:        

   

   

350  Corporate  Way,  Suite  400,  Orange  Park,  FL  32073    888-­‐-­‐-­‐268-­‐-­‐-­‐8770  ·∙·∙  904-­‐-­‐-­‐278-­‐-­‐-­‐0524  -­‐  info@techwell.com  -­‐  http://www.starwest.techwell.com/      

 

   

   

Jim  Holmes      An  executive  coach  at  Pillar  Technology,  Jim  Holmes  works  with  organizations  trying  to  improve  their  software  delivery  process  and  ship  higher  value  to  their  customers.  He's  the  owner/principal  of  Guidepost  Systems,  engaging  directly  with  struggling  organizations.  Since  joining  the  US  Air  Force  in  1982,  he  has  been  in  various  corners  of  the  IT  world  with  organizations  from  start-­‐ups  to  Fortune  10  companies.  Jim  has  been  in  many  different  environments  but  greatly  prefers  the  lean  and  agile  communities.  When  not  working,  Jim  may  be  playing  Xbox,  hiking  with  his  family,  enjoying  a  glass  of  wine,  or  banished  to  the  garage  practicing  his  guitar.  

Automated Testing

Beyond The Basics

Slides:SpeakerDeck.com/JimHolmes

A Story of Woe

finf

What’s YOUR

Current State?

Slow

Brittle

High Maintenance Cost

WTFITWBWH

What The Fuck is Tested By

What Where How

HECK

TrustDeficit

Automation’s Goals?

Testers Test!

TRUST

Let’s TalkFixes

First and Foremost:

Be Thoughtful

Good Coverage

Reduce Overlap

Understand Data Flows

TDD Is Magic Bacon Unicorns and

Solves Everything!

Don’t Test Stupid Stuff

Don’t Test Low Value Less Optimal Stuff That Someone’s

Already Tested Or Is a Dependency You

Don’t Want

Gmail 3rd Party Controls

CAPCHA

SharePoint

Test Code is

Production Code!

SOLID

SRP

Cucumber => Step Definitions

Domain Objects

CopyProductCatalogEditProductCatalogDeleteProductCatalogTransmitBookingOrderHandleRejectedBookingOrderWashJimsCarFixJimsCarReplaceJimsCarEngineWithRocket

ProductCatalogBookingOrderJimsCarCarEngineRocketAdapterCasketForJim

Page Objects

DRY moist

Avoid Too Much Abstraction

Test Data

Don’t Use UI Tests to Set up or Configure

Baseline Datasets

Store Datasets in Version Control!

Custom APIs

Help tests be granular, random, and independent

Support APIs leverage existing

system APIs

CreateRetrieveUpdateDelete

Setup and Teardown

Configuration

FSAPITBAA

Freaking Stupid Assed Pain In The Butt Async Actions

SharePoint

Oracles

Speed

Parallelization Solves Everything!

Fix Your Dang System!

bit.ly/3HoursTo3Mins

Takeaways:

Automate High-Value, High Risk

Avoid Overlapping

Coverage

Test Codeis

Production Code

Manage Your Data

Build Out APIs

Thank You!

bit.ly/leadershipjourney

Slides:

SpeakerDeck.com/JimHolmes

JHolmes@PillarTechnology.com

FrazzledDad.com

@aJimHolmes

top related