andy glover - testing is evolving, but where is the evidence - eurostar 2012

31
Andy Glover, Exco Intouch Testing is evolving, but where is the evidence? www.eurostarconferences.com @esconfs #esconfs

Upload: eurostar-conference

Post on 18-Dec-2014

33 views

Category:

Technology


2 download

DESCRIPTION

EuroSTAR Software Testing Conference 2012 presentation on the evolution of testing

TRANSCRIPT

Page 1: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

Andy Glover, Exco Intouch

Testing is evolving, but where is the

evidence?

www.eurostarconferences.com

@esconfs #esconfs

Page 2: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Andy Glover

EuroSTAR 2012

BUT WHERE IS THE EVIDENCE?

TESTING IS EVOLVING,

Page 3: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

It needs to work!

Highly Regulated Environments

There’s a reason

It’s Safety Critical

Page 4: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Verify and Validate

Verified

Show evidence the requirements have been met in the product

Validated

The product has been built as intended for use

Page 5: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

What’s the problem

Testers mind-set:

Pass an audit!

• Need to document [all] actions and decisions

Page 6: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Tester’s Mind Set

• Pass all tests (if possible)

• Reluctant to try new processes

• Reluctant to try new tools

• Functional testing

– Requirements based testing

• Involved late in the development process

Page 7: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Reality

A formal process V. An informal process

• Formal test process near the end of the project. Highly detailed and rigid process.

• Informal test process throughout project. Flexible, low detail.

Page 8: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Reality: Informal Test Process

Hard to describe

Not managed

Seems random at times

Page 9: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Reality: Formal Test Process

• Test Plan & Test Scripts & Traceability Matrix

• Review documents and sign off

– Execute tests

– Sign & Date

• Record screenshots of testing

• Test Report & Issue Logs

• Review documents & test evidence and sign off

• Issue Management

Page 10: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Every project is different

FDA do not prescribe a test approach or techniques

Every software development project is different

There are no best practices, only good practices

Page 11: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Testing Starts From Day One

Testing starts from day one

• Request testability requirements

– Help with test evidence recording and logging

• Review user requirements

• Consider developing test automation

Page 12: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Manage all the testing

Manage the informal testing

Discover where testing happens

Does it add value?

Can it be improved or shared with other testers?

If beneficial, document it

Page 13: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Add Variety

Do more than one type of testing Not just Requirements based testing

Consider group testing sessions

Collaborate with developers on unit testing

Page 14: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Merge the [testing] phases

Agile

• Code, build, test & ‘validate’ in a sprint!

Page 15: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Merge the [testing] phases

Agile

• Code, build, test & ‘validate’ in a sprint!

Hard to fit in with legacy systems

Need automation for regression testing

And… Need to change the whole process!

Page 16: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Agile

Perform a Cost Benefit Analysis. For example:

• Positives:

– Well documented (e.g. books, articles, etc)

• Negatives:

– Change!

– Documentation is still very important in the industry

Page 17: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Agile

Example

2 main testing activities:

Exploratory Testing Sessions

Build and execute Test Automation

Page 18: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Agile

User Stories

Test Ideas

Exploratory Testing

Design Test

Automation

Previous Automation

Automated Regression

Suite

Subset

Review

Test Report

Page 19: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Agile

Exploratory sessions

• Whole team to review & update user stories

• Use the user stories as charters during testing

• Video record the testing, adding comments or tags

• Traceability between sessions and user stories

• Review sessions and follow up with more testing or annotated videos

Page 20: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Session Based Testing

• Manage the informal testing in sessions

• Focus testers on testing (mind set)

– Focus on learning

– Finding issues quickly

– Document as you go

Page 21: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Agile

Automation

• Automate as you go within the sprint

• Automate only what needs automating

– Focus on checking the software

• Add to the automated regression suite

• Work with the developers as one team

• Use the automation to validate product:

– Build reviews/checks around the automation

– Produce screenshots & reports from the automation

Page 22: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Pilot

• Try Agile in a pilot project

• Develop the process as you go

• Allow team to own the process

• Set the challenge to complete all tasks in each sprint

– Can use the hardening sprint for documentation

Page 23: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

It’s all about the evidence

Highly detailed test scripts are common in the industry

• To prove the testing was performed

• As it’s hard to prove the software works!

Page 24: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

It’s all about the evidence

Video shows software working in specific scenarios

• Less need for detailed test scripts

• Argument tests need to be self explanatory are no longer valid

– Reviewing sessions and video evidence requires skill and time

– The tests are more powerful (re-use, variable inputs).

Page 25: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Slide layout for large images NOT to be used for text

Page 26: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Learn

Learning doesn’t stop at the end of conferences

Learn from other testers in the same industry as well as other industries

Books, magazines/articles, blogs, forums, exercises/group sessions

Page 27: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Skill

As a tester, focus on testing skills

• Ability to learn quickly

• Thinking Skills (critical, lateral)

• Technical knowhow and/or programming skills

• Training/exercises

Page 28: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Summary

Highly regulated environments can develop and learn from other industries

Suggestions on new processes/tools

Testers must keep learning and developing skills

Page 29: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

THANK YOU

www.excointouch.com

Andy Glover

Head of Testing at Exco InTouch

[email protected]

Software Testing community:

Blog: http://cartoontester.blogspot.com

Twitter: @cartoontester

I regularly contribute on STC’s The Testing Planet

Page 30: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

EXCO INTOUCH

Our mission is to improve clinical and healthcare outcomes through simple, effective and engaging

patient communication

Exco InTouch is a privately owned & managed company, established in 2004

Operational offices in UK, USA and Canada

Studies conducted in 85 countries with over 750,000 patients

Page 31: Andy Glover - Testing is evolving, but where is the evidence - EuroSTAR 2012

www.excointouch.com

Questions