Agile Software Testing Strategies Agile Software Testing Strategies - - PowerPoint PPT Presentation

agile software testing strategies agile software testing
SMART_READER_LITE
LIVE PREVIEW

Agile Software Testing Strategies Agile Software Testing Strategies - - PowerPoint PPT Presentation

W17 Concurrent Session Wednesday 06/11/2008 2:45 PM 4:15 PM Agile Software Testing Strategies Agile Software Testing Strategies Presented by: Jared Richardson 6 th Sense Analytics Presented at: Better Software Conference & EXPO June


slide-1
SLIDE 1

W17

Concurrent Session

Wednesday 06/11/2008 2:45 PM – 4:15 PM

Agile Software Testing Strategies Agile Software Testing Strategies

Presented by: Jared Richardson 6th Sense Analytics

Presented at: Better Software Conference & EXPO June 9 – 12 2008: Las Vegas, NV, USA

330 Corporate Way, Suite 300, Orange Park, FL 32043 888-268-8770 904-278-0524 sqeinfo@sqe.com www.sqe.com

slide-2
SLIDE 2

Jared Richardson

Jared Richardson, co-author of Ship It! A Practical Guide to Successful Software Projects, is a regular conference speaker and an agile coach at 6th Sense Analytics. Jared has been in the industry for more than fifteen years as a consultant, developer, tester, and manager. Until recently, he was an independent consultant focused on helping teams build better software. He's now bringing that same focus to 6th Sense Analytics and its clients, using both the 6th Sense toolset and his unique perspective. Jared can be found online at www.AgileArtisans.com and www.6sa.com/blog.

slide-3
SLIDE 3

http://AgileArtisans.com

Agile Software Testing Strategies

By Jared Richardson

slide-4
SLIDE 4
slide-5
SLIDE 5

Successful Agile

  • Team
  • Strategy

Test Strategy

slide-6
SLIDE 6

Prerequisites

  • Continuous Integration
  • Test Automation
slide-7
SLIDE 7

Automated Tests Rust

Code Breaks Sync Fails Trust Fails

slide-8
SLIDE 8

Two Scenarios

  • Fix 1 to 3 tests
  • Fix 800 tests
slide-9
SLIDE 9
slide-10
SLIDE 10

Your Code

slide-11
SLIDE 11

Public API Supporting Classes

slide-12
SLIDE 12

Focused Tests

slide-13
SLIDE 13

Broad Tests

slide-14
SLIDE 14

Unit Tests

  • Exercise one unit
  • No external resources
  • Fast
  • Focused
  • Labor intensive
slide-15
SLIDE 15

Mock Client Test

  • A system or module
  • Integration test
  • Broad
  • Slow
slide-16
SLIDE 16

Tests Require

  • Continuous Integration
  • Frequent check-ins
slide-17
SLIDE 17

Three Strategies

  • Test Driven Development
  • Defect Driven Testing
  • Blitzkrieg
slide-18
SLIDE 18

TDD

  • Write a test that fails
  • Write just enough code
  • Repeat
slide-19
SLIDE 19

TDD

  • Drives design
  • Creates a solid product
  • Requires enlightenment
slide-20
SLIDE 20

DDT

  • Find a bug
  • Add a test
  • Jazz it up
slide-21
SLIDE 21

DDT

  • Inoculates your code
  • Incrementally builds suite
  • Retrofit
slide-22
SLIDE 22

BK

  • March across the product
  • Breadth, not depth
  • Create templates
slide-23
SLIDE 23

BK

  • Jump start the effort
  • Same page
  • Requires enlightenment
slide-24
SLIDE 24

Scenario One

  • New project
  • Enlightenment

TDD + BK + DDT

slide-25
SLIDE 25

Scenario Two

  • New project
  • No enlightenment

DDT

slide-26
SLIDE 26

Scenario Three

  • Existing project
  • Enlightenment

BK + DDT

slide-27
SLIDE 27

Scenario Four

  • Existing project
  • No enlightenment

DDT

slide-28
SLIDE 28

Scenario Five

  • Existing product
  • Some enlightened developers

DDT

slide-29
SLIDE 29

Summary

  • Test categories: Focused & Broad
  • Test types: Unit & Mock Client
  • Strategies: TDD, DDT, BK
slide-30
SLIDE 30

Your Goal

  • Pick a strategy
  • Start within two days
  • Use it one month
  • Re-evaluate
slide-31
SLIDE 31

Be the change you want to see in the world.

  • Gandhi
slide-32
SLIDE 32

Be the change you want to see in your shop.

  • Jared
slide-33
SLIDE 33