i smell a rat- rapid application testing

Download I Smell A RAT- Rapid Application Testing

If you can't read please download the document

Upload: peter-presnell

Post on 25-May-2015

2.598 views

Category:

Technology


1 download

TRANSCRIPT

  • 1. I Smell A RAT Rapid Application Testing Peter Presnell (GBS)

2. Peter Presnell 3. Contact Information

  • Twitter:PeterPresnell

4. Blog:www.bleedyellow.com (www.planetlotus.org) 5. Skype:peter.presnell 6. LinkedIn:PeterPresnell 7. Sametime:Yellowbleeders www.bleed yellow .com 8. Effer Of The Ineffible Adjective Incapable of being expressed or described in words;inexpressible Not to be spoken because of its sacredness;unutterable 9. And So To Testing.... Testing is aninfinite processof comparing theinvisibleto theambiguousin order to avoid theunthinkablehappening to theanonymous James Bach 10. Are There Any TestersIn The Room? 11. we have as many testers as we have developers. And testers spend all their time testing, and developers spend half their time testing.We're more of a testing , a quality softwareorganization thanwe'rea software organization . Bill Gates (Information Week, May 2002) 12. Name Your Poison 13. Test Planning Make testing more of ascience than an art 14. Unit Testing Applicationsworkbecause each of the parts ( units ) do their job 15. Unit Testing

  • LotusScriptis easier to unit test than@Formula

16. OO LSis easier to unit test thanProcedural LS 17. Javais easier to unit test thanSSJS 18. MY codeis always easier to test thanYOURS ! www.junit.org www.junit.org 19. Testing XPages? Medusa www.openntf.org 20. Integration Testing Validatethe little bits with somebig picture testing 21. Smoke Testing Those tests which mustalwaysbe executedevery time 22. System Testing

  • What did weadd ?

23. What did wechange . 24. What did wefix ? 25. Regression Testing Ouch... didsomething elsebreak? 26. Performance Testing One useron a local workstation: OK 1,000 userson a shared prod. server: ??? 27. Finding Memory Leaks www.yourkit.com 28. RAT: Kill Bugs Faster 29. Rapid Application Development RAD is amethodologyand NOT a speed contest 30. Is That What You Want 31. XPages XPages Is LessRADThan Classic Notes Peter Presnell, AUSLUG 2011 32. Agile Methodologies www.rallydev.com 33. Test Driven Development Define your criteria forsuccessbeforeyou start to write thesolution 34. TDD: Example

  • Requirement:
  • Salary Field: Numeric

TDD :

  • When field contains non-numeric charactersFail

35. When field is zeroFail .... 36. When field is negativeFail 37. When field is not an integerModify & Pass 38. ElsePass 39. Automated Test Plans More time and effort should go into test planningthantest execution . RapidrequiresAutomation 40. Automated Test Execution Automationallows the same test to be runmany timesfor littleadditional cost www.seleniumhq.org 41. The Art Of Trapping Notes Bugs? 42. DXL ... the answer is out there 43. CRUD For each Form/Object.... Can ICreate ,Read ,Update , andDelete (where applicable) 44. CRUD 45. CRUD 46. UI Components Ensuring everycomponent behavesthe way it should 47. UI Components (XPages) 48. UI Components 49. UI State For every combination of Hide-When (Visible, Rendered)what can I see (or not see) 50. UI State 51. Event Model Whateventsdo I have, and do theyworkat thecorrect timein thecorrect sequence ? 52. Event Model 53. Event Model (Logging) 54. Event Model (Program Logic) www.aivosto.com 55. Styling Beauty is in the eye of the beholder 56. Styling 57. Workflow Define and verifystatesandtransitions 58. Building a Before And After Mousetrap 59. Common Scenarios

  • Who wrote this$%&* code!

60. Migrating to anew release 61. Migrating toXPages 62. Adding aMobileinterface 63. True Or False? Our company'sNotes applicationsarealways well documented ? 64. True Or False? Allof ourNotes applicationshaveformal test plans ? 65. True Or False? Mostof ourNotes applicationshaveformal test plans ? 66. True Or False? Someof ourNotes applicationshaveformal test plans (I think)? 67. True Or False? Noneof ourNotes applicationshaveformal test plans ? 68. Ineffable? Does itstilldo what it didbefore ? 69. Before And After Testing WriteOneSet of Tests CompareResults 70. The Goal Of Testing 71. Cost Versus Risk

  • Keepthrowing moreand moretests

72. Automatedtests arefaster(cheaper?) 73. Some tests are betterpredictorsthan others 74. Save allfailedtests andre-use 75. 3 Minutes!!! 76. In Closing.... Sometimes it pays to stay in bed on Monday, rather than spending the rest of the week debugging Monday's code. ~Dan Salomon 77. Questions???