More and Better Test Ideas

24
More and Better Test Ideas Rikard Edgren TIBCO Spotfire EuroSTAR 2009-12-03 share one-liner test ideas

description

More and Better Test Ideas. share one-liner test ideas. Rikard Edgren TIBCO Spotfire EuroSTAR 2009-12-03. Acknowledgements. This approach was “invented” and refined at my workplace, and at many other places as well A lot of good talking around test ideas: Kaner, Bach, Bolton - PowerPoint PPT Presentation

Transcript of More and Better Test Ideas

Page 1: More and Better Test Ideas

More and Better Test Ideas

Rikard Edgren

TIBCO Spotfire

EuroSTAR 2009-12-03

share one-liner test ideas

Page 2: More and Better Test Ideas

Acknowledgements

• This approach was “invented” and refined at my workplace, and at many other places as well

• A lot of good talking around test ideas:Kaner, Bach, Bolton

• Many tips & tricks at many places

• See paper for details and references

Page 3: More and Better Test Ideas

Agenda

• Test idea definition

• Two examples

• More test ideas

• Better test ideas

• Summary

Page 4: More and Better Test Ideas

Test Idea Definitions

• "a brief statement of something that should be tested.“ (Brian Marick)

• “test condition: An item or event of a component or system that could be verified by one or more test cases, e.g. a function, transaction, feature, quality attribute, or structural element.”(ISTQB 1.1)

• Test-Ideas List: “An enumerated list of ideas, often partially formed, that identify potentially useful tests to conduct” (Rational Unified Process)

Page 5: More and Better Test Ideas

More Test Idea Definitions

• ”A test idea is the thought that guides our creation of a test” (Cem Kaner)

• “Test Idea: an idea for testing something” (James Bach)

• maybe no definition is needed, you immediately understand what a test idea is.

Page 6: More and Better Test Ideas

Example #1

• Spare time project from Canada• A tool for exploratory testers• Test specification from summer 2009• Used for Beta release 0.2

Page 7: More and Better Test Ideas
Page 8: More and Better Test Ideas

Example #1

• A combination of generic and detailed test ideas

• 53 test ideas cover many important aspects• Possible to see what is missing

• It is a good idea to combine several test ideas, and execute them together

• Efficient to make the list while trying the software

Page 9: More and Better Test Ideas

Scripted & Exploratory Testing

• As approaches to software testing:– ST focus on control, precision– ET focus on learning and the freedom of the tester

• As methods/activities/techniques:– ST designs and reviews tests in advance– ET design and execute simultaneously

• Test ideas enable early feedback, add visibility, save time, and can act as a check list for ET

Page 10: More and Better Test Ideas
Page 11: More and Better Test Ideas

Example #2

• Product development in Gothenburg, Sweden• Test specification from 2008• Used for a 1.0 release• Good starting point for next project

Page 12: More and Better Test Ideas
Page 13: More and Better Test Ideas

Example #2

• Test Ideas range from vague to very vague

• Test Ideas can be converted to detailed test scripts, together with necessary details

• Test Ideas can be executed as is, trusting the tester to design the tests and choose thoroughness

Page 14: More and Better Test Ideas

More Test Ideas

• Requirements aren’t enough

• For each part and its interactions– What should be right?– What can go wrong?– What quality attributes matter?– What is important?

• Be creative, and work hard– for each test idea, there are two more

Page 15: More and Better Test Ideas

Test Idea Triggers

• So many inputs, methods, heuristics...– requirements/specifications/prototypes/code– bugs/error catalogs/support/customers– technology/tools/systems/interactions/models– quality objectives/attributes– testing techniques– test idea lists– people

• your subjectivity, knowledge, experience...

Page 16: More and Better Test Ideas

My Favorites #1

• Quality attributes– Capability– Reliability– Usability– Security– Scalability– Performance– Installability– Compatibility

– Supportability– Testability– Maintainability– Portability– Localizability

– Accessibility– Interoperability

Page 17: More and Better Test Ideas

My Favorites #2

• Delete/Remove/Empty/Null

• Read the manual

• Look at all deliverables

• Use the same data/document a very long ”time”

• ”Real” usage of the product

Page 18: More and Better Test Ideas

Better Test Ideas

• Powerful• Yield significant results• Credible• Likely• Easy to evaluate

• Useful for troubleshooting• Informative• Appropriately complex• Giving insightful information• Easy to understand*• Fast to execute*

* not in Kaner’s What is a good test case

Page 19: More and Better Test Ideas

Better Test Ideas

• Test ideas get better through collaboration• ...with people that care, and understand what’s

important

• Try to get feedback from many sources• Discard test ideas that seem weaker

• You will get even better test ideas as you learn more about the product

Page 20: More and Better Test Ideas

Test Ideas in Practice

• Many different types• One-liners are fast to read• Easy to update• Vague to leave freedom• Useful now-then, me-otherpeople

• Adjust granularity for better readability

Page 21: More and Better Test Ideas

Find Five Faults

...but there are other things than these faults that are more important...

Page 22: More and Better Test Ideas

Limitations

• Test executors might need a lot of testing and product knowledge

• Might be difficult to evaluate results anyway

• Can be difficult to get good feedback

• Generic test ideas might obscure the new context

Page 23: More and Better Test Ideas

Summary

• Many different test ideas is a good thing• More people will give better perspectives

• Test ideas are fast to read, write and update

• Test ideas could be the glue you need for using test scripts and an exploratory testing approach

• Documented test ideas is a simple idea, you need to use it to understand the value

Page 24: More and Better Test Ideas

Questions

• ???

[email protected]