Automated Testing on Agile Teams Aimee DeWitt Tina Lockwood

Preview:

Citation preview

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?

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

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”

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

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

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

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)

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

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

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

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

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.

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

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

”“

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

”“

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

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?