Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Agile Analysis with Use Cases:  Balancing Utility with Simplicity May Program Guest Speaker: Ted Husted May 7, 2009 ROCHES...
Agenda <ul><li>1. President’s Welcome and Chapter Update </li></ul><ul><li>2. Upcoming Programs </li></ul><ul><li>3. May P...
Chapter Update <ul><li>1.  Chapter Board of Director Elections </li></ul><ul><li>2.  Chapter Charter </li></ul><ul><li>3. ...
Upcoming Programs <ul><li>Thursday, 6/4  – Chapter Launch Dinner Celebration and Special Guest Speaker Ernest Hicks on Eff...
Upcoming Programs <ul><li>Thursday, 10/22  – Lunch event with Matt Smith from iRise at Sanibel Cottage </li></ul><ul><li>T...
Agile Analysis with Use Cases Balancing Simplicity with Utility Presented by Ted Husted VanDamme Associates, Inc. twitter....
How is Pong like a Use Case?
How do we play use case? <ul><li>System sends puck toward player. </li></ul><ul><li>Player moves paddle to meet puck. </li...
How do we play use case? <ul><li>System sends puck toward player. </li></ul><ul><li>Player moves paddle to meet puck. </li...
How do we play use case? <ul><li>System sends puck toward player. </li></ul><ul><li>Player moves paddle to meet puck. </li...
How do we play use case? <ul><li>System sends puck toward player. </li></ul><ul><li>Player moves paddle to meet puck. </li...
How do we play use case? <ul><li>System sends puck toward player. </li></ul><ul><li>Player moves paddle to meet puck. </li...
How do we play use case? <ul><li>System sends puck toward player. </li></ul><ul><li>Player moves paddle to meet puck. </li...
How do we play use case? <ul><li>System sends puck toward player. </li></ul><ul><li>Player moves paddle to meet puck. </li...
Is that all there is? <ul><li>2a Puck trajectory is too steep </li></ul><ul><li>2b Puck angles for a corner shot </li></ul...
Is that all there is? <ul><li>2a  Puck trajectory is too steep </li></ul><ul><li>2b Puck angles for a corner shot </li></u...
Is that all there is? <ul><li>2a Puck trajectory is too steep </li></ul><ul><li>2b  Puck angles for a corner shot </li></u...
Is that all there is? <ul><li>2a Puck trajectory is too steep </li></ul><ul><li>2b Puck angles for a corner shot </li></ul...
Is that all there is? <ul><li>2a Puck trajectory is too steep </li></ul><ul><li>2b Puck angles for a corner shot </li></ul...
Is that all there is? <ul><li>2a Puck trajectory is too steep </li></ul><ul><li>2b Puck angles for a corner shot </li></ul...
How do we win? <ul><li>2a Puck trajectory is too steep </li></ul><ul><li>2b Puck angles for a corner shot </li></ul><ul><l...
How do we win? <ul><li>2a Puck trajectory is too steep </li></ul><ul><li>2b Puck angles for a corner shot </li></ul><ul><l...
What about diagrams?
How is a user story different?
What’s wrong with this story? <ul><li>Pong is a two-dimensional sports game  which simulates table tennis.  </li></ul><ul>...
What’s wrong with this story? <ul><li>Pong is a two-dimensional sports game which simulates table tennis.  </li></ul><ul><...
What’s wrong with this story? <ul><li>Pong is a two-dimensional sports game which simulates table tennis.  </li></ul><ul><...
What’s wrong with this story? <ul><li>Pong is a two-dimensional sports game which simulates table tennis.  </li></ul><ul><...
What can go wrong with this story?
Agile Analysis with Use Cases <ul><li>A mainstay of conventional requirements gathering, use cases can ease the transition...
What’s our agenda?
Do you take questions? Slides Available at  slideshare.net  /  rochesterny.theiiba.org
How to write use cases <ul><li>The  Why, What, Where, When, Who, and How of use cases </li></ul>
Why? Actors Interact
Why? Change Happens
Why? Systems Adapt
What? Main Scenario
<ul><li>First Draft </li></ul><ul><li>System sends puck toward player. </li></ul><ul><li>Player moves paddle to meet puck....
What? Extensions
What? Annotations
What? Annotations
What? Annotations <ul><li>1a Browser does not provide cookie  </li></ul><ul><ul><li>System redirects to login page and pas...
What? Annotations <ul><li>1a Browser does not provide cookie  </li></ul><ul><ul><li>System redirects to  login page  and p...
What? Annotations <ul><li>1a Browser does not provide cookie  </li></ul><ul><ul><li>System redirects to login page and pas...
What? Annotations <ul><li>Extensions </li></ul><ul><li>1a Browser does not provide cookie  </li></ul><ul><ul><li>System re...
Where? Can use cases do it all?
Where? Requirements Outline  <ul><li>Vision and Scope Document </li></ul><ul><li>Use Cases </li></ul><ul><li>Software Requ...
Where? Requirements Outline  <ul><li>Findings </li></ul><ul><li>Requirements </li></ul><ul><li>Use Cases </li></ul><ul><li...
When? Requirements Analysis
When? Organize and Allocate
Who? You …
Who? Them …
Who? Us!
How? Use Case Workflow <ul><li>Identify the actors </li></ul><ul><li>Identify the use cases </li></ul><ul><li>Identify act...
How? Use Case Workflow <ul><li>Identify the actors </li></ul><ul><li>Identify the use cases </li></ul><ul><li>Identify act...
How? Use Case Workflow <ul><li>Identify the actors </li></ul><ul><li>Identify the use cases </li></ul><ul><li>Identify act...
How? Use Case Workflow <ul><li>Identify the actors </li></ul><ul><li>Identify the use cases </li></ul><ul><li>Identify act...
How? Use Case Workflow <ul><li>Identify the actors </li></ul><ul><li>Identify the use cases </li></ul><ul><li>Identify act...
How? Use Case Workflow <ul><li>Identify the actors </li></ul><ul><li>Identify the use cases </li></ul><ul><li>Identify act...
How? Use Case Template <ul><li>Name </li></ul><ul><li>Brief description </li></ul><ul><li>Actors </li></ul><ul><li>Main Sc...
How? Use Case Template <ul><li>Name </li></ul><ul><li>Brief description </li></ul><ul><li>Actors </li></ul><ul><li>Main Sc...
How? Right-size templates <ul><li>Name </li></ul><ul><li>Brief description </li></ul><ul><li>Actors </li></ul><ul><li>Main...
Adapt?
Adapt? Agile
Adapt? Backlog <ul><li>Name </li></ul><ul><li>Brief description </li></ul><ul><li>Actors </li></ul><ul><li>Main Scenario <...
Adapt? Iteration Planning <ul><li>Name </li></ul><ul><li>Brief description </li></ul><ul><li>Actors </li></ul><ul><li>Main...
Agile? Backlog Pruning <ul><li>Name </li></ul><ul><li>Brief description </li></ul><ul><li>Actors </li></ul><ul><li>Main Sc...
Agile? Epic Iteration <ul><li>Name </li></ul><ul><li>Brief description </li></ul><ul><li>Actors </li></ul><ul><li>Main Sce...
Adapt? Training Materials
Adapt? Quality Assurance
Adapt? Testing <ul><li>Open Signin Page   </li></ul><ul><ul><li>Signin page:  http:// domain.org/sso /    </li></ul></ul><...
Adapt? Testing <ul><li>Open Signin Page   </li></ul><ul><ul><li>Signin page:  http:// domain.org/sso /    </li></ul></ul><...
Adapt? Testing <ul><li>Open Signin Page   </li></ul><ul><ul><li>Signin page:  http:// domain.org/sso /    </li></ul></ul><...
Adapt? Testing <ul><li>Open Signin Page   </li></ul><ul><ul><li>Signin page:  http:// domain.org/sso /    </li></ul></ul><...
Adapt? Testing <ul><li>Open Signin Page   </li></ul><ul><ul><li>Signin page:  http:// domain.org/sso /    </li></ul></ul><...
Automate?
Automate? Testing
Automate? Testing
Adapt? Testing http:// seleniumhq.org /
Resources http://www.rose-hulman.edu/class/csse/csse371/csse371-2007-2008/Lectures/usecases.ppt
Any questions? Slides Available at  slideshare.net  /  rochesterny.theiiba.org
About Ted Husted <ul><li>Co-author of JUnit in Action (1 st  Edition) </li></ul><ul><li>Speaker at Ajax Experience, Apache...
Inventor of Pong, Alan Alcorn <ul><li>Disclaimer </li></ul><ul><li>Alan Alcorn is not Ted’s cousin,  </li></ul><ul><li>but...
<ul><li>Thank you Ted! </li></ul><ul><li>Next Chapter Meeting: </li></ul><ul><li>June 4, 2009 </li></ul><ul><li>with Ernes...
Upcoming SlideShare
Loading in …5
×

Agile Use Cases: Balancing Utility with Simplicity - May 2009

2,965 views

Published on

A mainstay of conventional requirements gathering, use cases can ease the transition to agile methodologies. In this practical program, we explore:

* how to write uses cases
* how to adapt uses cases to agile projects
* how to automate acceptance testing with use cases

Ted Husted is a member of the International
Institute for Business Analysis (IIBA), and the Executive Vice
President Elect of the Rochester NY Chapter. Ted has published three
books and several magazine articles on software development and
testing, and he speaks at professional conferences and conventions on
a regular basis.

Ted Husted works in Pittsford NY with VanDamme Associates, a .NET integrator specializing in non-profits and associations.

  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy &amp; Proven Way to Build Good Habits &amp; Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy &amp; Proven Way to Build Good Habits &amp; Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy &amp; Proven Way to Build Good Habits &amp; Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy &amp; Proven Way to Build Good Habits &amp; Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • If you want to download or read this book, Copy link or url below in the New tab ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Doc Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Agile Use Cases: Balancing Utility with Simplicity - May 2009

  1. 1. Agile Analysis with Use Cases: Balancing Utility with Simplicity May Program Guest Speaker: Ted Husted May 7, 2009 ROCHESTER, NY Chapter
  2. 2. Agenda <ul><li>1. President’s Welcome and Chapter Update </li></ul><ul><li>2. Upcoming Programs </li></ul><ul><li>3. May Program with Guest Speaker Ted Husted </li></ul>© International Institute of Business Analysis™
  3. 3. Chapter Update <ul><li>1.  Chapter Board of Director Elections </li></ul><ul><li>2.  Chapter Charter </li></ul><ul><li>3.  Chapter Membership </li></ul><ul><li>4.  Chapter's social networks to join </li></ul><ul><li>5. Chapter Surveys </li></ul><ul><li>6.  Volunteer Opportunities </li></ul><ul><li>Chapter Website: rochesterny.theiiba.org </li></ul>© International Institute of Business Analysis™
  4. 4. Upcoming Programs <ul><li>Thursday, 6/4 – Chapter Launch Dinner Celebration and Special Guest Speaker Ernest Hicks on Effective Communication at Sanibel Cottage </li></ul><ul><li>Thursday, 7/16 – Summer Networking (i.e. – Happy Hour  ) at Pomodoro Grill </li></ul><ul><li>Thursday, 8/13 – Summer Networking at Pomodoro Grill </li></ul><ul><li>Thursday, 9/24 – Requirements Management Lunch Program with Guest speaker David Walker from Borland at Sanibel Cottage </li></ul><ul><li>  </li></ul>© International Institute of Business Analysis™
  5. 5. Upcoming Programs <ul><li>Thursday, 10/22 – Lunch event with Matt Smith from iRise at Sanibel Cottage </li></ul><ul><li>Thursday, 11/19 – Lunch event at Sanibel Cottage </li></ul><ul><li>Thursday, 12/10 – Holiday Party at Sanibel Cottage </li></ul>© International Institute of Business Analysis™
  6. 6. Agile Analysis with Use Cases Balancing Simplicity with Utility Presented by Ted Husted VanDamme Associates, Inc. twitter.com/TedHusted
  7. 7. How is Pong like a Use Case?
  8. 8. How do we play use case? <ul><li>System sends puck toward player. </li></ul><ul><li>Player moves paddle to meet puck. </li></ul><ul><li>Puck misses paddle. </li></ul><ul><li>System increments score for other player. </li></ul><ul><li>System resets acceleration factor. </li></ul><ul><li>Round repeats for other player. </li></ul>
  9. 9. How do we play use case? <ul><li>System sends puck toward player. </li></ul><ul><li>Player moves paddle to meet puck. </li></ul><ul><li>Puck misses paddle. </li></ul><ul><li>System increments score for other player. </li></ul><ul><li>System resets acceleration factor. </li></ul><ul><li>Round repeats for other player. </li></ul>
  10. 10. How do we play use case? <ul><li>System sends puck toward player. </li></ul><ul><li>Player moves paddle to meet puck. </li></ul><ul><li>Puck misses paddle. </li></ul><ul><li>System increments score for other player. </li></ul><ul><li>System resets acceleration factor. </li></ul><ul><li>Round repeats for other player. </li></ul>
  11. 11. How do we play use case? <ul><li>System sends puck toward player. </li></ul><ul><li>Player moves paddle to meet puck. </li></ul><ul><li>Puck misses paddle. </li></ul><ul><li>System increments score for other player. </li></ul><ul><li>System resets acceleration factor. </li></ul><ul><li>Round repeats for other player. </li></ul>
  12. 12. How do we play use case? <ul><li>System sends puck toward player. </li></ul><ul><li>Player moves paddle to meet puck. </li></ul><ul><li>Puck misses paddle. </li></ul><ul><li>System increments score for other player. </li></ul><ul><li>System resets acceleration factor. </li></ul><ul><li>Round repeats for other player. </li></ul>
  13. 13. How do we play use case? <ul><li>System sends puck toward player. </li></ul><ul><li>Player moves paddle to meet puck. </li></ul><ul><li>Puck misses paddle. </li></ul><ul><li>System increments score for other player. </li></ul><ul><li>System resets acceleration factor. </li></ul><ul><li>Round repeats for other player. </li></ul>
  14. 14. How do we play use case? <ul><li>System sends puck toward player. </li></ul><ul><li>Player moves paddle to meet puck. </li></ul><ul><li>Puck misses paddle. </li></ul><ul><li>System increments score for other player. </li></ul><ul><li>System resets acceleration factor. </li></ul><ul><li>Round repeats for other player. </li></ul>
  15. 15. Is that all there is? <ul><li>2a Puck trajectory is too steep </li></ul><ul><li>2b Puck angles for a corner shot </li></ul><ul><li>3a Player returns puck </li></ul><ul><li>3b Puck intersects center segment </li></ul><ul><li>3c Puck intersects outer segment </li></ul><ul><li>5a Player wins </li></ul>
  16. 16. Is that all there is? <ul><li>2a Puck trajectory is too steep </li></ul><ul><li>2b Puck angles for a corner shot </li></ul><ul><li>3a Player returns puck </li></ul><ul><li>3b Puck intersects center segment </li></ul><ul><li>3c Puck intersects outer segment </li></ul><ul><li>5a Player wins </li></ul>
  17. 17. Is that all there is? <ul><li>2a Puck trajectory is too steep </li></ul><ul><li>2b Puck angles for a corner shot </li></ul><ul><li>3a Player returns puck </li></ul><ul><li>3b Puck intersects center segment </li></ul><ul><li>3c Puck intersects outer segment </li></ul><ul><li>5a Player wins </li></ul>
  18. 18. Is that all there is? <ul><li>2a Puck trajectory is too steep </li></ul><ul><li>2b Puck angles for a corner shot </li></ul><ul><li>3a Player returns puck </li></ul><ul><li>3b Puck intersects center segment </li></ul><ul><li>3c Puck intersects outer segment </li></ul><ul><li>5a Player wins </li></ul>
  19. 19. Is that all there is? <ul><li>2a Puck trajectory is too steep </li></ul><ul><li>2b Puck angles for a corner shot </li></ul><ul><li>3a Player returns puck </li></ul><ul><li>3b Puck intersects center segment </li></ul><ul><li>3c Puck intersects outer segment </li></ul><ul><li>5a Player wins </li></ul>
  20. 20. Is that all there is? <ul><li>2a Puck trajectory is too steep </li></ul><ul><li>2b Puck angles for a corner shot </li></ul><ul><li>3a Player returns puck </li></ul><ul><li>3b Puck intersects center segment </li></ul><ul><li>3c Puck intersects outer segment </li></ul><ul><li>5a Player wins </li></ul>
  21. 21. How do we win? <ul><li>2a Puck trajectory is too steep </li></ul><ul><li>2b Puck angles for a corner shot </li></ul><ul><li>3a Player returns puck </li></ul><ul><li>3b Puck intersects center segment </li></ul><ul><li>3c Puck intersects outer segment </li></ul><ul><li>5a Player wins </li></ul>
  22. 22. How do we win? <ul><li>2a Puck trajectory is too steep </li></ul><ul><li>2b Puck angles for a corner shot </li></ul><ul><li>3a Player returns puck </li></ul><ul><li>3b Puck intersects center segment </li></ul><ul><li>3c Puck intersects outer segment </li></ul><ul><li>5a Player wins </li></ul><ul><li>1. Score exceeds the maximum number of points. 2. System presents game over banner. 3. End. </li></ul>
  23. 23. What about diagrams?
  24. 24. How is a user story different?
  25. 25. What’s wrong with this story? <ul><li>Pong is a two-dimensional sports game which simulates table tennis. </li></ul><ul><li>The player controls an in-game paddle by moving it vertically across the left side of the screen, and can compete against either a computer controlled opponent or another player controlling a second paddle on the opposing side. </li></ul><ul><li>Players use the paddles to hit a ball back and forth. </li></ul><ul><li>The aim is for a player to earn more points than the opponent; points are earned when one fails to return the ball to the other. </li></ul>
  26. 26. What’s wrong with this story? <ul><li>Pong is a two-dimensional sports game which simulates table tennis. </li></ul><ul><li>The player controls an in-game paddle by moving it vertically across the left side of the screen, and can compete against either a computer controlled opponent or another player controlling a second paddle on the opposing side. </li></ul><ul><li>Players use the paddles to hit a ball back and forth. </li></ul><ul><li>The aim is for a player to earn more points than the opponent; points are earned when one fails to return the ball to the other. </li></ul>
  27. 27. What’s wrong with this story? <ul><li>Pong is a two-dimensional sports game which simulates table tennis. </li></ul><ul><li>The player controls an in-game paddle by moving it vertically across the left side of the screen, and can compete against either a computer controlled opponent or another player controlling a second paddle on the opposing side. </li></ul><ul><li>Players use the paddles to hit a ball back and forth. </li></ul><ul><li>The aim is for a player to earn more points than the opponent; points are earned when one fails to return the ball to the other. </li></ul>
  28. 28. What’s wrong with this story? <ul><li>Pong is a two-dimensional sports game which simulates table tennis. </li></ul><ul><li>The player controls an in-game paddle by moving it vertically across the left side of the screen, and can compete against either a computer controlled opponent or another player controlling a second paddle on the opposing side. </li></ul><ul><li>Players use the paddles to hit a ball back and forth. </li></ul><ul><li>The aim is for a player to earn more points than the opponent; points are earned when one fails to return the ball to the other. </li></ul>
  29. 29. What can go wrong with this story?
  30. 30. Agile Analysis with Use Cases <ul><li>A mainstay of conventional requirements gathering, use cases can ease the transition to agile methodologies. </li></ul><ul><li>In this practical program, we explore: </li></ul><ul><ul><li>how to write uses cases </li></ul></ul><ul><ul><li>how to adapt uses cases to agile projects </li></ul></ul><ul><ul><li>how to automate acceptance testing with use cases </li></ul></ul>
  31. 31. What’s our agenda?
  32. 32. Do you take questions? Slides Available at slideshare.net / rochesterny.theiiba.org
  33. 33. How to write use cases <ul><li>The Why, What, Where, When, Who, and How of use cases </li></ul>
  34. 34. Why? Actors Interact
  35. 35. Why? Change Happens
  36. 36. Why? Systems Adapt
  37. 37. What? Main Scenario
  38. 38. <ul><li>First Draft </li></ul><ul><li>System sends puck toward player. </li></ul><ul><li>Player moves paddle to meet puck. </li></ul><ul><li>Puck intersects paddle </li></ul><ul><li>… </li></ul><ul><li>Second Draft </li></ul><ul><li>System sends puck toward player. </li></ul><ul><li>Player moves paddle to meet puck. </li></ul><ul><li>Puck misses paddle. </li></ul><ul><li>… </li></ul>What? Main Scenario
  39. 39. What? Extensions
  40. 40. What? Annotations
  41. 41. What? Annotations
  42. 42. What? Annotations <ul><li>1a Browser does not provide cookie </li></ul><ul><ul><li>System redirects to login page and passes original URL through a parameter </li></ul></ul><ul><ul><li>System authenticates user (UC-4) </li></ul></ul><ul><ul><li>Return at Step 1 </li></ul></ul>
  43. 43. What? Annotations <ul><li>1a Browser does not provide cookie </li></ul><ul><ul><li>System redirects to login page and passes original URL through a parameter </li></ul></ul><ul><ul><li>System authenticates user (UC-4) </li></ul></ul><ul><ul><li>Return at Step 1 </li></ul></ul>
  44. 44. What? Annotations <ul><li>1a Browser does not provide cookie </li></ul><ul><ul><li>System redirects to login page and passes original URL through a parameter </li></ul></ul><ul><ul><ul><li>https:// www.domain.org/sso/ Signon.aspx ? redirectUrl = default.aspx </li></ul></ul></ul><ul><ul><li>System authenticates user (UC-4) </li></ul></ul><ul><ul><li>Return at Step 1 </li></ul></ul>
  45. 45. What? Annotations <ul><li>Extensions </li></ul><ul><li>1a Browser does not provide cookie </li></ul><ul><ul><li>System redirects to login page and passes original URL through a parameter </li></ul></ul><ul><ul><li>System authenticates user (UC-4) </li></ul></ul><ul><ul><li>Return at Step 1 </li></ul></ul><ul><li>Annotations </li></ul><ul><ul><ul><li>1a1 Example URL: https:// www.domain.org/sso/ Signon.aspx ? redirectUrl = default.aspx </li></ul></ul></ul>
  46. 46. Where? Can use cases do it all?
  47. 47. Where? Requirements Outline <ul><li>Vision and Scope Document </li></ul><ul><li>Use Cases </li></ul><ul><li>Software Requirements Specification </li></ul><ul><li>Business Rules </li></ul>
  48. 48. Where? Requirements Outline <ul><li>Findings </li></ul><ul><li>Requirements </li></ul><ul><li>Use Cases </li></ul><ul><li>Technical Specification </li></ul>
  49. 49. When? Requirements Analysis
  50. 50. When? Organize and Allocate
  51. 51. Who? You …
  52. 52. Who? Them …
  53. 53. Who? Us!
  54. 54. How? Use Case Workflow <ul><li>Identify the actors </li></ul><ul><li>Identify the use cases </li></ul><ul><li>Identify actor/use case relationships </li></ul><ul><li>Outline use cases </li></ul><ul><li>Refine use cases </li></ul>
  55. 55. How? Use Case Workflow <ul><li>Identify the actors </li></ul><ul><li>Identify the use cases </li></ul><ul><li>Identify actor/use case relationships </li></ul><ul><li>Outline use cases </li></ul><ul><li>Refine use cases </li></ul>
  56. 56. How? Use Case Workflow <ul><li>Identify the actors </li></ul><ul><li>Identify the use cases </li></ul><ul><li>Identify actor/use case relationships </li></ul><ul><li>Outline use cases </li></ul><ul><li>Refine use cases </li></ul>
  57. 57. How? Use Case Workflow <ul><li>Identify the actors </li></ul><ul><li>Identify the use cases </li></ul><ul><li>Identify actor/use case relationships </li></ul><ul><li>Outline use cases </li></ul><ul><li>Refine use cases </li></ul>
  58. 58. How? Use Case Workflow <ul><li>Identify the actors </li></ul><ul><li>Identify the use cases </li></ul><ul><li>Identify actor/use case relationships </li></ul><ul><li>Outline use cases </li></ul><ul><li>Refine use cases </li></ul>
  59. 59. How? Use Case Workflow <ul><li>Identify the actors </li></ul><ul><li>Identify the use cases </li></ul><ul><li>Identify actor/use case relationships </li></ul><ul><li>Outline use cases </li></ul><ul><li>Refine use cases </li></ul>
  60. 60. How? Use Case Template <ul><li>Name </li></ul><ul><li>Brief description </li></ul><ul><li>Actors </li></ul><ul><li>Main Scenario </li></ul><ul><li>Extensions </li></ul><ul><li>Pre-conditions </li></ul><ul><li>Post-conditions </li></ul><ul><li>Other stakeholders </li></ul><ul><li>System/sub-system </li></ul><ul><li>Special requirements </li></ul>
  61. 61. How? Use Case Template <ul><li>Name </li></ul><ul><li>Brief description </li></ul><ul><li>Actors </li></ul><ul><li>Main Scenario </li></ul><ul><li>Extensions </li></ul><ul><li>Pre-conditions </li></ul><ul><li>Post-conditions </li></ul><ul><li>Other stakeholders </li></ul><ul><li>System/sub-system </li></ul><ul><li>Special requirements </li></ul>
  62. 62. How? Right-size templates <ul><li>Name </li></ul><ul><li>Brief description </li></ul><ul><li>Actors </li></ul><ul><li>Main Scenario </li></ul><ul><li>Extensions </li></ul><ul><li>Pre-conditions </li></ul><ul><li>Post-Conditions </li></ul><ul><li>Other stakeholders </li></ul><ul><li>System/sub-system </li></ul><ul><li>Special requirements </li></ul>
  63. 63. Adapt?
  64. 64. Adapt? Agile
  65. 65. Adapt? Backlog <ul><li>Name </li></ul><ul><li>Brief description </li></ul><ul><li>Actors </li></ul><ul><li>Main Scenario </li></ul><ul><li>Extensions </li></ul><ul><li>Pre-conditions </li></ul><ul><li>Post-conditions </li></ul><ul><li>Other stakeholders </li></ul><ul><li>System/sub-system </li></ul><ul><li>Special requirements </li></ul>
  66. 66. Adapt? Iteration Planning <ul><li>Name </li></ul><ul><li>Brief description </li></ul><ul><li>Actors </li></ul><ul><li>Main Scenario </li></ul><ul><li>Extensions </li></ul><ul><li>Pre-conditions </li></ul><ul><li>Post-conditions </li></ul><ul><li>Other stakeholders </li></ul><ul><li>System/sub-system </li></ul><ul><li>Special requirements </li></ul>
  67. 67. Agile? Backlog Pruning <ul><li>Name </li></ul><ul><li>Brief description </li></ul><ul><li>Actors </li></ul><ul><li>Main Scenario </li></ul><ul><li>Extensions </li></ul><ul><li>Pre-conditions </li></ul><ul><li>Post-conditions </li></ul><ul><li>Other stakeholders </li></ul><ul><li>System/sub-system </li></ul><ul><li>Special requirements </li></ul>
  68. 68. Agile? Epic Iteration <ul><li>Name </li></ul><ul><li>Brief description </li></ul><ul><li>Actors </li></ul><ul><li>Main Scenario </li></ul><ul><li>Extensions </li></ul><ul><li>Pre-conditions </li></ul><ul><li>Post-conditions </li></ul><ul><li>Other stakeholders </li></ul><ul><li>System/sub-system </li></ul><ul><li>Special requirements </li></ul>
  69. 69. Adapt? Training Materials
  70. 70. Adapt? Quality Assurance
  71. 71. Adapt? Testing <ul><li>Open Signin Page  </li></ul><ul><ul><li>Signin page:  http:// domain.org/sso /   </li></ul></ul><ul><li>Enter credentials </li></ul><ul><ul><li>Username: mg  </li></ul></ul><ul><ul><li>Password:   va123123 </li></ul></ul><ul><li>Process Succeeds </li></ul><ul><ul><li>System Creates Cookie </li></ul></ul><ul><li>System Redirects </li></ul>
  72. 72. Adapt? Testing <ul><li>Open Signin Page  </li></ul><ul><ul><li>Signin page:  http:// domain.org/sso /   </li></ul></ul><ul><li>Enter credentials </li></ul><ul><ul><li>Username: mg  </li></ul></ul><ul><ul><li>Password:   va123123 </li></ul></ul><ul><li>Process Succeeds </li></ul><ul><ul><li>System Creates Cookie </li></ul></ul><ul><li>System Redirects </li></ul>
  73. 73. Adapt? Testing <ul><li>Open Signin Page  </li></ul><ul><ul><li>Signin page:  http:// domain.org/sso /   </li></ul></ul><ul><li>Enter credentials </li></ul><ul><ul><li>Username: mg  </li></ul></ul><ul><ul><li>Password:   va123123 </li></ul></ul><ul><li>Process Succeeds </li></ul><ul><ul><li>System Creates Cookie </li></ul></ul><ul><li>System Redirects </li></ul>
  74. 74. Adapt? Testing <ul><li>Open Signin Page  </li></ul><ul><ul><li>Signin page:  http:// domain.org/sso /   </li></ul></ul><ul><li>Enter credentials </li></ul><ul><ul><li>Username: mg  </li></ul></ul><ul><ul><li>Password:   va123123 </li></ul></ul><ul><li>Process Succeeds </li></ul><ul><ul><li>System Creates Cookie </li></ul></ul><ul><li>System Redirects </li></ul>
  75. 75. Adapt? Testing <ul><li>Open Signin Page  </li></ul><ul><ul><li>Signin page:  http:// domain.org/sso /   </li></ul></ul><ul><li>Enter credentials </li></ul><ul><ul><li>Username: mg  </li></ul></ul><ul><ul><li>Password:   va123123 </li></ul></ul><ul><li>Process Succeeds </li></ul><ul><ul><li>System Creates Cookie </li></ul></ul><ul><li>System Redirects </li></ul>
  76. 76. Automate?
  77. 77. Automate? Testing
  78. 78. Automate? Testing
  79. 79. Adapt? Testing http:// seleniumhq.org /
  80. 80. Resources http://www.rose-hulman.edu/class/csse/csse371/csse371-2007-2008/Lectures/usecases.ppt
  81. 81. Any questions? Slides Available at slideshare.net / rochesterny.theiiba.org
  82. 82. About Ted Husted <ul><li>Co-author of JUnit in Action (1 st Edition) </li></ul><ul><li>Speaker at Ajax Experience, ApacheCon </li></ul><ul><li>Business Analyst, VanDamme Associates </li></ul><ul><li>Member, International Institute for Business Analysis (IIBA) </li></ul><ul><li>Executive VP Elect, Rochester NY IIBA </li></ul><ul><li>twitter.com/TedHusted </li></ul>
  83. 83. Inventor of Pong, Alan Alcorn <ul><li>Disclaimer </li></ul><ul><li>Alan Alcorn is not Ted’s cousin, </li></ul><ul><li>but he did invent Pong, </li></ul><ul><li>though without the help of use cases. </li></ul>Use cases and Pong can both make you cross-eyed
  84. 84. <ul><li>Thank you Ted! </li></ul><ul><li>Next Chapter Meeting: </li></ul><ul><li>June 4, 2009 </li></ul><ul><li>with Ernest Hicks </li></ul><ul><li>“ A speaker you don’t want to miss” </li></ul>

×