SlideShare a Scribd company logo
1 of 50
What’s the most
exciting part of your
       project?
What’s the most
      exciting part of your
             project?
The beginning when you come up with the idea?
What’s the most
      exciting part of your
             project?
The beginning when you come up with the idea?

Setting up the project / prototype / impl?
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?
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!
Send Email to Confluence
Send Email to Confluence
           Confluence
Send Email to Confluence
           Confluence
             Content
Send Email to Confluence
           Confluence
             Content




             Browser
Send Email to Confluence
           Confluence
             Content




             Browser
Send Email to Confluence
           Confluence
             Content



           Plugin




              Browser
Send Email to Confluence
           Confluence
             Content



           Plugin




              Browser
Send Email to Confluence
            Confluence
              Content



            Plugin


Email
Client         Browser
Send Email to Confluence
             Confluence
 Email         Content
Server


             Plugin


Email
Client          Browser
Send Email to Confluence
             Confluence
 Email         Content
Server


             Plugin


Email
Client          Browser
Send Email to Confluence
             Confluence
 Email         Content
Server


             Plugin


Email
Client          Browser
Send Email to Confluence
             Confluence
 Email         Content
Server


             Plugin
   1

Email
Client          Browser
Send Email to Confluence
                    Confluence
 Email                Content
Server

         2 (cron)
                    Plugin
   1

Email
Client                 Browser
Send Email to Confluence
                    Confluence
 Email                Content
Server

         2 (cron)      3
                    Plugin
   1

Email
Client                 Browser
Send Email to Confluence
                    Confluence
 Email                Content
Server

         2 (cron)      3
                    Plugin
   1
                                4
Email
Client                 Browser
What if you don’t automate testing?
What if you don’t automate testing?
           You will fear.
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.”
How to efficiently test this?
How to efficiently test this?
Lots of great tools:
* Selenium
* Atlassian-Selenium
* Functional Test Plugin
* jWebUnit (used by JIRA)
* HttpClient
* Mockito
* TestNG Framework
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
Confluence has lots of
hooks. Take advantage
       of them
Confluence
 Email
Server                Content
         2 (cron)
                          3
                       Plugin
   1

Email                               4
Client
                          Browser
Confluence
 Email
Server                     Content
              2 (cron)
                               3
                            Plugin
   1

Email    Test Suite                      4
Client
                               Browser
Confluence
    Email
   Server                           Content
                       2 (cron)
                                        3
                                     Plugin
       1

    Email        Test Suite                       4
    Client
                                        Browser
1 - SendEmail Util Class
Confluence
    Email
   Server                           Content
                       2 (cron)
                                        3
                                     Plugin
       1

    Email        Test Suite                       4
    Client
                                        Browser
1 - SendEmail Util Class
Confluence
    Email
   Server                           Content
                       2 (cron)
                                        3
                1                    Plugin
       1

    Email        Test Suite                       4
    Client
                                        Browser
1 - SendEmail Util Class
Confluence
    Email
   Server                                    Content
                       2 (cron)
                                                 3
                1                 Ser vlet    Plugin
       1                          Trigger

    Email        Test Suite                                4
    Client
                                                 Browser
1 - SendEmail Util Class
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
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
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
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
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
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.
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
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
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
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
How Easy?
How Easy?
Entire servlet plugin
How Easy?
Entire servlet plugin




Check page exists, creator and content is right
What will happen?
What will happen?
   4x productivity
the jump to Lightspeed
What will happen?
   4x productivity
the jump to Lightspeed




   10x the fun!
Conclusion:

Keep your dev cycle fast,
  tight and fun with
  automated testing.

More Related Content

Featured

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 

Featured (20)

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

Integration Testing the Confluence Send Mail To Page plugin

  • 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
  • 46. How Easy? Entire servlet plugin Check page exists, creator and content is right
  • 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.

Editor's Notes