20
Karen N. Johnson Building a Testing Strategy Karen N. Johnson

Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

• Karen N. Johnson

Building a

Testing Strategy

Karen N. Johnson

Page 2: Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

Who am I?

Karen N. Johnson

Independent Software Test Consultant www.karennjohnson.com

Hosted on Tech Target http://searchsoftwarequality.techtarget.com

My blog http://www.testingreflections.com/blog/3804

Building a Testing Strategy © Karen N. Johnson, 2008 Slide 2

Co-founder of WREST workshop http://www.wrestworkshop.com/Home.html

Director http://www.associationforsoftwaretesting.org

/drupal/executives

Page 3: Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

About this presentation

• There are many ways to build a test strategy.

• Take these ideas as ideas not as absolutes.

• A look at the principles of the context-driven school of

software testing and how the principles apply to building a

strategy.strategy.

• A list of components you might include in your strategy.

Building a Testing Strategy © Karen N. Johnson, 2008 Slide 3

Page 4: Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

The Seven Basic Principles of the

Context-Driven School

• The value of any practice depends on its context.

• There are good practices in context, but there are no best practices.

• People, working together, are the most important part of any project's

context.

• Projects unfold over time in ways that are often not predictable.

• The product is a solution. If the problem isn't solved, the product doesn't • The product is a solution. If the problem isn't solved, the product doesn't

work.

• Good software testing is a challenging intellectual process.

• Only through judgment and skill, exercised cooperatively throughout the

entire project, are we able to do the right things at the right times to

effectively test our products.

Building a Testing Strategy © Karen N. Johnson, 2008 Slide 4

Page 5: Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

Checklist

• Project scope

• Product

• Context

• Project Stakeholders

• Risk analysis• Risk analysis

• Types of Testing

• Test environment

• Test data

• Resources

• Estimates

• Project plans & milestones

Building a Testing Strategy © Karen N. Johnson, 2008 Slide 5

Page 6: Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

Project Scope

• Testing objectives

• Testing in/out for release

• Features in/out for the

releaserelease

• Communicating the testing

scope

Building a Testing Strategy © Karen N. Johnson, 2008 Slide 6

Page 7: Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

Product

• Features

• Regression

• Product documentation

• Interfaces with other applications

• Components outside of the core product• Components outside of the core product

Building a Testing Strategy © Karen N. Johnson, 2008 Slide 7

Page 8: Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

Context

• The product

• The release

• Constraints

• Formal vs. informal

• Initial product release or subsequent release• Initial product release or subsequent release

Building a Testing Strategy © Karen N. Johnson, 2008 Slide 8

Page 9: Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

Project Stakeholders

• Who are they?

• Collect opinions

• Assumptions

• Enlist support• Enlist support

Building a Testing Strategy © Karen N. Johnson, 2008 Slide 9

Page 10: Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

Risk Analysis

• Regulations

• Compliance

• Formal (FMEA)

• Informal

• Areas for consideration: functional, content, security, data, • Areas for consideration: functional, content, security, data,

load, performance, privacy

Building a Testing Strategy © Karen N. Johnson, 2008 Slide 10

Page 11: Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

Types of Testing

1. Black box

2. White box

3. Gray box

4. Functional

5. Automated

6. Regression

7. Security

12. Multi-user

13. Cookies

14. Compatibility

15. Interfaces

16. Developer

17. Unit

18. Integration7. Security

8. Data

9. Exploratory

10. Performance

11. Stress

18. Integration

19. System

20. User Acceptance

21. Installation

Building a Testing Strategy © Karen N. Johnson, 2008 Slide 11

Page 12: Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

Test Environment

• For some projects, getting an

environment is easy.

• And for some projects, getting an

environment established can be

one of the most challenging one of the most challenging

aspects of the project.

• Maintaining the environment: the

software release and the data.

Building a Testing Strategy © Karen N. Johnson, 2008 Slide 12

Page 13: Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

Test Data

• Depending on the product, test

data can be an essential factor.

• In other cases, getting a copy of

production data might be

restricted.restricted.

• If test automation is a type of

testing, building test data might

be needed.

Building a Testing Strategy © Karen N. Johnson, 2008 Slide 13

Page 14: Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

Resources

• Existing staff

• Contract staff

• Tools

• Utilities

Building a Testing Strategy © Karen N. Johnson, 2008 Slide 14

Page 15: Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

Estimates

• Methods of building

estimates.

– Top down

– Bottom up

– WBS– WBS

• Include other people in

estimating.

• Look at a calendar to plan

out of office time.

Building a Testing Strategy © Karen N. Johnson, 2008 Slide 15

Page 16: Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

Project Plans & Milestones

• Project Dates

• Development milestones

• Testing milestones

• Milestones for elements of the plan, such as hiring staff, acquiring an environment, purchasing test toolsacquiring an environment, purchasing test tools

Building a Testing Strategy © Karen N. Johnson, 2008 Slide 16

Page 17: Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

Keeping the Strategy Alive

• Review the plan throughout the

release.

• Status updates keep stakeholders

informed.

• Update and distribute the plan at • Update and distribute the plan at

key intervals.

• Communicate change.

Building a Testing Strategy © Karen N. Johnson, 2008 Slide 17

Page 18: Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

Are we done yet?

• Release criteria

• Go, no-go release meetings

• Post-release monitoring

• Learning from the project

Building a Testing Strategy © Karen N. Johnson, 2008 Slide 18

Page 19: Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

references

• Webcast: “How to plan your software test projects” Hosted by Tech Target. Presenters: Karen N. Johnson

and Michael D. Kelly. Link:

http://searchsoftwarequality.bitpipe.com/detail/RES/1196440596_441.html?bucket=WC&topic=306121

• Satisfice Heuristic Test Planning Context Model: http://www.satisfice.com/tools/satisfice-cm.pdf

• Satisfice Test Planning Guide: Building the Plan: http://www.satisfice.com/tools/build-the-plan.pdf

• Satisfice Test Plan Evaluation Model: http://www.satisfice.com/tools/tpe-model.pdf

• “Developing a Project Test Strategy,” Michael D. Kelly,

http://www.informit.com/articles/article.aspx?p=355875http://www.informit.com/articles/article.aspx?p=355875

• “Documenting your software test project,” Karen N. Johnson and Michael D. Kelly

http://searchsoftwarequality.techtarget.com/tip/0,289483,sid92_gci1284632,00.html

• “Building a Software Test Strategy,” Karen N. Johnson

http://www.informit.com/articles/article.aspx?p=1146504

• Blog post, James Bach, see: http://www.satisfice.com/blog/archives/63

• Webcast: “Making Sense of Software Tests,” Hosted by Tech Target. Presenter: Karen N. Johnson

http://searchsoftwarequality.techtarget.com/guide/allInOne/category/0,296296,sid92_tax308063,00.html

• Risk Analysis for Web Testing, Karen N. Johnson http://www.karennjohnson.com/pdf/Risk_Analysis.pdf

• The Seven Basic Principles of the Context-Driven School see: http://www.context-driven-testing.com/

Building a Testing Strategy © Karen N. Johnson, 2008 Slide 19

Page 20: Karen N. Johnsonkarennicolejohnson.com › wp-content › uploads › 2009 › 02 › ...• There are many ways to build a test strategy. • Take these ideas as ideas not as absolutes

Thank you!

Karen N. Johnson

Site: http://www.karennjohnson.com

Email: [email protected]

Building a Testing Strategy © Karen N. Johnson, 2008 Slide 20