+ All Categories
Home > Documents > Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by...

Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by...

Date post: 30-Jun-2015
Category:
Upload: eurostar-software-testing-conference
View: 120 times
Download: 2 times
Share this document with a friend
23
Version 2.5 © Bredex GmbH Using Functional Test Automation to Prevent Defects from Escaping the Development Phase Alexandra Schladebeck
Transcript
Page 1: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

Version 2.5© Bredex GmbH

Using Functional Test Automation to Prevent Defects from Escaping the Development Phase

Alexandra Schladebeck

Page 2: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

2

Agenda

Prevention versus cure

Testing close to development

Focus on the user perspective

Automation as a quality-enhancing activity

Open points for the test process

Checklist and conclusions

Page 3: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

3

Prevention versus cure

Prevention? Discovery and removal

(or: seek and destroy)

Page 4: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

4

How soon is now?

Page 5: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

5

Software, defend yourself!

Justification Test criteria During development Frequently

Regardless of model… More information is

beneficial As early as possible

Page 6: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

6

Focusing on what‘s important

What informaton do we want? What sources are available to us? What are our priorities?

Our focus: customer perspective … the perspective with which

it will be used

Page 7: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

7

Use test automation to test…

Automate acceptance tests during development ATDD / In parallel / Just after

The early automator gets the worm

Steps… Review Automate Repeat (React)

Page 8: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

8

Step 1: Preparing for automation

Explore Read, talk, prototype, document, play

Set the bar What is good enough Tests and checks

Select automation candidates

Page 9: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

9

Bugs prevented in step one

Case 1: Remembered report

Report written during test Report generated after test

Page 10: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

10

Bugs prevented in step one

Case 2: Forgotten option

Page 11: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

11

Step 2: Do the automation

As close as possible

Be a user while writing the test Different paths and alternatives while

designing / testing Exactness for automation

Added bonuses Usability testing Open questions

Page 12: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

12

Step 2: Do the automation

Long-life tests

Test structure Levels of detail Small use cases Independent tests

Plan for change

Page 13: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

13

Bugs caught in step two

Enter customer name Enter address Enter telephone

number

Leave field via enter

Enter customer name Enter address Enter telephone

number

Don‘t leave field / leave field via click

Page 14: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

14

Bugs caught in step two

Validation PDF Library

Mandatory fields with *

Mandatory fieldsvalidated by program

…all of them? … NoClassDefFound

Page 15: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

15

Step 3: Lather, rinse, repeat

Activity of automating test has gathered all information it can?

Multiply Same test new area of application Same test another platform Same test new software versions

Page 16: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

16

Step 3: The glossy finish

Continuous integration

Error handling in tests

Page 17: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

17

Bugs prevented by step three

Case 1: Multiplication error

Case 2: Regression error

OK

OK

OKFailed

Page 18: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

18

Step 4: React

Page 19: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

19

Step 4: React

Page 20: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

20

What have we got so far?

Page 21: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

21

What‘s missing?

Page 22: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

22

Checklist

Add the test perspective Tester, User, Documentation

Start automating As close as possible Explicit tests

Find ways to gain feedback CI, Show & Tell, Docu

React to feedback

Page 23: Using Functional ,Test Automation to Prevent Defects from Escaping the Development Phase' by Alexandra Schladebeck

23

Thank you!

[email protected]

blog.bredex.de

www.bredexsw.com

Twitter: alex_schl


Recommended