Java primer

Post on 31-Oct-2014

357 views 2 download

description

Very basic java and jUnit primer - aimed at testers starting their journey into technical testing.

Transcript of Java primer

Java - JUnit Primeranand@testinggeek.com

@testinggeek

Wednesday, 17 April 2013

OOP.. JavaWhat? 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

Packagesuser - admin or normal?

Wednesday, 17 April 2013

If.. for.. while.. decision & loop

Why? Where?

Wednesday, 17 April 2013

Collection, Exceptions, Strings, Conversions,

HTTPsCapabilities..

Wednesday, 17 April 2013

Effective JavaRead this book!!!

Wednesday, 17 April 2013

JUnitJar (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

OrganizationCollection 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 Youanand@testinggeek.com

@testinggeek

Wednesday, 17 April 2013