Test Patterns - What is a Pattern?

811 views

Published on

Introduction to my GUI Test Patterns Investigation

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
811
On SlideShare
0
From Embeds
0
Number of Embeds
31
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Test Patterns - What is a Pattern?

  1. 1. Test Patterns Introdução à Investigação - MIEIC Rafael Pires – ei04066, oriented by: Prof. Ana Paiva
  2. 2. Content <ul><li>Motivation </li></ul><ul><li>Patterns </li></ul><ul><ul><li>Definition </li></ul></ul><ul><ul><li>Forms </li></ul></ul><ul><ul><li>Languages </li></ul></ul><ul><li>Work to be done </li></ul>
  3. 3. Motivation <ul><li>Why Test Patterns? </li></ul><ul><li>enthusiasm for quality </li></ul><ul><li>recognition of the value of tests </li></ul><ul><li>orientation given by a pattern </li></ul>Motivation | Patterns Definitions | Patterns Forms | Patterns Languages | Work to be done
  4. 4. Patterns Definitions…patterns are, “ a recurring solution to a recurring problem in a context ”, Gerard Meszaros “ a recurring solution to a standard problem ”, Douglas C. Schmidt, Mohamed Fayad and Ralph E. Johnson Motivation | Patterns Definitions | Patterns Forms | Patterns Languages | Work to be done
  5. 5. Patterns <ul><li>Forms…description document of a pattern </li></ul><ul><li>Can be written in a rigid structure like a technical document, or in a more literary style </li></ul><ul><li>Objective of describing concrete solutions for known software problems </li></ul><ul><li>Despite the various forms and particular qualities to them, all have common elements </li></ul>Motivation | Patterns Definitions | Patterns Forms | Patterns Languages | Work to be done
  6. 6. Patterns <ul><li>Example of a form structure… </li></ul><ul><li>Problem context </li></ul><ul><li>How It Works </li></ul><ul><li>When to Use It </li></ul><ul><li>Why We Do This </li></ul><ul><li>Implementation Notes </li></ul><ul><li>Example </li></ul><ul><li>Refactoring Notes </li></ul>Structure from the book: xUnit Test Patterns, Addison-Wesley, 2007; Gerard Meszaros Motivation | Patterns Definitions | Patterns Forms | Patterns Languages | Work to be done
  7. 7. Patterns <ul><li>Language… </li></ul><ul><li>Some problems require the use of many patterns, what leads to organization in pattern catalogs, also called collection or grammar </li></ul><ul><li>They include related patterns that cover several specific domains: </li></ul><ul><ul><li>organizational design </li></ul></ul><ul><ul><li>human interface design </li></ul></ul><ul><ul><li>software reuse </li></ul></ul><ul><ul><li>software testing </li></ul></ul>Motivation | Patterns Definitions | Patterns Forms | Patterns Languages | Work to be done
  8. 8. Work to be done <ul><li>State of the art for the “Test Patterns” in testing of the graphical user interface </li></ul><ul><li>Definition of a pattern </li></ul><ul><li>Validation </li></ul>Motivation | Patterns Definitions | Patterns Forms | Patterns Languages | Work to be done
  9. 9. Thank you for your attention… <ul><li>Rafael Pires – ei04066 </li></ul>

×