Testing Bootcamp

23
Testing Bootcamp Mira Ražman, Danijel Malik

description

 

Transcript of Testing Bootcamp

Page 1: Testing Bootcamp

Testing Bootcamp

Mira Ražman, Danijel Malik

Page 2: Testing Bootcamp
Page 3: Testing Bootcamp

Good Morning!

Page 4: Testing Bootcamp

Mira Ražman IT QA Consultant,e-manent consulting partner

@[email protected]@e-manent.com

Danijel MalikFreelance Developer at artifis s.p.

@[email protected]

We Are Not With „Them“ – We Are With You

Page 5: Testing Bootcamp

Requirements Definition

Bootcamp Case

Page 6: Testing Bootcamp

Features & Scenarios

Scenario 4: Store "Lidl" closes “in 26 minutes".Given: Store "Lidl" opening time is from 8.00 - 22.00, Current time is 21.34When: User presses a button "Filter"Then: Store "Lidl" is on the list, its status is orange “Closes in 26 minutes"

Feature 1: List of stores, filtered by Location

Feature 2: Search filter

Feature 3:Add a new store

Page 7: Testing Bootcamp

Brainstorming Notes

Opening Time - Conditions

Arhitecture Definition

Page 8: Testing Bootcamp

Planing

Features / User Stories and Tasks => TFS

HL Test Plan: TCs preparation while TDD Unit tests Manual (exploratory) test - UI Coded UI tests – at least smoke scenario Load / Performance test

Page 9: Testing Bootcamp

Test Driven Development

TDD

Page 10: Testing Bootcamp

TDD – let it be! Test == Requirement Red, Green, Refactor Feedback Code Coverage

Keep it simple!

Author: Vin Kamat http://vinkamat.com

Page 11: Testing Bootcamp

Test Scenario 4

Page 12: Testing Bootcamp

TDD – let it be .. again!

Unit tests Pair development Care for Code attitude Arrange, Act , Assert

How about costs !?

Page 13: Testing Bootcamp

Unit Test

Page 14: Testing Bootcamp

... and again!

Microsoft research costs development time vs. benefits (white paper referenced on Read & Get Inspired – Part 1): BENEFIT: between 40% and 90%  less defects vs. similar projects with no TDD practice applied.

COST : subjectively, the teams experienced a 15–35% increase in initial development time after adopting TDD.

Page 15: Testing Bootcamp

Test Driven Development

Demo

Page 16: Testing Bootcamp

Coded UI tests

Demo

Page 17: Testing Bootcamp

Web and Load Testing

Demo

Page 18: Testing Bootcamp

It is Your Turn

Page 19: Testing Bootcamp

Read More & Get inspired - Part 1 White paper: Realizing quality improvement through TDD: results and experiences of four industrial teams

http://research.microsoft.com/en-us/groups/ese/nagappan_tdd.pdf

Agile Development Podcasts on http://skillsmatter.com

Demanding Software Professionalism - Robert C. Martin (Uncle Bob) on YouTube (Clean Code subject)

Page 20: Testing Bootcamp

Read More & Get Inspired - Part 2 Clean Code: A Handbook of Agile Software Craftsman

ship by Robert C. Martin (Aug 11, 2008)

ATDD by Example: A Practical Guide to Acceptance Test-Driven Development (Addison-Wesley Signature Series (Beck)) by Markus Gärtner (Jul 6, 2012)

Specification by Example: How Successful Teams Deliver the Right Software by Gojko Adzic (Jun 3, 2011)

Test Driven Development: By Example by Kent Beck (Nov 18, 2002)

Growing Object-Oriented Software, Guided by Tests by Steve Freeman and Nat Pryce (Oct 22, 2009)

Page 21: Testing Bootcamp
Page 22: Testing Bootcamp

If you change nothing, nothing will change

Page 23: Testing Bootcamp

Thank you!