Integration Testing the Confluence Send Mail To Page plugin
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Integration Testing the Confluence Send Mail To Page plugin

on

  • 2,809 views

the notes from my lightning talk on integration testing my "Send Email To Page" plugin for AtlasCamp 2010

the notes from my lightning talk on integration testing my "Send Email To Page" plugin for AtlasCamp 2010

Statistics

Views

Total Views
2,809
Views on SlideShare
2,790
Embed Views
19

Actions

Likes
0
Downloads
2
Comments
0

4 Embeds 19

http://confluence.atlassian.com 16
http://hitrc-collaborative.org 1
https://confluence.atlassian.com 1
http://www.slashdocs.com 1

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />

Integration Testing the Confluence Send Mail To Page plugin Presentation Transcript

  • 1. What’s the most exciting part of your project?
  • 2. What’s the most exciting part of your project? The beginning when you come up with the idea?
  • 3. What’s the most exciting part of your project? The beginning when you come up with the idea? Setting up the project / prototype / impl?
  • 4. What’s the most exciting part of your project? The beginning when you come up with the idea? Setting up the project / prototype / impl? First people start to use it, maybe buy it, give you feedback?
  • 5. What’s the most exciting part of your project? The beginning when you come up with the idea? Setting up the project / prototype / impl? First people start to use it, maybe buy it, give you feedback? Integration Testing? Yes!
  • 6. Send Email to Confluence
  • 7. Send Email to Confluence Confluence
  • 8. Send Email to Confluence Confluence Content
  • 9. Send Email to Confluence Confluence Content Browser
  • 10. Send Email to Confluence Confluence Content Browser
  • 11. Send Email to Confluence Confluence Content Plugin Browser
  • 12. Send Email to Confluence Confluence Content Plugin Browser
  • 13. Send Email to Confluence Confluence Content Plugin Email Client Browser
  • 14. Send Email to Confluence Confluence Email Content Server Plugin Email Client Browser
  • 15. Send Email to Confluence Confluence Email Content Server Plugin Email Client Browser
  • 16. Send Email to Confluence Confluence Email Content Server Plugin Email Client Browser
  • 17. Send Email to Confluence Confluence Email Content Server Plugin 1 Email Client Browser
  • 18. Send Email to Confluence Confluence Email Content Server 2 (cron) Plugin 1 Email Client Browser
  • 19. Send Email to Confluence Confluence Email Content Server 2 (cron) 3 Plugin 1 Email Client Browser
  • 20. Send Email to Confluence Confluence Email Content Server 2 (cron) 3 Plugin 1 4 Email Client Browser
  • 21. What if you don’t automate testing?
  • 22. What if you don’t automate testing? You will fear.
  • 23. What if you don’t automate testing? You will fear. “Fear is the path to the dark side. Fear leads to anger. Anger leads to hate. Hate leads to suffering - in plugin development.”
  • 24. How to efficiently test this?
  • 25. How to efficiently test this? Lots of great tools: * Selenium * Atlassian-Selenium * Functional Test Plugin * jWebUnit (used by JIRA) * HttpClient * Mockito * TestNG Framework
  • 26. How to efficiently test this? Lots of great tools: * Selenium GINT * Atlassian-Selenium Groovy Integration Test Framework * Functional Test Plugin * jWebUnit (used by JIRA) * HttpClient * Mockito * TestNG Framework
  • 27. Confluence has lots of hooks. Take advantage of them
  • 28. Confluence Email Server Content 2 (cron) 3 Plugin 1 Email 4 Client Browser
  • 29. Confluence Email Server Content 2 (cron) 3 Plugin 1 Email Test Suite 4 Client Browser
  • 30. Confluence Email Server Content 2 (cron) 3 Plugin 1 Email Test Suite 4 Client Browser 1 - SendEmail Util Class
  • 31. Confluence Email Server Content 2 (cron) 3 Plugin 1 Email Test Suite 4 Client Browser 1 - SendEmail Util Class
  • 32. Confluence Email Server Content 2 (cron) 3 1 Plugin 1 Email Test Suite 4 Client Browser 1 - SendEmail Util Class
  • 33. Confluence Email Server Content 2 (cron) 3 1 Ser vlet Plugin 1 Trigger Email Test Suite 4 Client Browser 1 - SendEmail Util Class
  • 34. Confluence Email Server Content 2 (cron) 3 1 Ser vlet Plugin 1 Trigger Email Test Suite 4 Client Browser 1 - SendEmail Util Class 2/3 - simple servlet plugin to trigger check
  • 35. Confluence Email Server Content 2 (cron) 3 1 Ser vlet Plugin 1 Trigger Email Test Suite 4 Client Browser 1 - SendEmail Util Class 2/3 - simple servlet plugin to trigger check Servlet Plugin
  • 36. Confluence Email Server Content 2 (cron) 3 1 Ser vlet Plugin 1 Trigger Email Test Suite 4 Client Browser 1 - SendEmail Util Class 2/3 - simple servlet plugin to trigger check Servlet Plugin
  • 37. Confluence Email Server Content 2 (cron) 3 1 Ser vlet Plugin 1 Trigger Email Test Suite 4 Client Browser 1 - SendEmail Util Class 2/3 - simple servlet plugin to trigger check Servlet Plugin
  • 38. Confluence Email Server Content 2 (cron) 3 1 Ser vlet Plugin 1 Trigger Email Test Suite 2/3 4 Client Browser 1 - SendEmail Util Class 2/3 - simple servlet plugin to trigger check Servlet Plugin
  • 39. Confluence Email Server Content 2 (cron) 3 1 Ser vlet Plugin 1 Trigger Email Test Suite 2/3 4 Client Browser 1 - SendEmail Util Class 2/3 - simple servlet plugin to trigger check Servlet Plugin 4 - Confluence Remote API - to check page creation, loc, content, labels, etc.
  • 40. Confluence Email Server Content 2 (cron) 3 1 Ser vlet Plugin 1 Trigger Email Test Suite 2/3 4 Client Browser 1 - SendEmail Util Class 2/3 - simple servlet plugin to trigger check Servlet Plugin 4 - Confluence Remote API - to check page creation, loc, Remote Java Wrapper content, labels, etc. insulates from UI changes
  • 41. Confluence Email Server Content 2 (cron) 3 1 Ser vlet Plugin 1 Trigger Email Test Suite 2/3 4 Client Browser 1 - SendEmail Util Class 2/3 - simple servlet plugin to trigger check Servlet Plugin 4 - Confluence Remote API - to check page creation, loc, Remote Java Wrapper content, labels, etc. insulates from UI changes
  • 42. Confluence Email Server Content 2 (cron) 3 4 1 Ser vlet Plugin 1 Trigger Email Test Suite 2/3 4 Client Browser 1 - SendEmail Util Class 2/3 - simple servlet plugin to trigger check Servlet Plugin 4 - Confluence Remote API - to check page creation, loc, Remote Java Wrapper content, labels, etc. insulates from UI changes
  • 43. Confluence Email Server Content 2 (cron) 3 4 1 Ser vlet Plugin 1 Trigger Email Test Suite 2/3 4 Client Browser 1 - SendEmail Util Class 2/3 - simple servlet plugin to trigger check Servlet Plugin 4 - Confluence Remote API - to check page creation, loc, Remote Java Wrapper content, labels, etc. insulates from UI changes
  • 44. How Easy?
  • 45. How Easy? Entire servlet plugin
  • 46. How Easy? Entire servlet plugin Check page exists, creator and content is right
  • 47. What will happen?
  • 48. What will happen? 4x productivity the jump to Lightspeed
  • 49. What will happen? 4x productivity the jump to Lightspeed 10x the fun!
  • 50. Conclusion: Keep your dev cycle fast, tight and fun with automated testing.