18
Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

Embed Size (px)

Citation preview

Page 1: Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

Automated Testing on Agile Teams

Aimee DeWitt

Tina Lockwood

Page 2: Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

BRNDEXP 2.1 0714 © 2014 Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner

4

Automation in Agile

• History

• Current State

• Best Practices

• Questions?

Page 3: Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

BRNDEXP 2.1 0714 © 2014 Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner

5

Automation in Agile

• Does automation have a place on agile teams?• A few benefits

• Quicker defect detection• Consistent testing• Scheduled testing• More testing• ROI

Page 4: Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

BRNDEXP 2.1 0714 © 2014 Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner

6

Automation in Agile

• How?• It begins with the “Definition of Done”

Page 5: Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

BRNDEXP 2.1 0714 © 2014 Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner

7

Automation in Agile

• How?• It continues with tasks

Page 6: Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

BRNDEXP 2.1 0714 © 2014 Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner

8

Page 7: Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

BRNDEXP 2.1 0714 © 2014 Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner

9

Automation in Agile

Page 8: Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

BRNDEXP 2.1 0714 © 2014 Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner

10

Automation in Agile

• What if I eliminate Quality Center?• Tests are stored in SVN (Repository)• Results are archived (database)

Page 9: Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

BRNDEXP 2.1 0714 © 2014 Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner

11

Anatomy of an Automated Test

• Exploratory Testing Charter

• Automated tests

Click icon to add picture

Page 10: Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

BRNDEXP 2.1 0714 © 2014 Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner

12

Anatomy of an Automated Test with QC

Page 11: Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

BRNDEXP 2.1 0714 © 2014 Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner

13

Anatomy of an Automated Test with QC

Page 12: Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

BRNDEXP 2.1 0714 © 2014 Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner

14

Anatomy of an Automated Test with QC

Page 13: Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

BRNDEXP 2.1 0714 © 2014 Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner

15

Duplicating Automation Efforts

• If you have multiple teams, make sure you share as much automation as you possibly can. • Create shared repositories and put this into your

planning meetings. For some this might be your starting point. Building your actual reusable components.

• Understand what your developers are writing in their automation efforts. If they did it in Whitebox testing do you need it in Blackbox testing? Some might, some might not.

Page 14: Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

BRNDEXP 2.1 0714 © 2014 Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner

16

Thinking Outside the box

• You have reviewed all different kinds of automation styles and tooling but you still can’t get everything automated. Now what?• Prerequisites• Anything reusable repeatable

Page 15: Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

BRNDEXP 2.1 0714 © 2014 Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner

17

Best Practices

• Start Small

• Be organized

• Make sure your tooling is validated for what you need

• Don’t hardcode unless you have too

• Watch your dependencies

Page 16: Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

”“

18BRNDEXP 2.1 0714 © 2014 Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner

Automate everything until you can’t

Tina Lockwood

Cerner Corporation

Solution Manager

Page 17: Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

”“

19BRNDEXP 2.1 0714 © 2014 Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner

Understand the benefits of what you are automating before you start. Not everything should be

automated.

Aimee DeWitt

Cerner Corporation

Sr. Test Analyst

Page 18: Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

BRNDEXP 2.1 0714 © 2014 Cerner Corporation. All rights reserved. This document contains Cerner confidential and/or proprietary information belonging to Cerner Corporation and/or its related affiliates which may not be reproduced or transmitted in any form or by any means without the express written consent of Cerner

20

Questions?