1
How to improve your manual testing
… ¡without getting bored! Alex Schladebeck
23.10.2014
(exploratory testing and session-based test management)
How to improve your manual testing without getting bored! Alex - - PowerPoint PPT Presentation
How to improve your manual testing without getting bored! Alex Schladebeck (exploratory testing and session-based test management) 23.10.2014 1 Short introduction BREDEX This talk Individual software Why exploratory testing?
1
23.10.2014
(exploratory testing and session-based test management)
2
BREDEX
development
This talk
23.10.2014 Eclipse Con Europe 2014
3
If you‘re such test automation champions, why are we talking about manual testing?
23.10.2014 Eclipse Con Europe 2014
4
23.10.2014 Eclipse Con Europe 2014
Testing is gathering information with the intention of informing a decision – Jerry Weinberg
5
It is impossible to plan tests in advance to cover every possible condition If you try to plan / write all possible tests, you will
You can only plan based on what you know
23.10.2014 Eclipse Con Europe 2014
Elisabeth Hendrickson, Explore It!
6
23.10.2014 Eclipse Con Europe 2014
Scripted test (manual or automated) Unscripted test (manual only)
Checking Testing (Exploring)
Are there any
risks? Intended behaviour?
7
23.10.2014 Eclipse Con Europe 2014
8
Focus on one aspect makes us miss other things
the ignorance
Errors avoid well-tested paths
23.10.2014 Eclipse Con Europe 2014
9
23.10.2014 Eclipse Con Europe 2014
because as we know, there are known knowns—there are things we know ¡we ¡know… ¡ We also know there are known unknowns; that is to say we know there ¡are ¡some ¡things ¡we ¡do ¡not ¡know… ¡ But there are also unknown unknowns—the ones we don't know we don't know.
Donald Rumsfeld, US Secretary of Defense. Department of Defense News Briefing. Feb 12 2002
10
0th order ignorance
us the same questions being answered again and again
1st order ignorance
testing can help here: ask the questions that will give us the knowledge
2nd order ignorance
don’t ¡know
what ¡we ¡don’t ¡know
23.10.2014 Eclipse Con Europe 2014
11
23.10.2014 Eclipse Con Europe 2014
12
Exploratory testing is not ad hoc Test design, execution and analysis all happen at the same time
decision tables, ¡…)
Situational and emergent practice – context is important
… ¡This sounds kind of difficult, but it‘s actually our normal human practice of reasoning.
23.10.2014 Eclipse Con Europe 2014
13
23.10.2014 Eclipse Con Europe 2014
14
To find out unknown unknowns To find out how the software works
When you need to find important information quickly To keep test script writing to a minimum To find new information and new questions To avoid observational blindness
23.10.2014 Eclipse Con Europe 2014
15
How do I know how the program should behave? What should I test? How do I know what is a problem?
23.10.2014 Eclipse Con Europe 2014
16
Sources
information
context menus
Oracles
problem
Heuristics
testing and to identify problems
23.10.2014 Eclipse Con Europe 2014
17
CRUD: Create, read, update, delete Goldilocks: Too big, too small, just right Users and scenarios: personas, extreme personalities, soap operas, tours Follow the data: Enter – Search – Report – Export – Import – Update – View HICCUPSF: History, Image, Comparable Products, Claims, User expectations, Product, Purpose, Statutes, Familiar Problems Areas of potential instability: interoperation, multiple files, network, ¡…
23.10.2014 Eclipse Con Europe 2014
18
Advantages
scripting
required
information
quickly
Disadvantages
environments
control
management
23.10.2014 Eclipse Con Europe 2014
19
A way of organising and reporting on Exploratory Testing
23.10.2014 Eclipse Con Europe 2014
Session-based test management recipe Charters What areas to test Sessions Time to do the testing Notes Observations, questions, feelings, tests performed Debriefing Information transfer
20 23.10.2014 Eclipse Con Europe 2014
Define charters Prioritise and assign Session – down the rabbithole! Observe and note Debrief
21
Explore [area] with [resources] to discover [information] Charters come from:
require information, the nightmare headline game
Defined in advance but can be changed (Re)prioritised before each new session
23.10.2014 Eclipse Con Europe 2014
22
Uninterrupted timebox
One charter
session
Use heuristics to create and execute tests
23.10.2014 Eclipse Con Europe 2014
23
What did I do? What did I observe?
How do I feel about the quality of this charter? Ratio test:setup Ratio charter:opportunity
23.10.2014 Eclipse Con Europe 2014
24
PROOF
23.10.2014 Eclipse Con Europe 2014
25
8.00 Define, prio, choose charters 8.30 Session 10.00 Debrief 10.15 Break 10.30 Define, prio, choose charters 10.45 Session 12.00 Debrief 12.15 Lunch 1.15 Define, prio, choose charters 1.30 Session 3.00 Debrief 3.15 Bug entry
23.10.2014 Eclipse Con Europe 2014
26
23.10.2014 Eclipse Con Europe 2014
27
Daily / in each sprint Automated tests
testing for new features tests that will become regression tests
Exploratory testing
features
Before a release Manual test checklists
Exploratory testing days with session based test management
23.10.2014 Eclipse Con Europe 2014
28
23.10.2014 Eclipse Con Europe 2014
alexandra.schladebeck@bredex.de @alex_schl www.bredexsw.com testing.bredex.de www.eclipse.org/jubula
29
Jerry Weinberg, Perfect Software and other Illusions about Testing Orders of ignorance http://www.corvusintl.com/CACM002-5OI.htm Exploratory testing
Cheat sheets and mnemonics
23.10.2014 Eclipse Con Europe 2014