SlideShare a Scribd company logo
Java - JUnit Primer
                               anand@testinggeek.com
                                    @testinggeek




Wednesday, 17 April 2013
OOP.. Java
                           What? Procedure to Data




Wednesday, 17 April 2013
Class, Object,
                     Constructor, Methods
                            What? Why?




Wednesday, 17 April 2013
Inheritance, Abstraction
                    & Polymorphism
                           What? Let’s drive a car.




Wednesday, 17 April 2013
Is A... or Has A...
                                  Identify




Wednesday, 17 April 2013
Packages
                           user - admin or normal?




Wednesday, 17 April 2013
If.. for.. while..
                           decision & loop
                                Why? Where?




Wednesday, 17 April 2013
Collection, Exceptions,
                     Strings, Conversions,
                            HTTPs
                            Capabilities..




Wednesday, 17 April 2013
Effective Java
                             Read this book!!!




Wednesday, 17 April 2013
JUnit
                     Jar (Add to build path) or Maven (Add dependency)




Wednesday, 17 April 2013
How does a test looks
                           like?
                           Pre-condition, test steps, assertions, clean up




Wednesday, 17 April 2013
How.. Annotations
                 @Before, @After, @BeforeClass, @AfterClass, @Test,
                      @Ignore, @Test(ExpectedException=..),




Wednesday, 17 April 2013
Organization
                                Collection of tests - suite,
                                What to execute - Ignore,
                    Reporting & Infrastructure - Continuous Integration




Wednesday, 17 April 2013
Read More..
                                     http://www.junit.org
                 http://martinfowler.com/articles/continuousIntegration.html




Wednesday, 17 April 2013
Thank You
                           anand@testinggeek.com
                                @testinggeek




Wednesday, 17 April 2013

More Related Content

Viewers also liked (20)

PDF
Selenium: State of the Union
seleniumconf
 
PPT
Sakai10 Selenium Workshop
coreyjack
 
PPT
Selenium (1)
onlinemindq
 
PDF
Introduction to selenium_grid_workshop
seleniumconf
 
PPT
Selenium 2: The Future of Selenium is now!
AutomatedTester
 
PDF
The Future Of Web App Testing and How To Stop It
hugs
 
PDF
Building CLIs that Click
Jason Myers
 
PPT
Steps to write Selenium
Rohit Thakur
 
PDF
Python Static Analysis Tools
Jason Myers
 
PDF
Spanning Tree Algorithm
Jason Myers
 
PDF
Introduction to SQLAlchemy ORM
Jason Myers
 
PDF
Filling the flask
Jason Myers
 
PDF
Using Selenium to Improve a Teams Development Cycle
seleniumconf
 
PDF
Bdd lessons-learned
Dave Haeffner
 
PPTX
Improving Your Selenium WebDriver Tests - Belgium testing days_2016
Roy de Kleijn
 
PDF
Selenium Clinic Eurostar 2012 WebDriver Tutorial
Alan Richardson
 
PDF
Advanced Selenium Workshop
Clever Moe
 
PDF
SeConf_Nov2016_London
Pooja Shah
 
PDF
Agile Bodensee - Testautomation & Continuous Delivery Workshop
Michael Palotas
 
PDF
Webdriver cheatsheets summary
Alan Richardson
 
Selenium: State of the Union
seleniumconf
 
Sakai10 Selenium Workshop
coreyjack
 
Selenium (1)
onlinemindq
 
Introduction to selenium_grid_workshop
seleniumconf
 
Selenium 2: The Future of Selenium is now!
AutomatedTester
 
The Future Of Web App Testing and How To Stop It
hugs
 
Building CLIs that Click
Jason Myers
 
Steps to write Selenium
Rohit Thakur
 
Python Static Analysis Tools
Jason Myers
 
Spanning Tree Algorithm
Jason Myers
 
Introduction to SQLAlchemy ORM
Jason Myers
 
Filling the flask
Jason Myers
 
Using Selenium to Improve a Teams Development Cycle
seleniumconf
 
Bdd lessons-learned
Dave Haeffner
 
Improving Your Selenium WebDriver Tests - Belgium testing days_2016
Roy de Kleijn
 
Selenium Clinic Eurostar 2012 WebDriver Tutorial
Alan Richardson
 
Advanced Selenium Workshop
Clever Moe
 
SeConf_Nov2016_London
Pooja Shah
 
Agile Bodensee - Testautomation & Continuous Delivery Workshop
Michael Palotas
 
Webdriver cheatsheets summary
Alan Richardson
 

More from Anand Ramdeo (10)

PPTX
Rano fest
Anand Ramdeo
 
PPTX
Ranosys jobs
Anand Ramdeo
 
PDF
Misleading Validations - Be Aware Of Green
Anand Ramdeo
 
PDF
Keeping London On The Move - Interesting Solutions For Challenging Problems
Anand Ramdeo
 
PDF
Future of Retail is here with Artificial Intelligence (AI) - Are you ready?
Anand Ramdeo
 
PDF
Workshop for Managing Expectations By Utilising A Communication Toolkit
Anand Ramdeo
 
PDF
Testing strategies for the eCommerce stores built on Magento
Anand Ramdeo
 
PDF
Tes automation for CMS Backed applications - Channel-4 Case Study
Anand Ramdeo
 
PPTX
Selenium conference 2012 - One Step At A Time
Anand Ramdeo
 
PPT
Simple tools to fight bigger quality battle
Anand Ramdeo
 
Rano fest
Anand Ramdeo
 
Ranosys jobs
Anand Ramdeo
 
Misleading Validations - Be Aware Of Green
Anand Ramdeo
 
Keeping London On The Move - Interesting Solutions For Challenging Problems
Anand Ramdeo
 
Future of Retail is here with Artificial Intelligence (AI) - Are you ready?
Anand Ramdeo
 
Workshop for Managing Expectations By Utilising A Communication Toolkit
Anand Ramdeo
 
Testing strategies for the eCommerce stores built on Magento
Anand Ramdeo
 
Tes automation for CMS Backed applications - Channel-4 Case Study
Anand Ramdeo
 
Selenium conference 2012 - One Step At A Time
Anand Ramdeo
 
Simple tools to fight bigger quality battle
Anand Ramdeo
 
Ad

Recently uploaded (20)

PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
July Patch Tuesday
Ivanti
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Biography of Daniel Podor.pdf
Daniel Podor
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
July Patch Tuesday
Ivanti
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Ad

Java primer

  • 1. Java - JUnit Primer [email protected] @testinggeek Wednesday, 17 April 2013
  • 2. OOP.. Java What? Procedure to Data Wednesday, 17 April 2013
  • 3. Class, Object, Constructor, Methods What? Why? Wednesday, 17 April 2013
  • 4. Inheritance, Abstraction & Polymorphism What? Let’s drive a car. Wednesday, 17 April 2013
  • 5. Is A... or Has A... Identify Wednesday, 17 April 2013
  • 6. Packages user - admin or normal? Wednesday, 17 April 2013
  • 7. If.. for.. while.. decision & loop Why? Where? Wednesday, 17 April 2013
  • 8. Collection, Exceptions, Strings, Conversions, HTTPs Capabilities.. Wednesday, 17 April 2013
  • 9. Effective Java Read this book!!! Wednesday, 17 April 2013
  • 10. JUnit Jar (Add to build path) or Maven (Add dependency) Wednesday, 17 April 2013
  • 11. How does a test looks like? Pre-condition, test steps, assertions, clean up Wednesday, 17 April 2013
  • 12. How.. Annotations @Before, @After, @BeforeClass, @AfterClass, @Test, @Ignore, @Test(ExpectedException=..), Wednesday, 17 April 2013
  • 13. Organization Collection of tests - suite, What to execute - Ignore, Reporting & Infrastructure - Continuous Integration Wednesday, 17 April 2013
  • 14. Read More.. http://www.junit.org http://martinfowler.com/articles/continuousIntegration.html Wednesday, 17 April 2013
  • 15. Thank You [email protected] @testinggeek Wednesday, 17 April 2013