Passionate Partnering
For Testers

René Tuinhout
RTuinhout@kza.nl
+31 (0)6 295 285 10
Program

2
Program

3
Introductions

• Test analyst / test automater → test coordinator →
test manager / test advisor / practice lead / tutor
…
...
So, who are you?

In Male?
Female?
Testing?

Not a relationship?
In in a relationship?

5
Introductions

“Are you a successful tester? Join this
track and discover how to use your
testing skills for Passion.
Are ...
Techniques andTechniques
Partnering

7
White box or black box?

• White box testing

Input

Output

• Black box testing

Input

Output

8
http://blog.ericshepard...
1. Equivalence partitioning
2. Boundary value analysis
3. Decision tables
(Cause effect graphing)
4. State Transition test...
Equivalence partitioning (1/2)

• Divide inputs (outputs) into groups that are
expected to exhibit similar behaviour
(vali...
Equivalence partitioning (2/2)

• Several classes can be tested
• Combine valid classes,
Do not combine invalid classes

+...
Boundary value analysis

• Behaviour at the boundaries of an equivalance
class often more interesting
• For each boundary,...
Decision tables (1/4)

• So, what other demands are there?
• Please shout, I’ll write them down

13
Decision tables (2/4)

• Find conditions => We did!
• Find actions ... Hmm... “Select as partner”?
• Put them in a table
•...
Decision tables (3/4)

• So let’s make the decision table:
Condition 1

Y

Y

Y

Y N N N N

Condition …

Y

Y

N

N Y

Con...
Decision tables (4/4)
x

• So: X conditions = 2 tests
• That s quite a lot of tests to do...
• Could we reduce the nr. of ...
Test types

• ISO 9126:

•
•
•
•
•
•

Portability
Efficiency
Reliability
Functionality
Usability
Maintainability

-

Willi...
Test types

• ISO 9126 -> ISO 25010
Software quality characteristics
Product quality
●

Functional Suitability

●

Perform...
State transition testing (1/3)

Remember this technique?
Current time = Alarm set
Go to beeping

Loud, annoying
beep
Snooz...
State transition testing (2/3)

Chow’s coverage (switch coverage)
Current time = Alarm set
Go to beeping

Loud, annoying
b...
State transition testing (3/3)

So, what states exist regarding partnering?
Life

Young and
single and
happy

Life

Life

...
Process testing

http://www.godembassy.com/main/pastor-sunday-adelaja/item/709-life-is-predictable.html regarding the book...
Some other techniques (1/4)

• AB-testing:
• Compare two possible solutions

• Choose the best
• Repeat every few years

2...
Some other techniques (2/4)

• Agile
1.
2.
3.
4.
5.

Satisfy the customer
Welcome change
Make it work fast
Work together
M...
Some other techniques (3/4)

• Pair-wise testing
• For all pairs test all possible
combinations...
• “Bugs involving inter...
Some other techniques (4/4)

• Error guessing (Fault attack)
• So, what could go wrong?...
• And if I know: Let’s test tha...
Short summary so far

• In daily life, we could use:
•
•
•
•

Equivalence partioning
Boundary value analysis
Decision tabl...
So, what did I do?

• Exploratory testing:
• Test, and work from there
• Other techniques can be used

28
So, what did I do?

• Exploratory testing:
• Test, and work from there
• Other techniques can be used
Looks like a model

...
So, what did I do?

• Exploratory testing:
• Test, and work from there
• Other techniques can be used
Humorous

Y Y Y Y Y ...
So, what did I do?

• Exploratory testing:
• Test, and work from there
• Other techniques can be used

28
So, what did I do?

• Exploratory testing:
• Test, and work from there
• Other techniques can be used

I feel miserable
28
So, what did I do?

• Exploratory testing:
• Test, and work from there
• Other techniques can be used

28
So, what did I do?

• June 9th 2012

29
So, what did I do?

• June 9th 2012

29
So, what did I do?

• June 9th 2012

29
So, what did I do?

• June 9th 2012

Heleen Tuinhout-Stelwagen

30
Summary and thoughts

• Exploratory testing proved to be
the right technique for me!
• Despair is part of the process
• Ch...
An afterthought

• This process, haven’t we seen it
before in testing?:

• Having an idea
• Being enthusiastic about it
• ...
Questions?

31
One more question

32
Thank you!!!
Passionate Partnering
For Testers

René Tuinhout
RTuinhout@kza.nl
+31 (0)6 295 285 10
Upcoming SlideShare
Loading in …5
×

Passionate Partnering, for Testers

559 views
448 views

Published on

Презентация доклада René Tuinhout на конференции SQADays-14 English Day, Львов 7 ноября 2013

Published in: Education, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
559
On SlideShare
0
From Embeds
0
Number of Embeds
131
Actions
Shares
0
Downloads
4
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Passionate Partnering, for Testers

  1. 1. Passionate Partnering For Testers René Tuinhout RTuinhout@kza.nl +31 (0)6 295 285 10
  2. 2. Program 2
  3. 3. Program 3
  4. 4. Introductions • Test analyst / test automater → test coordinator → test manager / test advisor / practice lead / tutor … René Tuinhout 4
  5. 5. So, who are you? In Male? Female? Testing? Not a relationship? In in a relationship? 5
  6. 6. Introductions “Are you a successful tester? Join this track and discover how to use your testing skills for Passion. Are you a successful dater? Join this track and discover how to use your passionate skills for Testing.” Combining (testing) techniques and passion Shine a different light on testing techniques and other testing skills, reiterating why our job is so 6
  7. 7. Techniques andTechniques Partnering 7
  8. 8. White box or black box? • White box testing Input Output • Black box testing Input Output 8 http://blog.ericshepard.com/2011/10/female-vs-male-brain.html
  9. 9. 1. Equivalence partitioning 2. Boundary value analysis 3. Decision tables (Cause effect graphing) 4. State Transition testing 5. Process test 6. AB testing, Agile, Pair-wise ( ) 7. End result 9
  10. 10. Equivalence partitioning (1/2) • Divide inputs (outputs) into groups that are expected to exhibit similar behaviour (valid/invalid) • Test one value per group (class) => A partition can be represented by 1 value • Test for valid & invalid classes ??? => Coverage! + - Gender 10
  11. 11. Equivalence partitioning (2/2) • Several classes can be tested • Combine valid classes, Do not combine invalid classes + - Age + - Gender 11
  12. 12. Boundary value analysis • Behaviour at the boundaries of an equivalance class often more interesting • For each boundary, test the value itself, the value nearest to its right and the value nearest to its left (granularity) + Age 30 40 42 46 + Age 41 - http://www.thelocal.se/16116/20081204/ “Swedish study shows women prefer older men” 12
  13. 13. Decision tables (1/4) • So, what other demands are there? • Please shout, I’ll write them down 13
  14. 14. Decision tables (2/4) • Find conditions => We did! • Find actions ... Hmm... “Select as partner”? • Put them in a table • Mutually exclusiveness (e.g. “rich” vs “poor”) • Phrase positive (without “not”) Did we cover this? 14
  15. 15. Decision tables (3/4) • So let’s make the decision table: Condition 1 Y Y Y Y N N N N Condition … Y Y N N Y Condition x Y N Y N Y N Y N Y N N Action 1 Impossible c.com No action • How many columns (= test cases or test conditions?) • 2 number or conditions 15
  16. 16. Decision tables (4/4) x • So: X conditions = 2 tests • That s quite a lot of tests to do... • Could we reduce the nr. of tests? MoSCoW Must Should Could Would 16
  17. 17. Test types • ISO 9126: • • • • • • Portability Efficiency Reliability Functionality Usability Maintainability - Willing to move? Stress proof? Reliable? ... Don’t dare €€€ e [PERFUMe] 17
  18. 18. Test types • ISO 9126 -> ISO 25010 Software quality characteristics Product quality ● Functional Suitability ● Performance Efficiency ● FECES Compatibility Quality in use ● Effectiveness ● Effectiveness C, PERFUMeS! ● Efficiency ● EfficiencyC, PERFUMeS! ● Satisfaction ● Satisfaction ● Usability ● Freedom of risk ● Freedom of risk ● Reliability ● Context coverage ● Context coverage ● Security ● Maintainability ● Portability 18
  19. 19. State transition testing (1/3) Remember this technique? Current time = Alarm set Go to beeping Loud, annoying beep Snooze hit Countdown Represent time Press R-button Go to time Countdown = 0 Go to beeping Countdown 9 minutes 19
  20. 20. State transition testing (2/3) Chow’s coverage (switch coverage) Current time = Alarm set Go to beeping Loud, annoying beep Snooze hit Countdown Represent time Press R-button Go to time Countdown = 0 Go to beeping Countdown 9 minutes • 0-switch coverage covers transition (no switches) • 1-switch coverage covers pair of transitions (1 sw.) • 2-switch coverage covers 3-set of transitions • n-switch coverage covers (n+1)-set of transitions every every every every 20
  21. 21. State transition testing (3/3) So, what states exist regarding partnering? Life Young and single and happy Life Life Older and relationship and happy Life Life Older and single and less happy Life Life Older and relationship and unhappy Life Life Older and single and happy! Life Life Life Older and single and unhappy Life Life Life Life Life 21
  22. 22. Process testing http://www.godembassy.com/main/pastor-sunday-adelaja/item/709-life-is-predictable.html regarding the book shown https://en.wikipedia.org/wiki/Determinism on Determinism 22
  23. 23. Some other techniques (1/4) • AB-testing: • Compare two possible solutions • Choose the best • Repeat every few years 23
  24. 24. Some other techniques (2/4) • Agile 1. 2. 3. 4. 5. Satisfy the customer Welcome change Make it work fast Work together Motivated, trusted people 6. Conversations 7. 8. 9. It works = progress Constant pace (stress) Attention to good design 10. Simplicity 11. Self-organising 12. Reflect and improve • Work in teams... 24
  25. 25. Some other techniques (3/4) • Pair-wise testing • For all pairs test all possible combinations... • “Bugs involving interactions between three or more parameters are progressively less common” • Can be extrapolated to triples, fours etc. 25 https://en.wikipedia.org/wiki/All-pairs_testing on pairwise testing
  26. 26. Some other techniques (4/4) • Error guessing (Fault attack) • So, what could go wrong?... • And if I know: Let’s test that!!! So... o o o o o o It could fail when I cook good food... Test Learn (it doesn’t fail!) It could fail when I cheat on you Test Learn 26
  27. 27. Short summary so far • In daily life, we could use: • • • • Equivalence partioning Boundary value analysis Decision tables Some non-functional testing in partner selection • Using techniques and approaches like: • • • • • • State transition testing Process testing AB-testing Pair wise testing Agile Exploratory might be less recommendable 27
  28. 28. So, what did I do? • Exploratory testing: • Test, and work from there • Other techniques can be used 28
  29. 29. So, what did I do? • Exploratory testing: • Test, and work from there • Other techniques can be used Looks like a model 28
  30. 30. So, what did I do? • Exploratory testing: • Test, and work from there • Other techniques can be used Humorous Y Y Y Y Y Y Y Y Y Y Y Y Y . . A bit cynical Y Y Y Y Y Y Y Y Y Y Y Y Y . . Beautiful (to me) Y Y Y Y Y Y Y Y Y Y Y Y Y . . Smart Y Y Y Y Y Y Y Y N N N N N . . Plays board games Y Y Y Y N N N N Y Y Y Y N . . Enjoys good food Y Y N N Y Y N N Y Y N N Y . . About my age Y N Y N Y N Y N Y N Y N Y . . Date X X X . . Think about dating X X X X X X X X X X . . 28
  31. 31. So, what did I do? • Exploratory testing: • Test, and work from there • Other techniques can be used 28
  32. 32. So, what did I do? • Exploratory testing: • Test, and work from there • Other techniques can be used I feel miserable 28
  33. 33. So, what did I do? • Exploratory testing: • Test, and work from there • Other techniques can be used 28
  34. 34. So, what did I do? • June 9th 2012 29
  35. 35. So, what did I do? • June 9th 2012 29
  36. 36. So, what did I do? • June 9th 2012 29
  37. 37. So, what did I do? • June 9th 2012 Heleen Tuinhout-Stelwagen 30
  38. 38. Summary and thoughts • Exploratory testing proved to be the right technique for me! • Despair is part of the process • Changing requirements along the way can be a good approach 31
  39. 39. An afterthought • This process, haven’t we seen it before in testing?: • Having an idea • Being enthusiastic about it • In this enthusiasm forgetting about some relevant conditions • Or even consciously neglecting those • Spending time and money on the idea • Finding out along the way the world isn’t as ideal as thought • Changing requirements • ... 31
  40. 40. Questions? 31
  41. 41. One more question 32
  42. 42. Thank you!!! Passionate Partnering For Testers René Tuinhout RTuinhout@kza.nl +31 (0)6 295 285 10

×